cost-tracking
Pass
Audited by Gen Agent Trust Hub on Oct 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes
node -eto execute inline JavaScript for file system checks and data aggregation from local metrics logs. - [INDIRECT_PROMPT_INJECTION]: The skill processes data from an external file source which creates a potential surface for indirect injection.
- Ingestion points: Data is ingested from
~/.claude/metrics/costs.jsonlusingfs.readFileSyncas shown in the example scripts inSKILL.md. - Boundary markers: There are no explicit boundary markers or instructions to ignore embedded commands within the ingested log data.
- Capability inventory: The skill possesses the capability to read local files and execute Node.js one-liners to process and display that data.
- Sanitization: While
JSON.parseis used to ensure the data is well-formed JSON, there is no sanitization of the string content within fields likemodelorsession_idbefore they are processed or presented.
Audit Metadata