Malicious npm Package express-session-js Drops Full RAT Payload
2026-04-02 • Safe Dep •
https://safedep.io/malicious-npm-package-express-session-js/
The npm package express-session-js typosquatted the legitimate express-session middleware and executed malicious code as a side effect of require(), rather than through an install hook. Its dropper retrieved an obfuscated stage-two payload from jsonkeeper[.]com and static deobfuscation showed a full RAT and infostealer configured to use 216[.]126[.]237[.]71 over Socket.IO and related upload channels. The payload supports browser credential theft, crypto wallet extraction, sensitive file collection, screenshots, clipboard monitoring, keylogging, and remote mouse and keyboard control. The report links the package to the DPRK/Lazarus Contagious Interview campaign through the jsonkeeper delivery pattern, Cloudzy-hosted C2 infrastructure, tooling overlap, and the campaign’s broader history of malicious npm packages.
Indicators of Compromise
| Type | Value | First Seen | Last Seen |
|---|---|---|---|
| IPv4 | 216.126.237.71 | 2026-04-02 | 2026-04-24 |
| HASH | a36adbc35e69b22acbf9f834a0deb286 | 2026-04-02 | 2026-04-02 |
| HASH | b5cca27ca1d792bd8c46b83fccfa4e5… | 2026-04-02 | 2026-04-02 |
| [email protected] | 2026-04-02 | 2026-04-02 | |
| URL | https://jsonkeeper.com/b/YY8VI | 2026-04-02 | 2026-04-02 |
| IPv4 | 216.126.227.239 | 2026-02-28 | 2026-04-02 |
| IPv4 | 216.126.229.166 | 2025-11-13 | 2026-04-02 |
| DOMAIN | ukr.net | 2023-04-12 | 2026-04-02 |