Malicious code in easypanel-core (npm)
Description
The easypanel-core npm package version 1.0.0 contains malicious code that executes during installation. Instead of providing functional code, it runs a preinstall script that collects system information such as hostname, username, current working directory, and CI-related environment variables. This data is base64url-encoded and exfiltrated via DNS and HTTP requests to a suspicious external domain. The package mimics the name and description of a legitimate project but exports no functionality, serving solely as an install-time beacon.
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 easypanel-core package (npm ecosystem) version 1.0.0 is a malicious package that does not export any usable code. Its main behavior is embedded in a preinstall lifecycle script that gathers sensitive environment data including os.hostname(), os.userInfo().username, process.cwd(), and CI environment variables. This information is encoded and sent to an external domain through DNS subdomain lookups and HTTP GET requests. The package attempts to masquerade as a legitimate client library by name and description, but its sole purpose is data exfiltration during installation.
Potential Impact
The malicious preinstall script can leak sensitive environment information from the host where the package is installed. This includes system hostname, user identity, working directory, and continuous integration environment variables. Such data exposure can aid attackers in reconnaissance or further targeted attacks. No direct code execution beyond data exfiltration is described. There is no indication of active exploitation in the wild.
Mitigation Recommendations
No official patch or remediation is documented for this package. Users should avoid installing easypanel-core version 1.0.0 from untrusted sources. Verify package authenticity before installation and prefer official or well-maintained packages. Consider scanning dependencies for malicious behavior prior to deployment.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15897
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a9ad4edacd9273b49b67810
Added to database: 09/04/2026, 14:25:49 UTC
Last enriched: 09/07/2026, 17:10:20 UTC
Last updated: 10/04/2026, 05:39:57 UTC
Views: 24
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.