query-metrics
Warn
Audited by Socket on Sep 14, 2026
1 alert found:
AnomalyAnomalyscripts/resolve-url
LOWAnomalyLOW
scripts/resolve-url
The code appears to implement a legitimate URL-resolution and caching utility, with no clear malware indicators. The principal security concern is path traversal through unsanitized deployment or dataset arguments when forming CACHE_FILE, potentially allowing writes outside the cache directory. Temporary-file symlink attacks and insufficient validation of API-derived host data are additional risks. Inputs should be restricted to safe filename characters or encoded before use, and cache writes should use secure, validated paths and permissions.
Confidence: 97%Severity: 64%
Audit Metadata