Malicious code in kordyn (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## 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.
AI Analysis
Technical Summary
The kordyn npm package's main entry file (index.mjs) includes a base64-encoded Windows PE64 executable. Upon import in a Linux environment with WSL (detected by the presence of /mnt/c), the package writes this executable to the Windows Startup folder path: /mnt/c/Users/<user>/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup/vite-native-helper.exe. This causes the binary to run automatically on the next Windows login, granting the package publisher code execution on the Windows host. The package's documentation does not disclose this behavior, and the executable's filename is a deceptive cover to hide its true purpose.
Potential Impact
This malicious code enables persistent unauthorized code execution on Windows hosts of developers who import the kordyn package in WSL environments. It compromises system integrity by placing a binary in the Windows Startup folder, which executes automatically on login, potentially leading to further compromise or data loss. The threat specifically targets developer environments using WSL, leveraging cross-OS persistence.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using the affected kordyn package versions (=0.9.10, =0.9.16, =0.9.18). Remove any instances of the 'vite-native-helper.exe' from the Windows Startup folder if present. Monitor development environments for unexpected binaries in startup locations. Check the vendor or package repository for updates or official advisories regarding this malicious package.
Malicious code in kordyn (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## 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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The kordyn npm package's main entry file (index.mjs) includes a base64-encoded Windows PE64 executable. Upon import in a Linux environment with WSL (detected by the presence of /mnt/c), the package writes this executable to the Windows Startup folder path: /mnt/c/Users/<user>/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup/vite-native-helper.exe. This causes the binary to run automatically on the next Windows login, granting the package publisher code execution on the Windows host. The package's documentation does not disclose this behavior, and the executable's filename is a deceptive cover to hide its true purpose.
Potential Impact
This malicious code enables persistent unauthorized code execution on Windows hosts of developers who import the kordyn package in WSL environments. It compromises system integrity by placing a binary in the Windows Startup folder, which executes automatically on login, potentially leading to further compromise or data loss. The threat specifically targets developer environments using WSL, leveraging cross-OS persistence.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using the affected kordyn package versions (=0.9.10, =0.9.16, =0.9.18). Remove any instances of the 'vite-native-helper.exe' from the Windows Startup folder if present. Monitor development environments for unexpected binaries in startup locations. Check the vendor or package repository for updates or official advisories regarding this malicious package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-11139
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735730bf8831d53913cd78
Added to database: 08/05/2026, 15:30:56 UTC
Last enriched: 08/05/2026, 15:39:34 UTC
Last updated: 08/05/2026, 18:46:47 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.