diagnosing-superpowers
Pass
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes session transcripts from the local filesystem to diagnose failures. These logs are untrusted input that could potentially contain instructions aimed at influencing the agent's forensic analysis.
- Ingestion points: Session logs located in
~/.superpowers/are read by both the controller and analyst subagents as seen inSKILL.mdandprompts/analyst-common.md. - Boundary markers: The skill employs a strict return format for subagents and a
references/context-safety.mdprotocol that restricts reading and printing full transcript records. - Capability inventory: Capabilities include reading local files, writing to the
~/.superpowers/diagnosing-superpowers/directory, executing shell commands for text processing, and using theghCLI tool to create GitHub issues. - Sanitization: A multi-pass scrubbing and auditing process documented in
prompts/scrub.mdandprompts/scrub-audit.mdis used to redact sensitive information before any external export. - [COMMAND_EXECUTION]: The skill utilizes common system utilities for log parsing and the
ghCLI tool for GitHub integration. - Evidence: Commands such as
jq,awk,sed,grep, andwcare used inreferences/context-safety.md. Integration withghand the GitHub API for issue reporting is detailed inreferences/github-issues.md. These operations are transparently scoped to the forensic and reporting workflow.
Audit Metadata