MAL-2026-6590: Malicious code in envfile-sync-cli (npm)
The npm package envfile-sync-cli contains a malicious native Windows binary that is loaded silently on import. This binary is redundant with existing JavaScript code and is concealed by misleading documentation and branding that impersonates a different package. The package ships attacker-controlled native code disguised to evade detection, indicating a supply chain compromise via a typosquatting attack.
AI Analysis
Technical Summary
The envfile-sync-cli npm package versions 1.0.2, 2.0.0, and 3.0.0 include a 2.9MB Windows PE executable loaded via process.dlopen for side effects, despite having a pure JavaScript parser implementation. The package's README falsely claims no binary exists and brands itself inconsistently to impersonate the legitimate 'envsync' package, a common typosquatting tactic. This combination of undocumented native code, silent loading, and deceptive branding strongly indicates malicious intent to smuggle attacker-controlled native code onto Windows systems during installation.
Potential Impact
Systems that install or import the affected versions of envfile-sync-cli may execute malicious native code on Windows platforms without user awareness due to the silent loading of the embedded binary. This could lead to unauthorized code execution and compromise of the host environment. No known exploits in the wild have been reported yet.
Mitigation Recommendations
No official patch or remediation guidance is currently provided. Users should avoid installing or importing the affected versions (=1.0.2, =2.0.0, =3.0.0) of envfile-sync-cli. Verify package authenticity carefully and prefer official, verified packages. Monitor for vendor advisories for updates on remediation.
MAL-2026-6590: Malicious code in envfile-sync-cli (npm)
Description
The npm package envfile-sync-cli contains a malicious native Windows binary that is loaded silently on import. This binary is redundant with existing JavaScript code and is concealed by misleading documentation and branding that impersonates a different package. The package ships attacker-controlled native code disguised to evade detection, indicating a supply chain compromise via a typosquatting attack.
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 envfile-sync-cli npm package versions 1.0.2, 2.0.0, and 3.0.0 include a 2.9MB Windows PE executable loaded via process.dlopen for side effects, despite having a pure JavaScript parser implementation. The package's README falsely claims no binary exists and brands itself inconsistently to impersonate the legitimate 'envsync' package, a common typosquatting tactic. This combination of undocumented native code, silent loading, and deceptive branding strongly indicates malicious intent to smuggle attacker-controlled native code onto Windows systems during installation.
Potential Impact
Systems that install or import the affected versions of envfile-sync-cli may execute malicious native code on Windows platforms without user awareness due to the silent loading of the embedded binary. This could lead to unauthorized code execution and compromise of the host environment. No known exploits in the wild have been reported yet.
Mitigation Recommendations
No official patch or remediation guidance is currently provided. Users should avoid installing or importing the affected versions (=1.0.2, =2.0.0, =3.0.0) of envfile-sync-cli. Verify package authenticity carefully and prefer official, verified packages. Monitor for vendor advisories for updates on remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6590
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed6527e9c79719937db0
Added to database: 06/29/2026, 22:10:45 UTC
Last enriched: 06/29/2026, 22:33:50 UTC
Last updated: 06/30/2026, 00:46:29 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.
External Links
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.