npx-test-ma980@1.0.1
Vulnerability report · Last retrieved from osv.dev September 22, 2026 at 8:47 AM UTC
OSV ID
MAL-2026-16310
Ecosystem
npm
Summary
package.json declares a bin entry whose key contains shell metacharacters and a chained command: "tool & calc.exe": "./run.js". On Windows, npm's bin shim/symlink generation and later invocation via npm install -g or npx can interpret the & in the bin key as a command separator, causing calc.exe to execute as an unintended side effect of installing or linking the package. The shipped run.js is a trivial console.log("hello") and payload.json is empty, so the crafted bin key is the entire attack surface — a proof-of-concept exploit of npm bin-name handling that yields arbitrary command execution on the installer's host.
Source: amazon-inspector (adfd1e5f7cc282648da56cdf50ac9c3cb27d6165fa4a3f8f3625b4a0c2694be6)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.