kordyn (npm) · Malicious Code
Affects kordynSource GCVE Database
Malicious package : remove kordyn and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 18:46 UTC
Malicious package
Published to npm · OSV MAL-2026-11139
What to do
Remove kordyn from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmkordyn | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (c379ec39ec7791c9128dc4e1b82199ce29d7540a9a9984036af2ac79de38e1bf) kordyn@0.9.14 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
- npmjs.com/package/kordyn/v/0.9.16 (opens in a new tab)
- npmjs.com/package/kordyn/v/0.9.18 (opens in a new tab)
- npmjs.com/package/kordyn/v/0.9.10 (opens in a new tab)
- npmjs.com/package/kordyn/v/0.9.17 (opens in a new tab)
- npmjs.com/package/kordyn/v/0.9.11 (opens in a new tab)
- npmjs.com/package/kordyn/v/0.9.14 (opens in a new tab)
- npmjs.com/package/kordyn/v/0.9.15 (opens in a new tab)