token-usage-auditor
Pass
Audited by Gen Agent Trust Hub on May 9, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: No malicious patterns detected. The skill performs its stated function of auditing local token usage logs by aggregating metadata and token counts from local session files.
- [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface by processing and displaying external log data.
- Ingestion points: Session logs are read from local directories (
~/.codex/sessions,~/.claude/projects) inscripts/collect_token_usage.pyvia thecollect_sessionsfunction. - Boundary markers: The rendered Markdown and JSON reports do not use explicit delimiters or instructions to help the agent distinguish between usage data and the surrounding prompt context.
- Capability inventory: The agent has access to
Read,Write,Edit,Bash, andGlobtools, providing a broad capability tier. - Sanitization: Log fields such as
model,session_id, andgit_branchare extracted and rendered directly into the output report. Malicious content present in these fields within the source logs could potentially influence agent behavior when the report is processed.
Audit Metadata