LWA-2026-6504 MAL-2026-10131 ↗ confirmed malware

express-session-kit@1.1.1

Malicious code in express-session-kit (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1071.001 · Web ProtocolsT1105 · Ingress Tool TransferT1102 · Web Service

Analysis

express-session-kit is a combosquat package impersonating the real express-session middleware. On require(), it executes a C2 beacon in session/check.js that phones home to hxxp://check-server-state[.]vercel[.]app/server/v2 with a "bearrtoken" header. If the server responds with a 404 containing a "token" field, that value is executed as code via new Function("require", ...) — delivering arbitrary remote code into the installer's process. The index.js also spawns a detached child process to run the beacon persistently. The package fraudulently claims TJ Holowaychuk as author and references a non-existent github[.]com/expressjs/session-kit repository.

analyzed by
Leitwacht
first seen
Jul 9, 2026, 10:09 AM
analyzed
Jul 9, 2026, 10:11 AM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.