cloudflare-gen
Audited by Socket on Mar 1, 2026
1 alert found:
Obfuscated FileThe ai-cloudflare tool is a legitimate-looking developer utility that generates Cloudflare Worker code using an LLM backend. The primary security concerns are supply-chain and credential-exposure risks inherent to running unpinned code via npx while providing a sensitive OPENAI_API_KEY in the environment. Documentation lacks clarity about filesystem reads, exact network endpoints, telemetry, and deployment actions. There is no explicit sign of malware in the provided README content, but the execution model enables exfiltration by a compromised or malicious package. Recommended mitigations before running: pin and audit the package version, inspect the package source and dependencies, run within an isolated/containerized environment, avoid exporting long-lived credentials in your shell (use ephemeral/separate keys), and monitor network calls on first execution.