MAL-2026-11139
Dashboard / Malicious Package / MAL-2026-11139
MAL-2026-11139
Summary: Malicious code in kordyn (npm)
Details: Source: amazon-inspector (c379ec39ec7791c9128dc4e1b82199ce29d7540a9a9984036af2ac79de38e1bf) [email protected] advertises itself in package.json and README as an unimplemented placeholder for trivial streak utilities ('Early release — placeholder. Implementation to come.'), but the tarball's declared main entry index.mjs is a 355 KB module whose bulk is a base64-encoded Windows PE executable. index.mjs imports writeFileSync, mkdirSync, readdirSync, and existsSync from 'fs' at the top level and reconstructs the embedded binary via Buffer.from(_cache, 'base64'), where _cache begins with 'TVqQAAMAAAAEAAAA//8AAL...' decoding to an MZ/PE header including the 'This program cannot be run in DOS mode' stub. Simply importing or requiring the package executes the decoding path, and the imported fs write APIs indicate the decoded PE is intended to be written to the installer's disk. The advertised functionality (streak-count helpers) has no legitimate reason to embed a native Windows executable, and the placeholder cover story is inconsistent with the shipped 355 KB opaque payload in the direction that conceals it from reviewers — the shape of a staged dropper / obfuscated loader.
References: https://www.npmjs.com/package/kordyn/v/0.9.16, https://www.npmjs.com/package/kordyn/v/0.9.18, https://www.npmjs.com/package/kordyn/v/0.9.10, https://www.npmjs.com/package/kordyn/v/0.9.17, https://www.npmjs.com/package/kordyn/v/0.9.11, https://www.npmjs.com/package/kordyn/v/0.9.14, https://www.npmjs.com/package/kordyn/v/0.9.15
Affected packages
Package
Name: kordyn
Purl: pkg:npm/kordyn
Affected ranges
Type: N/A
Events:
