cf-browser
Fail
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: HIGHPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFE
Full Analysis
- Indirect Prompt Injection (HIGH): The skill's primary purpose is to ingest and process untrusted data from arbitrary URLs.
- Ingestion Points:
cfbr.shfetches content from external websites via Cloudflare's Rendering API. - Boundary Markers: Absent. There are no delimiters or instructions to ignore embedded commands in the fetched content.
- Capability Inventory: The skill can execute shell commands via
cfbr.sh, make external network requests, and has an AI extraction endpoint (/json) that interprets natural language. - Sanitization: Absent. Content is passed directly to the agent or the AI extraction model.
- Command Execution / Arbitrary File Write (HIGH): The
cfbr.shscript accepts a third argument for the screenshot filename which is passed directly to thecurl --outputflag. - Evidence: In
scripts/cfbr.sh, the variableoutfile="${3:-screenshot.png}"is used incurl ... --output "$outfile". - Risk: An attacker-controlled website could trick the agent (via indirect injection) into calling the screenshot command with a sensitive path like
~/.bashrcor~/.ssh/authorized_keys, leading to file corruption or unauthorized access. - Credentials Unsafe (MEDIUM): The
references/api.mdfile contains examples showing the use of hardcoded API key patterns (sk-...) for thecustom_aiparameter. - Risk: This encourages the agent to pass sensitive third-party credentials (like OpenAI keys) in plaintext payloads to the Cloudflare API, increasing the risk of credential exposure in logs or to intermediate services.
- Dynamic Execution (MEDIUM): The API supports the
addScriptTagparameter, which allows the execution of arbitrary JavaScript within the headless browser. - Risk: While a feature of the API, it provides a vector for the agent to be manipulated into executing malicious scripts in the context of the rendered page, potentially for data exfiltration or bypassing local security controls.
Recommendations
- AI detected serious security threats
Audit Metadata