skills/affaan-m/ecc/skill-stocktake/Gen Agent Trust Hub

skill-stocktake

Pass

Audited by Gen Agent Trust Hub on Nov 20, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill inventories and audits agent skills by reading their SKILL.md files and passing the content to a subagent for evaluation. This creates an attack surface for indirect prompt injection.
  • Ingestion points: Reads SKILL.md files from both global (~/.claude/skills/) and project-level directories.
  • Boundary markers: The instructions for the evaluation subagent do not specify strict delimiters (such as unique fences or XML tags) to isolate the untrusted skill content from the audit prompt.
  • Capability inventory: Evaluation results drive Phase 4 actions, which include potentially retiring (deleting) or merging files. While these require user confirmation, the logic is influenced by the audited content.
  • Sanitization: No sanitization or escaping of the audited skill's content is performed before it is processed by the AI.
  • [DATA_EXFILTRATION]: The skill accesses the local agent usage log to measure skill frequency.
  • Evidence: scripts/scan.sh reads ~/.claude/observations.jsonl. This file contains metadata and history regarding the agent's previous tool usage and actions.
  • [COMMAND_EXECUTION]: The skill relies on local Bash scripts and Node.js for inventory management, file diffing, and result persistence.
  • Evidence: Calls scripts/scan.sh, scripts/quick-diff.sh, and scripts/save-results.sh. The scripts utilize find, jq, and node -e to handle local file system operations.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 20, 2026, 05:16 AM