cloudflare-hyperdrive
Audited by Socket on Sep 15, 2026
2 alerts found:
Anomalyx2No explicit classic malware behaviors are present in this module (no obfuscated payloads, command execution, or external exfiltration). However, the handler unconditionally performs transactional INSERTs into users and audit_log with hardcoded values on every request—highly atypical for a fetch/read endpoint and a strong indicator of potential sabotage, spam/pollution, or critical business-logic flaw. Additionally, it returns user PII (emails) and leaks internal error details to clients, increasing privacy and information disclosure risk. Overall, this should be reviewed and constrained (e.g., remove/guard writes, add authz, sanitize error responses, and manage DB pooling safely).
This module is not obviously malicious or obfuscated; it primarily acts as a database-backed handler using ORM queries. However, it has high security-relevance due to business-logic abuse potential: it performs insert/update writes on every invocation, and it returns the entire `users` table to the caller while also returning raw error messages. These behaviors create significant data privacy and integrity risks if the endpoint is reachable by unauthorized or untrusted callers.