openrouter
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill is primarily instructional, providing high-quality code examples and architectural guidance for integrating OpenRouter into applications.
- [EXTERNAL_DOWNLOADS]: The skill recommends the use of official, well-known libraries for its implementation.
- Evidence: Recommends
openai(Node.js/Python) andtiktoken(Node.js) for API interaction and token counting. - [INDIRECT_PROMPT_INJECTION]: The skill defines patterns for processing untrusted user data within AI prompts, which introduces an indirect injection attack surface. However, it explicitly mitigates this through specialized documentation.
- Ingestion points: User-provided prompts processed in functions like
handleSubmit(prompt)andchatWithFunctions()inSKILL.md. - Boundary markers: Includes recommendations for using system prompts to enforce constraints and separate developer instructions from user content.
- Capability inventory: Network operations via the OpenAI SDK and standard
fetchcalls. - Sanitization: The "Best Practices" section explicitly mandates validating user inputs before sending them to the API.
- [DATA_EXFILTRATION]: While the skill manages API keys, it follows best practices by instructing users to use environment variables and server-side proxies, explicitly warning against exposing keys in client-side code.
- Evidence: "Never expose API keys in frontend code
- Use server-side proxies" is listed under Best Practices in
README.mdandSKILL.md.
Audit Metadata