media-use
Warn
Audited by Socket on Sep 26, 2026
1 alert found:
AnomalyAnomalyscripts/lib/cache.mjs
LOWAnomalyLOW
scripts/lib/cache.mjs
The code appears to implement a local media cache and contains no evident malware or obfuscation. It has filesystem path-containment weaknesses: importFromCache() can write outside the project directory through localPath, and promote() can read and cache files outside the project directory through record.path. Risk depends on control of these arguments or manifest records.
Confidence: 95%Severity: 64%
Audit Metadata