Advisory

MAL-2026-18447

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 zystcdemo (npm)

Details

zystcdemo presents itself as a simple date formatting utility and runs its postinstall payload on npm install with node postinstall.js. The payload collects the whoami result, hostname, platform, and current time, then sends them in a POST request to https://srctest.zystcc.cn/collect; npm account zyst published it on 2026-10-29 (UTC).

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

Source: amazon-inspector (98788be1bdd54ff0f5d2551e7d8369cd790109aa31644c173b78893d8cbb28bf)
Package self-describes as a date-formatting utility but ships a postinstall lifecycle script (postinstall.js) that runs automatically on npm install. The script executes whoami via child_process and collects os.hostname() and os.platform(), then POSTs the resulting JSON payload to the hardcoded endpoint https://srctest.zystcc.cn/collect. The data-collection behavior is unrelated to the advertised date-utility purpose and the destination host is not associated with the package's stated functionality.

Severity

Not rated by the source.

Dates

Published
2026-10-29 07:22 UTC
Modified
2026-11-13 02:45 UTC

Affected packages and fixes

zystcdemo

npm · All systems

Affected

  • Versions: 1.0.0

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