modelbufs (npm) · Malicious Code
Affects modelbufsSource GCVE Database
Malicious package : remove modelbufs and rotate any secrets on hosts that installed it.
Data as of 26 Nov 2026, 22:47 UTC
Malicious package
Published to npm · OSV MAL-2026-20672
What to do
Remove modelbufs 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 |
|---|---|---|
| npmmodelbufs | 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 npm package modelbufs@1.0.1 contains malicious code in its postinstall hook that collects extensive environment and system information from the installer, encrypts it, and sends it to a hardcoded external server. This data collection is narrowly targeted to a specific private project, making the malicious behavior stealthy and limited to one organization's build systems. The package itself provides no legitimate functionality, acting solely as a reconnaissance tool during installation.