Malicious code in karma-proxy (npm)
Description
The npm package karma-proxy version 1.0.0 contains malicious code that executes during installation. Its postinstall script collects host identifiers such as hostname, platform, architecture, Node.js version, package name, and lifecycle event, then sends this data as JSON to a hardcoded third-party endpoint unrelated to npm or the package vendor. This data collection occurs without user consent or disclosure.
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 karma-proxy npm package version 1.0.0 includes a postinstall lifecycle script that unconditionally collects system and environment information (os.hostname(), platform, architecture, Node.js version, package name, lifecycle event) and transmits it to a hardcoded external URL (https://e14giapf.instances.poc.jchunt.top/karma-proxy). This endpoint is controlled by the package author and is unrelated to any official npm registry or vendor infrastructure. The data exfiltration happens silently on every installation without user opt-in or notification, constituting malicious behavior embedded in the package.
Potential Impact
This behavior results in unauthorized collection and transmission of potentially sensitive host environment data to an attacker-controlled server. While no direct code execution beyond the postinstall script is described, the privacy breach and potential for further exploitation through this data leakage pose a security risk to users installing this package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing karma-proxy version 1.0.0. Consider removing the package if already installed and monitor for updates or advisories from the package maintainers or npm registry. Since the package is not a cloud service, remediation depends on user action. Check vendor or npm advisories for any updates or removal notices.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14267
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a85b4b4acd9273b49251580
Added to database: 08/19/2026, 13:50:44 UTC
Last enriched: 08/19/2026, 14:19:51 UTC
Last updated: 10/02/2026, 13:51:52 UTC
Views: 26
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.