Malicious code in zystcdemo (npm)
- GHSA-xpgj-8rc5-pq44
Description
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). --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/d14f5c184e0fa7acf2343c56b9bb72068b95e1bc/osv/malicious/npm/zystcdemo/MAL-2026-18447.json))
Text from the GitHub Advisory record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
zystcdemonpm
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.