cloudflare-kv

Warn

Audited by Socket on Sep 15, 2026

4 alerts found:

Securityx4
SecurityMEDIUM
examples/session-management/index.ts

The fragment appears to be a session-management example rather than malware, with no evident malicious payload or unauthorized exfiltration. However, it contains critical application security flaws: a hardcoded password, completely unprotected admin endpoints, and an unauthenticated user-activity endpoint. These issues can permit unauthorized login, disclosure of session metadata, and mass session revocation. It should not be deployed without authentication and authorization on administrative and analytics routes, removal of the hardcoded password, and stronger input and session controls.

Confidence: 99%Severity: 95%
SecurityMEDIUM
examples/config-management/index.ts

No evidence of malware, supply-chain sabotage, obfuscation, data exfiltration, command execution, or backdoor behavior is present. The application has a significant security design flaw: administrative KV read/write, feature-toggle, A/B-test, snapshot, and rollback endpoints are exposed without authentication or authorization. Runtime validation is also insufficient, and the environment lookup endpoint may disclose arbitrary namespace values. These issues should be addressed before public deployment.

Confidence: 98%Severity: 82%
SecurityMEDIUM
examples/rate-limiting/index.ts

The fragment is a readable rate-limiting example and contains no apparent malware, data exfiltration, backdoor, or supply-chain payload. The primary security issues are the unauthenticated administrative clearing endpoint, trust in a potentially spoofable IP header, and insecure API-key tier classification. Non-atomic KV updates and unhandled parsing errors also weaken reliability and enforcement. These are significant application security and authorization concerns but do not indicate malicious package behavior.

Confidence: 98%Severity: 72%
SecurityMEDIUM
templates/kv-list-pagination.ts

This code module does not show embedded malware, obfuscation, or credential theft. However, it implements powerful and dangerous KV administration endpoints—especially /kv/export (bulk retrieval of KV values) and /kv/delete/* (permanent deletion based on user-controlled selection)—and there are no authorization or safety checks visible in this file. If the routes are not strictly access-controlled, the likely impact is severe data exfiltration and data destruction, along with potential DoS via unbounded pagination and bulk operations.

Confidence: 71%Severity: 86%
Audit Metadata
Analyzed At
Sep 15, 2026, 12:03 AM
Package URL
pkg:socket/skills-sh/secondsky%2Fclaude-skills%2Fcloudflare-kv%2F@0da9f057a5b864423cb615c5b30e1425933054a50d0d72fc76d4345a542b4ce4
Security Audit — socket — cloudflare-kv