skill-doctor
Pass
Audited by Gen Agent Trust Hub on Sep 1, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes conversation transcripts from local history files, which constitutes a surface for indirect prompt injection if those logs contain adversarial instructions.
- Ingestion points: The
scripts/collect_sessions.pyscript reads session history in JSONL format from~/.claude/projects/and~/.codex/sessions/. - Boundary markers: While transcripts are condensed and redacted, the system does not use explicit delimiters to isolate ingested transcript text from the agent's internal instructions.
- Capability inventory: The skill possesses capabilities to draft skill modifications and generate local HTML reports; however, applying modifications requires explicit user confirmation.
- Sanitization: The skill implements a comprehensive secret redaction mechanism in
scripts/collect_sessions.pyand performs HTML escaping inscripts/render_report.pyto prevent data leakage and XSS. - [COMMAND_EXECUTION]: The script
scripts/collect_sessions.pyexecutes a local system command. - Evidence: The skill uses
subprocess.runto executegit rev-parse --show-toplevelfor the purpose of identifying the current repository root during the inventory phase.
Audit Metadata