agent-proof-codebase
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: Several utility scripts execute shell commands provided via arguments to run the repository's test or gate suites.
scripts/redteam_runner.pyusessubprocess.runto execute a user-specified command via the--gate-cmdflag.scripts/manual_mutation_runner.pyusessubprocess.runwithshell=Trueto execute a command provided by the--test-cmdargument.scripts/fail_to_pass_check.shis a bash script that usesbash -cto run a test command passed as a script argument.- [DYNAMIC_EXECUTION]: The skill performs dynamic modification of the codebase to verify test suite effectiveness, followed by the execution of that code.
scripts/manual_mutation_runner.pyreads source files, applies string-replacement 'mutants', writes the modified file to disk, runs tests, and then restores the original content.scripts/redteam_runner.pyapplies git patches to a temporary worktree and executes the gate command against the modified code.- [INDIRECT_PROMPT_INJECTION]: The skill contains multiple ingestion points for external, potentially untrusted repository data, which it processes to audit quality gates.
- Ingestion points:
scripts/assess_repo.py(crawls files and reads manifests),scripts/banned_apis_check.py(scans core logic files),scripts/spec_trace_check.py(reads SPEC.md and test files), andscripts/test_weakening_check.py(analyzes git diffs). - Boundary markers: No explicit markers or delimiters are used in the script logic to separate analyzed data from agent instructions.
- Capability inventory: The skill has the ability to read and write files and execute shell commands via the scripts listed above.
- Sanitization: No explicit sanitization or filtering of the ingested content was observed in the scripts.
Audit Metadata