hs-framework (npm) · Malicious Code
Affects hs-frameworkSource GCVE Database
Malicious package : remove hs-framework and rotate any secrets on hosts that installed it.
Data as of 1 Nov 2026, 09:22 UTC
Malicious package
Published to npm · OSV MAL-2026-18434
What to do
Remove hs-framework from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmhs-framework | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The hs-framework npm package declares a dependency on a tarball hosted at an external HTTPS URL rather than a versioned registry package. This tarball can be changed at any time by whoever controls the storage bucket, allowing arbitrary code execution during npm install via lifecycle scripts. The package itself is a minimal stub, with the dependency URL being the main attack surface. This setup enables supply chain compromise through dynamic, unpinned, and unverified code fetched during installation.