Malicious code in easypanel-app (npm)
Description
The easypanel-app npm package version 1.0.0 contains malicious code in its preinstall lifecycle script. This script collects installer identity information including hostname, username, current working directory, and CI-related environment variables. The collected data is encoded and exfiltrated via DNS and HTTP requests to a hardcoded third-party domain, effectively acting as a reconnaissance beacon that leaks sensitive environment details to an external attacker.
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-app package (version 1.0.0) includes a preinstall script that automatically executes during npm install. This script gathers system and environment information such as os.hostname(), os.userInfo().username, process.cwd(), and CI environment variables. It then serializes this data to JSON, encodes it with base64url, chunks it into DNS label format, and sends it out-of-band to a hardcoded third-party collector domain via dns.lookup() and HTTP GET requests. This behavior constitutes a dependency-confusion reconnaissance beacon that discloses installer identity and internal package name information to an external entity, regardless of any benign labeling within the package.
Potential Impact
The malicious preinstall script leaks sensitive environment information including hostnames, usernames, current working directories, and CI environment variables to an external third party. This can lead to exposure of internal infrastructure details and potentially facilitate further targeted attacks or reconnaissance by adversaries. There is no indication of direct code execution or system compromise beyond data exfiltration in the provided information.
Mitigation Recommendations
No official patch or remediation guidance is provided in the available data. Users should avoid installing easypanel-app version 1.0.0 from untrusted sources. Verify package authenticity before installation and consider removing or blocking the package if already installed. Monitor for updates or advisories from the package maintainers or npm registry for any official fixes or removals.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15895
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a9ad4edacd9273b49b67814
Added to database: 09/04/2026, 14:25:49 UTC
Last enriched: 09/07/2026, 17:10:01 UTC
Last updated: 10/04/2026, 06:00:49 UTC
Views: 22
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.