@depup/memfs (npm) · Malicious Code
Affects @depup/memfsSource GCVE Database
Malicious package : remove @depup/memfs and rotate any secrets on hosts that installed it.
Data as of 8 Aug 2026, 15:37 UTC
Malicious package
Published to npm · OSV MAL-2026-13624
What to do
Remove @depup/memfs 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 |
|---|---|---|
| npm@depup/memfs | 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 @depup/memfs npm package is a malicious republish of the legitimate memfs package. It replaces the original source code with requires to attacker-controlled packages under the @jsonjoy.com namespace, causing installation or import to execute malicious code from these dependencies. This repackaging effectively creates a dependency-chain dropper that runs attacker-published code without lifecycle hooks. The affected version is exactly 4.67.0-depup.0.