cloudflare

Warn

Audited by Socket on Sep 11, 2026

3 alerts found:

SecurityAnomalyx2
SecurityMEDIUM
evals/files/review/worker.ts

The code does not show clear intentional malware, but it contains significant security and privacy risks. The most serious issue is the global cachedUser, which can cause cross-request identity confusion and potentially expose one user's session data to another authenticated caller. The report endpoint broadly exposes database contents and creates unescaped CSV, while uploads are unrestricted apart from possession of a shared API key. Use per-request session resolution, scoped authorization, cryptographically secure identifiers, upload limits, CSV escaping, and careful secret/token permissions.

Confidence: 97%Severity: 78%
AnomalyLOW
evals/files/do-lifecycle/rooms.ts

The fragment contains no clear malicious behavior or obfuscation. It implements expected Durable Object game-room behavior, but has design-level security and abuse risks: unauthenticated arbitrary room names, unlimited joins, lack of rate limiting, and repeated ledger sends because players are never cleared or marked settled. These issues should be addressed if the endpoint is publicly reachable.

Confidence: 98%Severity: 58%
AnomalyLOW
evals/files/review/wrangler.toml

No malicious behavior is evident in this configuration-only fragment. The primary security issue is potential hardcoding of API credentials in [vars]. If these values are real, they should be rotated and stored using the platform's secret mechanism rather than committed to source. Review src/index.ts to determine whether the credentials or bound data are exposed.

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Sep 11, 2026, 03:16 PM
Package URL
pkg:socket/skills-sh/lynricsy%2Fhyperskills%2Fcloudflare%2F@d3f652bb43c44974c53e74c3b72346c09cc4d264095b743d28eaa0d99dd923e3
Security Audit — socket — cloudflare