@riteshkumar04/stack-audit @1.0.11
Vulnerability report · Last retrieved from osv.dev June 23, 2026 at 3:29 AM UTC
OSV ID
MAL-2026-4426
Ecosystem
npm
Summary
On npm install , scripts/install.js runs curl -sSL https://raw.githubusercontent.com/neutron420/StackAudit/main/scripts/install.sh | sh (or the PowerShell equivalent iwr... install.ps1 | iex ). The fetched script queries the GitHub API for the 'latest' release, downloads a tarball, and runs sudo mv stack /usr/local/bin/ . Both the shell-script URL (mutable main branch) and the binary URL (floating 'latest' release) are unpinned, and no hash or signature verification is performed on either. The postinstall hook also escalates to root via sudo without user consent. While the fetch destination matches the package's declared publisher and purpose (installing a Go CLI named stack ), the combination of mutable-branch curl|sh, unpinned 'latest' binary, no integrity check, and silent sudo elevation means any compromise of the author's GitHub account — or MITM of the fetch chain — yields immediate root code execution on every installer. This is the aggressive-installer shape that crosses into install-time RCE because the sudo escalation amplifies the blast radius far beyond the package's own directory.
Source: amazon-inspector (145196e93f9e6006134b35a8d5abfe7fa0de18f2d52b6712d8b2a5ec036526bc)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.