Malicious code in cbr-internal-utils (npm)
The npm package 'cbr-internal-utils' version 2.2.2 contains malicious code that executes a shell command to read the /etc/passwd file on the host system whenever the package is required. This behavior occurs unconditionally without any user action or configuration. The package's metadata is minimal and suspicious, indicating it may be a dependency-confusion or reconnaissance payload rather than a legitimate library.
AI Analysis
Technical Summary
The 'cbr-internal-utils' npm package at version 2.2.2 includes malicious code that, upon loading, uses child_process.exec to run 'cat /etc/passwd' and outputs the contents to stdout. This occurs automatically when any consumer requires the package, with no user interaction needed. The package's internal-sounding name and empty author and description fields suggest it is designed for reconnaissance or dependency confusion attacks rather than legitimate use. The reading of /etc/passwd serves no functional purpose for a library and exposes local user account information on the host.
Potential Impact
The malicious code exposes local user account information by reading and printing the /etc/passwd file on the host system. This can aid attackers in reconnaissance activities, potentially facilitating further attacks or privilege escalation. There is no indication of additional payloads or direct exploitation beyond information disclosure. No known exploits in the wild have been reported.
Mitigation Recommendations
No official patch or remediation is currently available for this package version. Users should avoid using 'cbr-internal-utils' version 2.2.2 and remove it from their dependencies if present. Verify the integrity and provenance of npm packages before installation to prevent dependency confusion or supply chain attacks. Monitor for updates or advisories from the package maintainers or npm registry regarding this package.
Malicious code in cbr-internal-utils (npm)
Description
The npm package 'cbr-internal-utils' version 2.2.2 contains malicious code that executes a shell command to read the /etc/passwd file on the host system whenever the package is required. This behavior occurs unconditionally without any user action or configuration. The package's metadata is minimal and suspicious, indicating it may be a dependency-confusion or reconnaissance payload rather than a legitimate library.
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 'cbr-internal-utils' npm package at version 2.2.2 includes malicious code that, upon loading, uses child_process.exec to run 'cat /etc/passwd' and outputs the contents to stdout. This occurs automatically when any consumer requires the package, with no user interaction needed. The package's internal-sounding name and empty author and description fields suggest it is designed for reconnaissance or dependency confusion attacks rather than legitimate use. The reading of /etc/passwd serves no functional purpose for a library and exposes local user account information on the host.
Potential Impact
The malicious code exposes local user account information by reading and printing the /etc/passwd file on the host system. This can aid attackers in reconnaissance activities, potentially facilitating further attacks or privilege escalation. There is no indication of additional payloads or direct exploitation beyond information disclosure. No known exploits in the wild have been reported.
Mitigation Recommendations
No official patch or remediation is currently available for this package version. Users should avoid using 'cbr-internal-utils' version 2.2.2 and remove it from their dependencies if present. Verify the integrity and provenance of npm packages before installation to prevent dependency confusion or supply chain attacks. Monitor for updates or advisories from the package maintainers or npm registry regarding this package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10530
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff6468715ace432f1b8e
Added to database: 07/14/2026, 09:20:36 UTC
Last enriched: 07/14/2026, 09:32:52 UTC
Last updated: 07/28/2026, 16:53:26 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.