reforge
Fail
Audited by Gen Agent Trust Hub on Aug 16, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
change-archive.mjsscript is vulnerable to command injection via the--idparameter. The script interpolates this parameter into a shell command forzipwithin double quotes, allowing the execution of shell commands embedded in the ID (e.g., using$(command)syntax).\n- [COMMAND_EXECUTION]: Thecontext-verify.mjsscript usesexecSyncto run other scripts andgit diffcommands. Variables such asrepoRoot,sha, anddirPathare interpolated into shell command strings without sanitization or proper escaping, enabling command injection through crafted project structures or maliciousCONTEXT.mdfile content.\n- [COMMAND_EXECUTION]: Utility functions inlib/index.mjs, specificallygetChangedFilesSince, execute shell commands usingexecSyncwith unsanitized parameters, propagating command injection risks to any script utilizing these shared utilities.\n- [DATA_EXFILTRATION]: Thechange-archive.mjsscript is susceptible to path traversal. The--idparameter can be manipulated to reference directories outside the intended.changes/workspace (e.g., using../../../), which could lead to arbitrary file deletion viafs.rmSync.\n- [INDIRECT_PROMPT_INJECTION]: The skill's primary function (Phase 1) involves exploring and analyzing an untrusted prototype codebase. Malicious instructions embedded in this code could influence the agent's behavior, potentially leading to the exploitation of the aforementioned script vulnerabilities or other unauthorized actions.
Recommendations
- AI detected serious security threats
Audit Metadata