MAL-2026-6796: Malicious code in internallib_v234 (npm)
The npm package internallib_v234 versions 1.0.3 through 1.0.7 contains malicious code that executes a reverse shell to a hardcoded internal IP address when its exported command() function is invoked. This package mimics an internal library naming convention and declares itself as its own dependency, indicating a dependency confusion attack targeting organizations with a private internallib_v234 package. The malicious code checks for netcat availability before launching an interactive shell, potentially granting attackers remote control over the installer's machine.
AI Analysis
Technical Summary
The npm package internallib_v234 versions 1.0.3, 1.0.4, 1.0.5, 1.0.6, and 1.0.7 exports a command() function that unconditionally executes a reverse shell command using netcat to connect to a hardcoded RFC1918 IP address (10.0.74.133) on port 13337. Before launching the shell, it verifies netcat presence by running 'whereis nc'. The package exhibits dependency confusion characteristics by mimicking an internal library name, declaring itself as its own dependency, and referencing a private Verdaccio registry in CI configurations. This suggests a targeted attack aiming to trick organizations into installing this malicious public package instead of their internal one, resulting in remote shell access on the installer's host.
Potential Impact
If installed and the command() function is invoked, the malicious package opens an interactive reverse shell to an attacker-controlled internal IP address, potentially allowing unauthorized remote code execution and full control over the affected system. This compromises the confidentiality, integrity, and availability of the host machine. The attack relies on the presence of netcat and the invocation of the exported function, so impact depends on usage patterns within the targeted environment.
Mitigation Recommendations
No official patch or remediation is currently documented. Organizations should avoid installing or invoking the public internallib_v234 package versions 1.0.3 through 1.0.7. Verify and enforce usage of the legitimate internal package from private registries. Review CI configurations to prevent accidental installation from public npm registries. Monitor for unexpected network connections to internal IPs like 10.0.74.133 on port 13337. Patch status is not yet confirmed — check vendor advisories or trusted sources for updates.
MAL-2026-6796: Malicious code in internallib_v234 (npm)
Description
The npm package internallib_v234 versions 1.0.3 through 1.0.7 contains malicious code that executes a reverse shell to a hardcoded internal IP address when its exported command() function is invoked. This package mimics an internal library naming convention and declares itself as its own dependency, indicating a dependency confusion attack targeting organizations with a private internallib_v234 package. The malicious code checks for netcat availability before launching an interactive shell, potentially granting attackers remote control over the installer's machine.
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 npm package internallib_v234 versions 1.0.3, 1.0.4, 1.0.5, 1.0.6, and 1.0.7 exports a command() function that unconditionally executes a reverse shell command using netcat to connect to a hardcoded RFC1918 IP address (10.0.74.133) on port 13337. Before launching the shell, it verifies netcat presence by running 'whereis nc'. The package exhibits dependency confusion characteristics by mimicking an internal library name, declaring itself as its own dependency, and referencing a private Verdaccio registry in CI configurations. This suggests a targeted attack aiming to trick organizations into installing this malicious public package instead of their internal one, resulting in remote shell access on the installer's host.
Potential Impact
If installed and the command() function is invoked, the malicious package opens an interactive reverse shell to an attacker-controlled internal IP address, potentially allowing unauthorized remote code execution and full control over the affected system. This compromises the confidentiality, integrity, and availability of the host machine. The attack relies on the presence of netcat and the invocation of the exported function, so impact depends on usage patterns within the targeted environment.
Mitigation Recommendations
No official patch or remediation is currently documented. Organizations should avoid installing or invoking the public internallib_v234 package versions 1.0.3 through 1.0.7. Verify and enforce usage of the legitimate internal package from private registries. Review CI configurations to prevent accidental installation from public npm registries. Monitor for unexpected network connections to internal IPs like 10.0.74.133 on port 13337. Patch status is not yet confirmed — check vendor advisories or trusted sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6796
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c346b27e9c79719601cc0
Added to database: 07/06/2026, 23:04:11 UTC
Last enriched: 07/06/2026, 23:23:25 UTC
Last updated: 07/07/2026, 00:48:00 UTC
Views: 3
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.