crassula (npm) · Malicious Code
Affects crassulaSource GCVE Database
Malicious package : remove crassula and rotate any secrets on hosts that installed it.
Data as of 2 Dec 2026, 13:18 UTC
Malicious package
Published to npm · OSV MAL-2026-20952
What to do
Remove crassula 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 |
|---|---|---|
| npmcrassula | 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 crassula@1.0.0 masquerades as a utility for payment and banking integrations but contains no functional code. Instead, its postinstall script executes a node script that sends the host machine's hostname via an HTTPS request to a suspicious external server. Installation of this package can lead to full compromise of the affected system, requiring immediate secret and key rotation from a different machine. Removal of the package alone may not eliminate all malicious components.