req-parmas-valid (npm) · Malicious Code
Affects req-parmas-validSource GCVE Database
Malicious package : remove req-parmas-valid and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 12:40 UTC
Malicious package
Published to npm · OSV MAL-2026-5991
What to do
Remove req-parmas-valid 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 |
|---|---|---|
| npmreq-parmas-valid | 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 'req-parmas-valid' impersonates the legitimate 'request' HTTP client by copying its source and metadata but includes a malicious middleware export. This middleware spawns a detached child process that fetches and executes arbitrary JavaScript code from an external, mutable paste service without any integrity checks. This allows remote code execution controlled by an attacker hosting the payload. The affected version is 1.0.2.