Advisory

MAL-2026-16310

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in npx-test-ma980 (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (adfd1e5f7cc282648da56cdf50ac9c3cb27d6165fa4a3f8f3625b4a0c2694be6)
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.

Severity

Not rated by the source.

Dates

Published
2026-09-21 03:21 UTC
Modified
2026-09-21 03:30 UTC

Affected packages and fixes

npx-test-ma980

npm · All systems

Affected

  • Versions: 1.0.1

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences