Malicious code in @easy-entry/routes (npm)
Description
The npm package @easy-entry/routes version 99.9.5 contains malicious code that exfiltrates sensitive system information during installation. Its postinstall script sends the contents of the /etc/passwd file and encoded system identity data to attacker-controlled domains. The package has no legitimate functionality and is designed to impersonate an internal package to trick dependency resolution. Systems with this package installed should be considered fully compromised.
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 @easy-entry/routes npm package version 99.9.5 includes a postinstall hook that executes commands to exfiltrate sensitive information. Specifically, it uses curl to send the contents of /etc/passwd to an attacker-controlled Burp Collaborator subdomain that includes the installer's hostname. Additionally, it runs a script that hex-encodes the hostname, home directory, and username, then sends this data via HTTP fetch to another attacker-controlled domain. The package is a malicious dependency designed for dependency confusion attacks and contains no legitimate code beyond the exfiltration payload.
Potential Impact
Any system that installs or runs this package is considered fully compromised. The attacker gains access to sensitive system information and potentially full control of the affected machine. All secrets and keys stored on the compromised system should be rotated immediately from a secure, unaffected environment. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors installed as a result of this compromise.
Defensive Guidance
Remove the @easy-entry/routes package version 99.9.5 immediately from all affected systems. Rotate all secrets, credentials, and keys that were stored or used on the compromised machines from a different, secure system. Conduct a thorough investigation and remediation of the affected environment, as full compromise is likely. There is no official patch or fix for this malicious package; prevention relies on avoiding installation and removing it if found.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5410
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-g9fq-cx25-24m4","GHSA-9gwm-xrv4-c436"]
- Ecosystems
- ["npm"]
Threat ID: 6a96f31bacd9273b49e499db
Added to database: 09/01/2026, 15:45:31 UTC
Last enriched: 09/08/2026, 04:38:48 UTC
Last updated: 10/01/2026, 22:46:22 UTC
Views: 21
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.