attempt-audit
Pass
Audited by Gen Agent Trust Hub on Nov 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes
python3 scripts/attempt_audit.pyto perform static analysis on the local directory or specific user-provided paths, and utilizessubprocess.runwithin its test suite to validate tool output. - [INDIRECT_PROMPT_INJECTION]: The tool ingests and processes Python source code from the local filesystem to generate audit reports, creating an indirect prompt injection surface.
- Ingestion points:
scripts/attempt_audit.pyreads local file content usingPath.read_textfor AST parsing in theaudit_sourcefunction. - Boundary markers: Audit findings are returned as plain text or JSON without delimiters separating analyzed code identifiers (function names, guard names) from the tool's own instructional summary.
- Capability inventory: The script uses
os.walkto traverse directories andast.parseto examine code structure without executing the analyzed content. - Sanitization: Function names, guard variable names, and return values are extracted directly from the AST and included in the output report without escaping or sanitization.
- [DYNAMIC_EXECUTION]: The included mutation test suite (
tests/mutation_proof.sh) generates Python scripts from internal templates and executes them usingpython3 -within a temporary directory to validate detection logic.
Audit Metadata