Malicious code in @idms-corp/auth-ui (npm)
The @idms-corp/auth-ui npm package is a malicious package published as part of a dependency confusion attack. It impersonates an internal package namespace to trick misconfigured resolvers into installing it instead of the legitimate private package. During installation, it executes a preinstall hook that collects the host's public IP and system metadata, then sends this information to an attacker-controlled Sentry endpoint. Additionally, the package silently routes error telemetry from consuming applications to the attacker's Sentry project if no explicit DSN is provided. This behavior constitutes reconnaissance and potential data exfiltration. The package versions 0.0.0 and 1.0.0 are affected. Any system with this package installed should be considered compromised.
AI Analysis
Technical Summary
The @idms-corp/auth-ui package published on npm by user 'click2ai' is a malicious package designed for dependency confusion reconnaissance. It mimics an internal organizational package namespace to be installed mistakenly by misconfigured package resolvers. The package declares a preinstall hook that runs a script initializing the @sentry/node client with a hardcoded attacker-controlled DSN, enabling the collection and exfiltration of the installer's public IP address and default personally identifiable information (PII) such as hostname, OS username, and runtime metadata. This data is sent to the attacker's Sentry project endpoint. The package also includes a fallback DSN that causes any consuming application calling init() without specifying a DSN to send error telemetry to the attacker. The package contains no legitimate authentication or UI functionality despite its name and scope. Versions 0.0.0 and 1.0.0 are affected. The malicious behavior enables attribution of successful installs to specific victim organizations and potential compromise of sensitive host information.
Potential Impact
Installation of this package results in the exfiltration of the host's public IP address and default PII to an attacker-controlled Sentry endpoint. Additionally, applications using this package without specifying their own DSN may unknowingly send error and environment telemetry, including stack traces and request data, to the attacker. This compromises confidentiality and privacy of the affected systems. The presence of this package indicates a successful dependency confusion attack, and any system with it installed should be considered fully compromised. Secrets and keys on the system should be rotated immediately from a different, trusted machine.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The primary mitigation is to remove the package immediately from all affected systems. Given the nature of the compromise, it is critical to consider the affected systems fully compromised and rotate all secrets and credentials from a secure environment. Organizations should audit their package resolution configurations to prevent dependency confusion attacks by ensuring private packages are resolved correctly and not overridden by public packages with similar names. Monitoring and blocking suspicious packages published under internal namespace impersonations is recommended.
Malicious code in @idms-corp/auth-ui (npm)
Description
The @idms-corp/auth-ui npm package is a malicious package published as part of a dependency confusion attack. It impersonates an internal package namespace to trick misconfigured resolvers into installing it instead of the legitimate private package. During installation, it executes a preinstall hook that collects the host's public IP and system metadata, then sends this information to an attacker-controlled Sentry endpoint. Additionally, the package silently routes error telemetry from consuming applications to the attacker's Sentry project if no explicit DSN is provided. This behavior constitutes reconnaissance and potential data exfiltration. The package versions 0.0.0 and 1.0.0 are affected. Any system with this package installed should be considered 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 @idms-corp/auth-ui package published on npm by user 'click2ai' is a malicious package designed for dependency confusion reconnaissance. It mimics an internal organizational package namespace to be installed mistakenly by misconfigured package resolvers. The package declares a preinstall hook that runs a script initializing the @sentry/node client with a hardcoded attacker-controlled DSN, enabling the collection and exfiltration of the installer's public IP address and default personally identifiable information (PII) such as hostname, OS username, and runtime metadata. This data is sent to the attacker's Sentry project endpoint. The package also includes a fallback DSN that causes any consuming application calling init() without specifying a DSN to send error telemetry to the attacker. The package contains no legitimate authentication or UI functionality despite its name and scope. Versions 0.0.0 and 1.0.0 are affected. The malicious behavior enables attribution of successful installs to specific victim organizations and potential compromise of sensitive host information.
Potential Impact
Installation of this package results in the exfiltration of the host's public IP address and default PII to an attacker-controlled Sentry endpoint. Additionally, applications using this package without specifying their own DSN may unknowingly send error and environment telemetry, including stack traces and request data, to the attacker. This compromises confidentiality and privacy of the affected systems. The presence of this package indicates a successful dependency confusion attack, and any system with it installed should be considered fully compromised. Secrets and keys on the system should be rotated immediately from a different, trusted machine.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The primary mitigation is to remove the package immediately from all affected systems. Given the nature of the compromise, it is critical to consider the affected systems fully compromised and rotate all secrets and credentials from a secure environment. Organizations should audit their package resolution configurations to prevent dependency confusion attacks by ensuring private packages are resolved correctly and not overridden by public packages with similar names. Monitoring and blocking suspicious packages published under internal namespace impersonations is recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10224
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-33w2-g8q6-86xm"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff7768715ace432f2622
Added to database: 07/14/2026, 09:20:55 UTC
Last enriched: 07/14/2026, 09:39:01 UTC
Last updated: 07/18/2026, 17:27:20 UTC
Views: 2
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.
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.