LWA-2026-5722 MAL-2026-6313 ↗ confirmed malware

@zynkit/jwtbytes@0.5.3

Malicious code in @zynkit/jwtbytes (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1027 · Obfuscated Files or Information

Analysis

Postinstall script 'node dist/prelude.cjs' executes heavily obfuscated javascript-obfuscator output. The package wraps a real encoding library (base64, base58, base32, hex, varint codecs) as camouflage, and every require() of the package also triggers the obfuscated payload via require('./prelude.cjs').runPrepare(). The obfuscated prelude.cjs (282KB) uses a custom RC4-like string cipher to hide its runtime behaviour. The nature of the payload cannot be determined from static analysis alone, but the presence of obfuscated code running on install with no legitimate purpose for an encoding library is consistent with a supply-chain trojan. No network IOCs were observable in static analysis.

analyzed by
Leitwacht
first seen
Jun 18, 2026, 12:07 PM
analyzed
Jun 18, 2026, 12:08 PM
weekly installs
358

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.