raectjs (npm) · Malicious Code
Affects raectjsSource GCVE Database
Malicious package : remove raectjs and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:47 UTC
Malicious package
Published to npm · OSV MAL-2026-14187
What to do
Remove raectjs 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 |
|---|---|---|
| npmraectjs | 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 'raectjs' version 1.0.0 contains malicious code in its postinstall script. This script exfiltrates system information to a hardcoded IP address and downloads a malicious executable from an attacker-controlled GitHub repository. The executable is saved and executed on the victim's machine without verification. The package masquerades as a legitimate addon but contains no genuine source code and serves solely to deliver this malicious payload.