cloudflare-hyperdrive

Warn

Audited by Socket on Sep 4, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
templates/postgres-pool.ts

No 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).

Confidence: 66%Severity: 60%
AnomalyLOW
templates/drizzle-mysql.ts

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.

Confidence: 62%Severity: 62%
Audit Metadata
Analyzed At
Sep 4, 2026, 06:57 AM
Package URL
pkg:socket/skills-sh/dennislee928%2Fethic-latex%2Fcloudflare-hyperdrive%2F@6ed0b66cbe9a2e873df876a81deea55aa0dd2fecfec411a917f0ec855c79ed79
Security Audit — socket — cloudflare-hyperdrive