Keys
Pass
Audited by Gen Agent Trust Hub on Jun 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes a bash script (
keys-broker.sh) to interface with system utilities includingcurl,jq, and OS-specific keychain tools (securityon macOS,secret-toolon Linux). This execution is limited to the tool's intended administrative and proxying functions. - [EXTERNAL_DOWNLOADS]: The broker facilitates network requests to well-known, trusted API endpoints such as OpenAI, Anthropic, Stripe, and GitHub. These connections are strictly governed by an internal allowlist within the script to prevent data exfiltration to unauthorized domains.
- [PROMPT_INJECTION]: The skill has an indirect prompt injection surface as it processes data returned from external APIs.
- Ingestion points:
keys-broker.shcaptures external API response bodies. - Boundary markers: Absent; the agent receives the JSON response data without explicit delimiters or instructions to ignore embedded content.
- Capability inventory: The agent has access to file system operations and subprocess execution.
- Sanitization: Absent; the script ensures JSON structure integrity via
jqbut does not sanitize the content of the response for potential instructions. - [SAFE]: The architecture demonstrates a security-first design by implementing a broker pattern that decouples credential retrieval from the agent's observation space. It employs best practices such as OS-level keychain integration, temporary file handling for sensitive headers with restricted permissions (
chmod 600), and strict regex-based URL validation.
Audit Metadata