skill-call-diagnose
Pass
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to ingest and analyze untrusted session logs (referred to as "traces") which could contain malicious instructions designed to influence the auditor or its sub-agents.
- Ingestion points: The skill reads session logs and trace files in Step 1, 3, and 3b using external Python scripts.
- Boundary markers: The instructions for spawning sub-agents (Step 4) do not specify the use of clear delimiters or "ignore embedded instructions" headers when passing trace content to the axis agents.
- Capability inventory: The skill utilizes shell execution via
bashfor indexing (Step 3), running security tools likegitleaks(Step 5.5), executing tests withpytest, and installing/modifying skills withnpx skills(Step 6). It also performs file system writes to the~/skills/wiki/directory. - Sanitization: The skill includes an explicit sanitization step (Step 5.5) to replace internal IPs, domains, and credentials with placeholders before merging data into the persistent wiki.
- [COMMAND_EXECUTION]: The skill instructs the agent to execute several shell commands and local Python scripts.
- Evidence: Use of
python3 ~/.pi/agent/skills/skill-call-extract/scripts/find-skill-sessions.pyfor indexing and session retrieval. - Evidence: Execution of
gitleaks,uv run pytest, andnpx skills addduring the remediation and verification phase in Step 6. - [DATA_EXPOSURE]: The skill processes session logs that may contain sensitive user data or credentials.
- Evidence: Step 5.5 acknowledges this risk by requiring the use of
gitleaksand manual sanitization of internal project names and credentials before committing findings to a repository.
Audit Metadata