Skip to main content
MalwarePublished Updated

weavedb-contracts (npm) · Malicious Code

Affects weavedb-contractsSource GCVE Database

0

Malicious package : remove weavedb-contracts and rotate any secrets on hosts that installed it.

Data as of 14 Jul 2026, 09:36 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5192

What to do

Remove weavedb-contracts 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

ProductAffectedFixed in
npmweavedb-contractsAffected
  • =0.45.2
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 weavedb-contracts version 0.45.2 was compromised as part of the IronWorm campaign. The malicious code executes a Rust-based infostealer during installation via a preinstall hook, targeting developer credentials for cloud providers, databases, source control, package registries, AI tools, and cryptocurrency wallets. It also injects malicious JavaScript into the Exodus wallet to capture sensitive data. The malware exhibits worm-like behavior by stealing GitHub and npm credentials to propagate itself through repositories and trojanized packages. Additionally, it uses an eBPF-based kernel rootkit on Linux to hide its presence. Installing this package can lead to full system compromise.

References

Community reviews

Loading reviews…