# GHSA-G3W3-WRVJ-RR9W: Malicious code in hstdemotest (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-16
- Modified: 2026-11-16

## Affected versions

- hstdemotest (npm): 1.3.0

## Description

`hstdemotest` runs `curl new.www.hardlic.top` in `preinstall` and `postinstall`, beaconing every install to the same attacker host as its sibling `hstdemotests`, which uses it to download and execute a remote script and to exfiltrate host and internal-network data. Published by the same account five minutes earlier.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/b898a012b7d4c9d139a04141e5e4359c2df6c601/osv/malicious/npm/hstdemotest/MAL-2026-19948.json))

## References

- https://github.com/ossf/malicious-packages/blob/b898a012b7d4c9d139a04141e5e4359c2df6c601/osv/malicious/npm/hstdemotest/MAL-2026-19948.json
- https://wormsign.io/portfolio/hstdemotest
- https://github.com/advisories/GHSA-g3w3-wrvj-rr9w

Page: https://cve.now/GHSA-G3W3-WRVJ-RR9W

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
