audit-engine
Pass
Audited by Gen Agent Trust Hub on Jul 17, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it ingests and reasoned through untrusted content from the repository being audited.
- Ingestion points: During Stage 1 and Stage 2 (SKILL.md), the agent reads database migrations (*.sql), package manifests (package.json, pubspec.yaml), project convention files (CLAUDE.md, AGENTS.md), and documentation.
- Boundary markers: No explicit delimiters or instructions are used to distinguish untrusted file content from the agent's own instructions.
- Capability inventory: The skill can read repository files, write report artifacts to the docs/ directory (Stage 5), and execute local TypeScript functions (Stage 3).
- Sanitization: The verification process in Stage 3 employs a refutation agent that defaults to not a finding, which provides a reasoning-based check against adversarial data.
- [COMMAND_EXECUTION]: The skill calls specialized functions from local files, such as findDuplicatedColumns in src/audit/verifiers/schema-drift.ts and renderFindingsDoc in src/audit/emit/findings-doc.ts, to perform its auditing and emission tasks.
- [DATA_EXFILTRATION]: The skill instructs the agent to read ~/.claude/settings.json to verify the CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS configuration. Although this is the agent's own settings file, it resides in the user's home directory outside the audited repository.
Audit Metadata