cloudflare-browser-rendering

Warn

Audited by Socket on Sep 15, 2026

9 alerts found:

Securityx7Anomalyx2
SecurityMEDIUM
references/patterns.md

The fragment is legitimate Browser Rendering documentation and contains no clear malware or covert supply-chain attack behavior. Its main security concerns are SSRF through unrestricted browser navigation, unbounded resource consumption in batch scraping, unintended outbound requests from arbitrary HTML, possible disclosure of scraped content to AI, and unsafe credential handling in the form example. These risks are significant if the snippets are deployed as public unauthenticated endpoints, but they are not evidence of malicious intent in the source itself.

Confidence: 98%Severity: 72%
SecurityMEDIUM
templates/ai-enhanced-scraper.ts

The code appears to implement a legitimate AI-assisted product scraper and contains no clear malware indicators. The main security issue is unrestricted user-controlled browser navigation, which can enable SSRF-like access, requests to internal services, redirects to sensitive destinations, and resource abuse. Apply URL scheme and hostname allowlists, block private and link-local address ranges after DNS resolution and across redirects, and consider browser network isolation and resource limits. Prompt injection and fragile AI JSON parsing are secondary integrity and reliability concerns.

Confidence: 98%Severity: 72%
AnomalyLOW
templates/web-scraper-batch.ts

The code is a readable web-scraping endpoint with no clear evidence of malware. Its primary security issue is unrestricted user-controlled browser navigation, which can enable SSRF, internal-service probing, unintended outbound requests, and scraping of reachable sensitive content. Add strict URL validation and allowlisting, block private/link-local/metadata destinations and unsafe schemes, validate every array element, and apply authentication and rate limits. Malware likelihood is very low, while the security risk is moderate because the endpoint exposes a server-side browser as an unrestricted network proxy.

Confidence: 96%Severity: 68%
SecurityMEDIUM
templates/screenshot-with-kv-cache.ts

The code appears to implement a legitimate screenshot service and does not show evidence of malware or intentional obfuscation. It has a significant SSRF risk because an unauthenticated caller can make the server-side Puppeteer browser navigate to arbitrary URLs, potentially including internal or sensitive destinations. It also has moderate resource-exhaustion and abuse risks due to uncapped rendering, full-page screenshots, network-idle waiting, and cache bypass via `refresh`. Restrict URLs to approved schemes and hosts, block private and link-local address ranges after DNS resolution and across redirects, enforce response/page size and execution limits, and apply authentication/rate limiting where appropriate.

Confidence: 98%Severity: 78%
SecurityMEDIUM
templates/playwright-example.ts

The code is a legitimate screenshot service but contains a significant SSRF and content-disclosure risk because an unauthenticated caller can control the browser's destination and receive a screenshot of the rendered result. Restrict navigation to an explicit HTTPS allowlist, block private and link-local address ranges after DNS resolution and across redirects, restrict ports and protocols, consider disabling or isolating JavaScript, and use private/no-cache responses. The fragment does not show clear malicious intent.

Confidence: 98%Severity: 78%
SecurityMEDIUM
templates/pdf-generation.ts

The code appears to implement a legitimate HTML/URL-to-PDF service and contains no clear malware or sabotage behavior. It has a significant application security risk if exposed to untrusted callers: arbitrary URLs can be fetched by the browser, and arbitrary HTML can trigger browser-side scripts and network requests. URL schemes, private and loopback destinations, request size, resource usage, authentication, and rate limiting should be restricted. No direct data exfiltration or credential theft is shown in this fragment.

Confidence: 98%Severity: 72%
AnomalyLOW
templates/session-reuse.ts

No evidence of malware or intentional supply-chain sabotage is present. The main security issue is an SSRF-like risk: user-controlled input directly controls a server-side browser navigation, potentially allowing access to internal or sensitive reachable URLs and returning their rendered contents as screenshots. Restrict accepted schemes and hosts, block private/link-local/reserved addresses and redirects, and avoid exposing session identifiers unless necessary.

Confidence: 98%Severity: 68%
SecurityMEDIUM
templates/basic-screenshot.ts

The code implements a legitimate URL screenshot service, but its unrestricted server-side navigation creates a meaningful SSRF and abuse risk. Attackers may use it to make requests to internal or sensitive services reachable by the browser and receive rendered responses as screenshots. Restrict allowed schemes and destinations, block private/link-local/metadata address ranges after DNS resolution and across redirects, apply authentication and rate limits, consider disabling active content or restricting outbound requests, and avoid public caching for sensitive results. No evidence of deliberate malware or obfuscation is present.

Confidence: 98%Severity: 76%
SecurityMEDIUM
templates/web-scraper-basic.ts

The code is a legitimate browser-based web scraper, but its publicly callable arbitrary URL navigation is a security risk. It should restrict schemes and destinations, validate redirects, block localhost/private/link-local/metadata addresses, enforce authentication or rate limits, and consider non-public caching. No clear credential theft, exfiltration, backdoor, cryptomining, obfuscation, or malicious intent is present in the fragment.

Confidence: 97%Severity: 72%
Audit Metadata
Analyzed At
Sep 15, 2026, 12:03 AM
Package URL
pkg:socket/skills-sh/secondsky%2Fclaude-skills%2Fcloudflare-browser-rendering%2F@1210868042893f489095cb377f5d7bf1562fa2878ed3b08191a4c943569496c2
Security Audit — socket — cloudflare-browser-rendering