MAL-2026-2526
Dashboard / Malicious Package / MAL-2026-2526
MAL-2026-2526
Summary: Malicious code in request-js-validator (npm)
Details: 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. Source: amazon-inspector (2d5a657a9a3d02a6e081dad40434d93af76f1015495e2fddb11328d88f453063) The package request-js-validator was found to contain malicious code. Source: ghsa-malware (a943c6f68b9badd203b85e98b4997b5f5dfb750e15f13e8f8393e7094b0d4de0) 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.
References: https://app.safedep.io/community/malysis/01KNHMYET4MGB6AB4C722F53MR, https://github.com/advisories/GHSA-wrcq-4545-xm9w
Affected packages
Package
Name: request-js-validator
Purl: pkg:npm/request-js-validator
Affected ranges
Type: N/A
Events:
