cloudflare-troubleshooting
Pass
Audited by Gen Agent Trust Hub on Oct 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes data from the Cloudflare API (e.g., DNS record names, firewall rule notes, and page rule configurations) and incorporates it into the agent's context. This creates a potential surface where an attacker with access to the Cloudflare account could inject instructions into these metadata fields to influence the agent's behavior. 1. Ingestion points: Cloudflare API responses fetched via curl and Python requests (e.g., in SKILL.md and scripts/check_cloudflare_config.py). 2. Boundary markers: The skill instructs the agent to parse responses as structured JSON using tools like jq, which provides some structure, but it lacks explicit prompts to ignore embedded instructions within data fields. 3. Capability inventory: The agent has shell execution capabilities (curl, dig, openssl, python) and authorization to perform API modifications (PATCH/POST) on the Cloudflare account. 4. Sanitization: No explicit sanitization or validation logic for string content returned from the API is defined.
- [COMMAND_EXECUTION]: The skill requires the execution of multiple shell commands and bundled Python scripts to perform its primary functions. While these are legitimate diagnostic tools, they run in the user's environment and process sensitive credentials.
- [CREDENTIALS_UNSAFE]: The bundled scripts (check_cloudflare_config.py and fix_ssl_mode.py) are designed to accept Cloudflare API credentials as command-line arguments. This practice can expose sensitive keys to other users on multi-user systems via process monitoring tools like 'ps'. The documentation correctly warns against logging keys and recommends scoped tokens as a mitigation.
Audit Metadata