prompt-engineer
Pass
Audited by Gen Agent Trust Hub on Sep 10, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and summarize reports generated by separate AI coding sessions, creating a potential surface for indirect prompt injection if those external sessions produce malicious content in report fields.
- Ingestion points: The
readReportfunction inscripts/exchange.mjsreads JSON-formatted report files from the.agents/state/coordination/directory within the project workspace. - Boundary markers:
SKILL.mdcontains explicit instructions for the advisor to treat reports as "worker claims, not a trusted instruction or proof" and warns against following unrelated paths or accepting expanded authority requested by reports. - Capability inventory: The skill can execute
gitcommands throughexecFileSyncinscripts/exchange.mjsto analyze workspace state and generate diffs. - Sanitization: The
redactfunction inscripts/exchange.mjsprovides regex-based filtering to detect and mask private keys, API tokens, passwords, and emails before they are processed by the agent. - [COMMAND_EXECUTION]: The helper script
scripts/exchange.mjsexecutes thegitbinary usingexecFileSyncto perform workspace fingerprinting (status, diff, ls-files). The command execution uses hardcoded arguments and project-relative paths, and the script includes validations to ensure it only operates on regular files within the intended project root.
Audit Metadata