ui-sound-design
Warn
Audited by Socket on Sep 14, 2026
1 alert found:
SecuritySecuritytools/analyze-sound.mjs
MEDIUMSecurityMEDIUM
tools/analyze-sound.mjs
The code is an audio analysis CLI with no clear malicious behavior or data exfiltration. It contains a significant command-injection vulnerability because the user-supplied file path is interpolated into an execSync shell command. Use execFileSync or spawnSync with an argument array and impose file-size, chunk-size, channel, and sample-count limits. The code also has resource-exhaustion risks when processing malformed or very large audio files.
Confidence: 99%Severity: 82%
Audit Metadata