Malicious code in enbd-react-error-boundry (npm)
The enbd-react-error-boundry npm package is a malicious package published as part of a dependency confusion campaign. It mimics an internal package naming convention to trick misconfigured resolvers into installing it instead of the legitimate private package. The package executes a preinstall hook that collects host telemetry including public IP and PII, then sends this data to an attacker-controlled Sentry project. This behavior occurs automatically during npm install, potentially compromising any system where the package is installed. The package also silently redirects any captured errors to the attacker's Sentry endpoint if no other DSN is provided, further exfiltrating data.
AI Analysis
Technical Summary
The enbd-react-error-boundry package (version 6.0.0) is a malicious npm package published by the user 'click2ai' as part of a dependency confusion and reconnaissance campaign targeting organizations using an 'enbd' internal namespace. It contains a preinstall lifecycle script that runs automatically during npm install, which initializes the @sentry/node client with a hardcoded attacker-controlled Sentry DSN configured to send default PII. The script fetches the installing host's public IP from Cloudflare's /cdn-cgi/trace endpoint, attaches it along with other telemetry to a deliberately triggered exception, and flushes this event to the attacker's Sentry project. This allows the attacker to collect telemetry and identify successful installs by victim organization. Additionally, the package exports an init function that falls back to the same hardcoded DSN if no DSN is supplied, silently routing any captured errors and PII from the consumer to the attacker. The package name is a misspelling of the legitimate react-error-boundary package and does not provide the expected API, indicating its malicious intent. This package should be considered fully compromising any system where installed.
Potential Impact
Any system that installs or runs this package is considered fully compromised. The preinstall hook exfiltrates sensitive telemetry including public IP, hostname, OS username, and runtime metadata to an attacker-controlled Sentry project. The attacker can identify which organizations have installed the package via distinct Sentry project IDs. Furthermore, the package can silently redirect error telemetry from the consumer's environment to the attacker, leaking potentially sensitive information. Because the compromise occurs at install time, it can lead to unauthorized data disclosure and potential further system compromise. All secrets and keys on affected systems should be rotated immediately from a clean environment.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The recommended mitigation is to immediately remove the enbd-react-error-boundry package version 6.0.0 from all affected systems. Consider all systems with this package installed as fully compromised and rotate all secrets and credentials from a separate, secure environment. Review and correct any dependency resolution configurations to prevent dependency confusion attacks, ensuring private/internal packages are resolved correctly and not overridden by public packages. Monitor for any further suspicious packages mimicking internal namespaces.
Malicious code in enbd-react-error-boundry (npm)
Description
The enbd-react-error-boundry npm package is a malicious package published as part of a dependency confusion campaign. It mimics an internal package naming convention to trick misconfigured resolvers into installing it instead of the legitimate private package. The package executes a preinstall hook that collects host telemetry including public IP and PII, then sends this data to an attacker-controlled Sentry project. This behavior occurs automatically during npm install, potentially compromising any system where the package is installed. The package also silently redirects any captured errors to the attacker's Sentry endpoint if no other DSN is provided, further exfiltrating data.
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 enbd-react-error-boundry package (version 6.0.0) is a malicious npm package published by the user 'click2ai' as part of a dependency confusion and reconnaissance campaign targeting organizations using an 'enbd' internal namespace. It contains a preinstall lifecycle script that runs automatically during npm install, which initializes the @sentry/node client with a hardcoded attacker-controlled Sentry DSN configured to send default PII. The script fetches the installing host's public IP from Cloudflare's /cdn-cgi/trace endpoint, attaches it along with other telemetry to a deliberately triggered exception, and flushes this event to the attacker's Sentry project. This allows the attacker to collect telemetry and identify successful installs by victim organization. Additionally, the package exports an init function that falls back to the same hardcoded DSN if no DSN is supplied, silently routing any captured errors and PII from the consumer to the attacker. The package name is a misspelling of the legitimate react-error-boundary package and does not provide the expected API, indicating its malicious intent. This package should be considered fully compromising any system where installed.
Potential Impact
Any system that installs or runs this package is considered fully compromised. The preinstall hook exfiltrates sensitive telemetry including public IP, hostname, OS username, and runtime metadata to an attacker-controlled Sentry project. The attacker can identify which organizations have installed the package via distinct Sentry project IDs. Furthermore, the package can silently redirect error telemetry from the consumer's environment to the attacker, leaking potentially sensitive information. Because the compromise occurs at install time, it can lead to unauthorized data disclosure and potential further system compromise. All secrets and keys on affected systems should be rotated immediately from a clean environment.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The recommended mitigation is to immediately remove the enbd-react-error-boundry package version 6.0.0 from all affected systems. Consider all systems with this package installed as fully compromised and rotate all secrets and credentials from a separate, secure environment. Review and correct any dependency resolution configurations to prevent dependency confusion attacks, ensuring private/internal packages are resolved correctly and not overridden by public packages. Monitor for any further suspicious packages mimicking internal namespaces.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10229
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-jffm-72cc-xcwv"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff7168715ace432f231d
Added to database: 07/14/2026, 09:20:49 UTC
Last enriched: 07/14/2026, 09:38:11 UTC
Last updated: 07/25/2026, 22:15:16 UTC
Views: 13
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.