MAL-2026-2526 Malicious code in request-js-validator (npm)
- Package
- request-js-validator
- Registry
- npm
What is MAL-2026-2526?
MAL-2026-2526 is a malicious package in request-js-validator, published on 6 Apr 2026.
Official description
Copy of 'request' library with injected payload. Spawns detached child process that fetches stage-2 and executes via new Function.constructor('require', payload). Same pattern as express-session-js.
The package request-js-validator was found to contain malicious code.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
What should I do about MAL-2026-2526?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-wrcq-4545-xm9w.