cost-tracking
Pass
Audited by Gen Agent Trust Hub on Sep 19, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes
node -eto perform file existence checks and to execute logic for parsing JSONL data. These scripts are hardcoded within the skill, use standard Node.js built-in modules (fs,os,path), and do not incorporate unvalidated user input into the shell command. - [DATA_EXPOSURE]: The skill reads the
~/.claude/metrics/costs.jsonlfile. While this is located in the user's home directory, the access is restricted to application-specific cost metrics required for the skill's stated purpose. There is no evidence of the skill accessing sensitive system files (e.g., SSH keys, environment variables) or performing network operations to exfiltrate the data. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process external log data.
- Ingestion points: The skill reads log entries from
~/.claude/metrics/costs.jsonlas documented inSKILL.md. - Boundary markers: Not applicable; the skill parses raw JSON data for internal calculation rather than interpolating it directly into a prompt.
- Capability inventory: The skill uses
node -efor parsing and calculation logic (SKILL.md). - Sanitization: The processing script uses
JSON.parse()within atry-catchblock and explicitly casts extracted values to numbers usingNumber()before performing calculations, effectively sanitizing the input data against code injection.
Audit Metadata