uzair-rajput-new (npm) · Malicious Code
Affects uzair-rajput-newSource GCVE Database
Malicious package : remove uzair-rajput-new and rotate any secrets on hosts that installed it.
Data as of 7 Aug 2026, 07:43 UTC
Malicious package
Published to npm · OSV MAL-2026-13360
What to do
Remove uzair-rajput-new 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 |
|---|---|---|
| npmuzair-rajput-new | 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 'uzair-rajput-new' contains malicious code concealed in its CommonJS (CJS) entrypoint. It reconstructs an AES-256-CBC decryption key by reading and XORing byte arrays from sibling files, then decrypts and executes an embedded payload at runtime. This behavior is hidden from static analysis and diverges from the benign ESM entrypoint, indicating deliberate obfuscation. Every require() call executes attacker-controlled code with the host process's privileges, posing a serious security risk.