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. Obfuscated code running on install has no legitimate purpose for an encoding library and is consistent with a supply-chain trojan. The payload's behaviour is concealed by the obfuscation, and no network IOCs are visible in the source.

analyzed by
Leitwacht
first seen
Jun 18, 2026, 12:07 PM
analyzed
Jun 18, 2026, 12:08 PM
weekly installs
358
npm package ↗ OSV record MAL-2026-6313 ↗ source repo (declared, defanged): hxxps://github[.]com/dahlia/byte-encodings Request takedown / dispute →

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.