The install script can execute publisher-controlled commands, and runtime behavior can disclose fetched content and host information to the remote collector.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
AI security review
scanned · by lpm-firewall-ai
The package executes an uninspected remote shell script during installation, and its entry point forwards fetched content to an unrelated host automatically. These behaviors establish malicious remote code execution and data disclosure.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review
Trigger
Package installation runs preinstall and postinstall; importing the main entry point runs its fetch-and-forward sequence.
Mechanism
The install hooks pipe a download from new.www.hardlic.top to bash. The entry point fetches content from tst.woa.com and posts it to new.www.hardlic.top. demo.js also collects system identifiers and network configuration for transmission.
Attack narrative
During installation, both lifecycle hooks download a shell script from new.www.hardlic.top and pipe it directly to bash, allowing remote commands to run without a separate user request. The main entry point also fetches content from tst.woa.com and forwards it to that host when loaded. demo.js separately collects username, hostname and network configuration and posts the data to the same host.
Evidence
package.jsonindex.jsdemo.js
Network endpoints2
new.www.hardlic.top
tst.woa.com
Decision evidence
public snapshot
Evidence for block
Both preinstall and postinstall run a shell script downloaded from new.www.hardlic.top.
The main entry point fetches content from tst.woa.com and sends it to new.www.hardlic.top.
The entry point calls this fetch-and-forward sequence automatically when loaded.
demo.js collects the username, hostname and network configuration, then posts system information to new.www.hardlic.top.
Evidence against
Behavioral surface
SourceChild process · Network · Shell
Supply chainURL strings
ManifestNo manifest risk signals triggered.
Scanned 2 files · 8.13 KB of source
2 external domains referenced
new.www.hardlic.top
tst.woa.com
Findings
2 critical · 6 high · 2 medium · 2 low
Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
Avoid installing hstdemotests@1.3.0. Remove it from direct dependencies and check your lockfile for transitive copies.
Choose an independently verified alternative or release. This report does not establish that other versions are safe.
If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.