convert-site
Warn
Audited by Socket on Oct 24, 2026
1 alert found:
AnomalyAnomalyscripts/lib/stores/r2.mjs
LOWAnomalyLOW
scripts/lib/stores/r2.mjs
This code implements an R2 storage client and shows no clear malware behavior. However, head() can send a credential-signed request to any absolute URL supplied by its caller, exposing the access key ID and request signature and potentially enabling SSRF; the configurable endpoint has a similar trust requirement. Severity is a security warning when these inputs can be influenced by untrusted parties; validate destinations against an expected R2 host and reject arbitrary absolute URLs.
Confidence: 98%Severity: 55%
Audit Metadata