Malicious package · npm
Malicious code in session-exp (npm)
1.3.181.3.201.3.211.3.22No safe version. Remove it.What it does
session-exp is a copy of express-session whose session/cookie.js decodes a base64 paste URL (jsonkeeper[.]com/b/U08GX, jsonkeep[.]com/b/U08GX or api[.]npoint[.]io/...), fetches it with axios when the module loads, and passes the response's 'cookie' field to eval(). In the OpenSSF sandbox the fetched second stage wrote and ran Python payloads (~/.nlq, ~/.n2/pow, ~/.n2/way) and connected to 23.227.202[.]244 on ports 1224 and 2248. That matches the BeaverTail / InvisibleFerret malware used in the Contagious Interview campaign, which steals credentials and browser and crypto-wallet data and gives the attacker remote access. Versions 1.3.18 to 1.3.22 execute the payload; 1.3.17 only logs it. Hosts that required the package should be treated as compromised. Dynamic evidence (OpenSSF sandbox: ~/.nlq, ~/.n2/*, 23.227.202[.]244:1224/2248) was observed for 1.3.22; earlier versions are malicious by the same static eval-of-remote-code loader. Version 1.3.17 fetches the attacker URL but only logs the result and is excluded; 1.3.19 was never published. Reported to npm on 2026-11-26 and replaced with a security holding package (0.0.1-security) on 2026-11-26.
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.
No fix · Remove and contain
npm uninstall session-expSources