openrouter-cost-controls
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill facilitates cost monitoring and budget enforcement using official OpenRouter API endpoints and standard Python/TypeScript libraries.
- [DATA_EXPOSURE_&_EXFILTRATION]: Sensitive credentials such as
OPENROUTER_API_KEY,OPENROUTER_MGMT_KEY, andSLACK_WEBHOOK_URLare correctly handled via environment variables. The skill communicates with well-known services (OpenRouter and Slack) to perform its monitoring and alerting functions. - [INDIRECT_PROMPT_INJECTION]: The skill provides middleware to track costs of user prompts.
- Ingestion points: Prompts are ingested by chat completion wrappers in
references/request-level-controls.mdandreferences/budget-tracking.mdbefore being sent to the LLM provider. - Boundary markers: None are implemented in the provided cost-tracking examples.
- Capability inventory: The skill possesses network capabilities (via
requests) and file writing capabilities (tocost_tracking.json). - Sanitization: No input sanitization is performed on the prompt content as the skill acts as a cost-auditing layer.
- [PERSISTENCE]: The skill suggests using standard system tools like
cronto schedule balance checks, which is appropriate for its stated purpose as an alerting utility.
Audit Metadata