media-use
Warn
Audited by Socket on Oct 28, 2026
2 alerts found:
Anomalyx2Anomalyscripts/lib/manifest.mjs
LOWAnomalyLOW
scripts/lib/manifest.mjs
No apparent malware or data exfiltration is present. The primary security concern is unvalidated ext input in allocateId, which can make reservation paths escape the intended media directory or project directory. Restrict ext to an expected extension format and verify resolved paths remain within the target directory.
Confidence: 97%Severity: 61%
Anomalyscripts/lib/media-fetch.mjs
LOWAnomalyLOW
scripts/lib/media-fetch.mjs
The code implements useful protocol, redirect, and response-size checks, but its public-host validation does not verify DNS resolution or the actual connected address. Consequently, a hostname resolving to an internal address can bypass the SSRF protection. No evidence of intentional malicious behavior is present.
Confidence: 96%Severity: 55%
Audit Metadata