reactlynx-best-practices
Warn
Audited by Gen Agent Trust Hub on Jun 15, 2026
Risk Level: MEDIUMCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The
SKILL.mdfile provides instructions for executing a helper scanner vianode -e. The command template uses string interpolation to place user-provided file paths or source code directly into a JavaScript variable:const input = '<sourceCodeOrFilePath>';. This pattern is vulnerable to command injection because an attacker-controlled input containing a single quote could terminate the string literal and inject arbitrary JavaScript code, allowing for unauthorized execution within the agent's environment.\n- [SAFE]: All documentation links inSKILL.mdpoint to the officiallynxjs.orgdomain, which is the legitimate home of the Lynx project.\n- [SAFE]: The provided analysis logic inscripts/index.mjsimplements heuristic scanning using regular expressions and string manipulation; it performs static analysis and does not execute or evaluate the source code it processes.
Audit Metadata