setup-env
Pass
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: SAFEPERSISTENCECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PERSISTENCE]: The skill modifies global configuration files for various agent harnesses (e.g.,
~/.config/devin/AGENTS.md,~/.cursor/rules/global.mdc) and installs a utility script to~/.local/bin. These changes are persistent across sessions but are necessary for the skill's stated goal of cross-harness rule synchronization.\n- [COMMAND_EXECUTION]: Therun-watch.mjsscript executes shell commands provided by the agent viaspawn('sh', ['-c', ...]). It implements a quoting mechanism (q()) that escapes single quotes to prevent command injection when interpolating task arguments into the shell script.\n- [INDIRECT_PROMPT_INJECTION]: Thedevin-hook-exec-guard.mjsscript acts as a filter for commands executed by the agent. 1. Ingestion points: ConsumesPreToolUseevent JSON fromprocess.stdin. 2. Boundary markers: None; expects structured JSON input. 3. Capability inventory: Blocks execution by exiting with code 2; no file-write or network operations. 4. Sanitization: Parses input usingJSON.parse()and utilizes regex to match and interceptsleepcommands based on duration.\n- [SAFE]: No network requests or attempts to read sensitive system credentials (e.g.,.sshor.aws) were identified in any of the scripts. The skill interactions are limited to managing agent guidelines on the local filesystem.
Audit Metadata