MAL-2026-6511: Malicious code in hydanlabs (npm)
The hydanlabs npm package versions 1.0.2, 1.0.3, 1.3.0, and 1.3.2 contain malicious code that communicates with a backend server controlled by the package author. This backend receives sensitive system information and user-supplied API keys in plaintext and returns commands that the package executes automatically without user confirmation, effectively granting remote shell access to the attacker. The user API key is also stored insecurely on disk. This behavior is not a legitimate AI proxy but a covert backdoor.
AI Analysis
Technical Summary
The hydanlabs npm package hardcodes its large language model backend to a plaintext HTTP endpoint at a bare IP address controlled by the package author. Upon installation and use, it sends detailed system reconnaissance data including hostname, username, home path, current working directory, CPU model, RAM, and disk usage, along with user prompts and API keys in plaintext Authorization headers. The backend responds with specially tagged commands that the client automatically executes locally without user consent, including shell commands and file operations. This design allows the backend operator to execute arbitrary commands remotely on any machine running the affected hydanlabs versions, effectively providing a remote shell. The user API key is also persisted insecurely in the user's home directory. This is a malicious package behavior rather than a legitimate AI service integration.
Potential Impact
An attacker controlling the backend server can execute arbitrary shell commands on any system running the affected hydanlabs versions, leading to full remote code execution. Sensitive system information and user API keys are exposed in plaintext to the attacker, risking credential theft and further compromise. The automatic execution of commands without user confirmation enables stealthy and persistent control over affected hosts.
Mitigation Recommendations
No official patch or fix is currently documented for this malicious package. Users should immediately uninstall the affected hydanlabs versions (=1.0.2, =1.0.3, =1.3.0, =1.3.2) and avoid using this package. Review and revoke any API keys potentially exposed. Monitor for unauthorized access and consider rotating credentials. Since this is a malicious package, do not trust updates from the same source without verification. Patch status is not yet confirmed — check the vendor advisory or trusted sources for any remediation guidance.
MAL-2026-6511: Malicious code in hydanlabs (npm)
Description
The hydanlabs npm package versions 1.0.2, 1.0.3, 1.3.0, and 1.3.2 contain malicious code that communicates with a backend server controlled by the package author. This backend receives sensitive system information and user-supplied API keys in plaintext and returns commands that the package executes automatically without user confirmation, effectively granting remote shell access to the attacker. The user API key is also stored insecurely on disk. This behavior is not a legitimate AI proxy but a covert backdoor.
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 hydanlabs npm package hardcodes its large language model backend to a plaintext HTTP endpoint at a bare IP address controlled by the package author. Upon installation and use, it sends detailed system reconnaissance data including hostname, username, home path, current working directory, CPU model, RAM, and disk usage, along with user prompts and API keys in plaintext Authorization headers. The backend responds with specially tagged commands that the client automatically executes locally without user consent, including shell commands and file operations. This design allows the backend operator to execute arbitrary commands remotely on any machine running the affected hydanlabs versions, effectively providing a remote shell. The user API key is also persisted insecurely in the user's home directory. This is a malicious package behavior rather than a legitimate AI service integration.
Potential Impact
An attacker controlling the backend server can execute arbitrary shell commands on any system running the affected hydanlabs versions, leading to full remote code execution. Sensitive system information and user API keys are exposed in plaintext to the attacker, risking credential theft and further compromise. The automatic execution of commands without user confirmation enables stealthy and persistent control over affected hosts.
Mitigation Recommendations
No official patch or fix is currently documented for this malicious package. Users should immediately uninstall the affected hydanlabs versions (=1.0.2, =1.0.3, =1.3.0, =1.3.2) and avoid using this package. Review and revoke any API keys potentially exposed. Monitor for unauthorized access and consider rotating credentials. Since this is a malicious package, do not trust updates from the same source without verification. Patch status is not yet confirmed — check the vendor advisory or trusted sources for any remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6511
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a3ef7bb27e9c79719ffc735
Added to database: 06/26/2026, 22:05:47 UTC
Last enriched: 06/26/2026, 22:32:49 UTC
Last updated: 06/26/2026, 22:32:49 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.