token-diet
Pass
Audited by Gen Agent Trust Hub on Jul 4, 2026
Risk Level: SAFEREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill facilitates installation via a shell script downloaded from the author's GitHub repository and executed directly using a piped-to-bash pattern. This is a standard installation method for the provided utility.
- [COMMAND_EXECUTION]: The installer script
install.shutilizes inline Python code to perform structured data manipulation on agent configuration files, such assettings.jsonfor Claude Code andAGENTS.mdfor Codex. It also creates executable shell hooks to automate context injection during session startup. - [EXTERNAL_DOWNLOADS]: The installation process fetches the skill's components, including
activation.mdandSKILL.md, from its official GitHub repository. - [DATA_EXFILTRATION]: The benchmarking script
bench/bench.mjstransmits session prompts and directives to the Anthropic API endpoint to analyze token consumption. It manages sensitive API credentials through environment variables in accordance with best practices. - [PROMPT_INJECTION]: The skill instructions create a potential surface for indirect prompt injection (Category 8) by directing the agent to ingest and act upon data from external search tools and sub-agents.
- Ingestion points: Data enters the agent's context through the outputs of
grep,sed, and search-oriented sub-agents inSKILL.mdandactivation.md. - Boundary markers: The skill does not implement runtime delimiters or instructions to help the agent distinguish untrusted tool output from internal directives.
- Capability inventory: The agent possesses the capability to modify files, execute tests, and invoke additional sub-agents.
- Sanitization: The instructions do not define any sanitization or validation logic for content retrieved from external sources.
Audit Metadata