cloudflare-hyperdrive

Warn

Audited by Socket on Sep 15, 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 15, 2026, 12:02 AM
Package URL
pkg:socket/skills-sh/secondsky%2Fclaude-skills%2Fcloudflare-hyperdrive%2F@1a69bfe41db5450cd8b56a3bc2d1807d7e90b5c83f063a46fac9950a519e55ab
Security Audit — socket — cloudflare-hyperdrive