cloudflare
Audited by Socket on Aug 3, 2026
1 alert found:
AnomalyNo definitive on-code backdoor (no eval/Function/dynamic execution, no process spawning, no credential theft logic) is shown in this fragment. The highest concern is the unconditional hardcoded outbound POST to an external webhook executed via ctx.waitUntil on incoming requests, which is consistent with tracking or potential data exfiltration. Secondary security weaknesses include wildcard CORS, returning err.message to clients, and writing uploaded content to object storage using an unsanitized, client-controlled filename. Treat the webhook behavior as the primary supply-chain risk and verify what payload is sent, whether it is conditional, and whether sensitive data can reach it; also add validation/sanitization for uploads, tighten CORS, and avoid error-message disclosure.