cost-tracking
Pass
Audited by Gen Agent Trust Hub on Nov 2, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes shell-based Node.js commands to interact with the local filesystem and process usage data. These scripts use standard library modules (fs, os, path) to read and parse the JSONL metrics file.
- [INDIRECT_PROMPT_INJECTION]: The skill reads from a local file (~/.claude/metrics/costs.jsonl) which contains data from external sessions, creating a surface for indirect prompt injection.
- Ingestion points: Reads
~/.claude/metrics/costs.jsonlin the SKILL.md scripts. - Boundary markers: The output from the log processing is printed to the console and incorporated into the agent's context without explicit boundary delimiters or warnings.
- Capability inventory: The skill has the capability to execute Node.js scripts and read files from the user's home directory.
- Sanitization: The scripts use
JSON.parsefor structure validation, but do not sanitize the actual content of the log fields (e.g., session IDs or model names) before the agent processes them.
Audit Metadata