self-audit
Pass
Audited by Gen Agent Trust Hub on Aug 21, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/audit_scope.pyscript executes localgitcommands to calculate diffs, list commits, and establish the scope of the work being audited. - Evidence: The script calls
subprocess.runusing a list of arguments (non-shell) within thegit(),detect_base(), andmain()functions. - Context: These operations are necessary for the skill's primary function and follow security best practices by avoiding shell interpretation.
- [PROMPT_INJECTION]: As a code and documentation auditing tool, the skill is designed to ingest and process external content such as git diffs, commit messages, and external coverage reports, which creates a surface for indirect prompt injection where malicious instructions could be embedded in the audited data.
- Ingestion points:
scripts/audit_scope.py(viagit diff,git log, and reading coverage report files). - Boundary markers: Absent. The tool output is processed by the agent without specific delimiters to isolate potentially untrusted content from the agent's control logic.
- Capability inventory:
scripts/audit_scope.py(localgitcommand execution and file reading). - Sanitization: Present. The script includes a robust
reject_entity_declarationsfunction that uses theexpatparser to detect and block XML External Entity (XXE) attacks in coverage reports before they are processed by the primary XML library.
Audit Metadata