openai-agents
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to process user-supplied input through LLM agents, which is an inherent surface for indirect prompt injection attacks.
- Ingestion points: The
run()andrunner.run()functions inSKILL.mdand various templates (e.g.,templates/text-agents/agent-basic.ts) ingest untrusted text directly from user queries. - Boundary markers: While the basic templates lack explicit boundary markers, the skill provides a dedicated guide and template for implementing
InputGuardrailandOutputGuardrailto detect and block malicious instructions. - Capability inventory: The skill demonstrates capabilities including network requests (via
fetchin Cloudflare Workers templates), local command execution (via helper scripts), and tool calling (e.g.,getWeatherTool,sendEmailTool). - Sanitization: The skill includes comprehensive examples for input validation, PII filtering, and content safety through its guardrail system (e.g.,
templates/text-agents/agent-guardrails-input.ts). - [COMMAND_EXECUTION]: The skill includes a shell script
scripts/check-versions.shused for development purposes to verify that dependencies are up to date. It uses standardnpm viewcommands to check the registry for package versions, which is a legitimate and safe development utility. - [SAFE]: The skill demonstrates best-practice secret management by instructing users to store the
OPENAI_API_KEYas an environment secret rather than hardcoding it. Additionally, it provides a secure architecture for voice agents that generates short-lived ephemeral session tokens on the server to prevent exposing primary API keys to the client-side browser.
Audit Metadata