media-use

Warn

Audited by Socket on Oct 28, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
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%
AnomalyLOW
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
Analyzed At
Oct 28, 2026, 05:21 AM
Package URL
pkg:socket/skills-sh/langchain-ai%2Fdesign-agent%2Fmedia-use%2F@041be5b9502e00ea806e5b448c2f719483d3f6952c18b0d86cb4288a4bc0e422