footgun-scan
Pass
Audited by Gen Agent Trust Hub on Sep 25, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill establishes a vulnerability surface for indirect prompt injection by design, as it requires the agent to read and evaluate untrusted source code and git diffs.
- Ingestion points: The
scripts/scan.pyscript reads local repository files usingread_lines()and captures source code changes viagit diffoutput. - Capability inventory: The skill scripts utilize
subprocess.runto execute git commands and have the capability to read any local file within the user's project scope. - Boundary markers: There are no explicit boundary markers or instructions to help the agent distinguish between code content and potential embedded instructions within the scanned files.
- Sanitization: The script matches patterns but does not sanitize or escape the retrieved code snippets before presenting them to the agent for triage.
- [COMMAND_EXECUTION]: The skill relies on the local
gitinstallation to identify code changes and project structure. - Evidence: The
git()function inscripts/scan.pyexecutes commands such asgit diff,git ls-files, andgit merge-baseusingsubprocess.run(). It uses a list of arguments rather than a single string, which is the recommended safe practice to prevent shell command injection.
Audit Metadata