Malicious code in @gbrlxvi/ts-form-utils (npm)
The npm package @gbrlxvi/ts-form-utils contains malicious code that executes a hidden, encrypted payload when imported in certain sandbox or AI-agent environments. It detects specific host signals and silently decrypts and runs attacker-controlled code with full host process privileges. This behavior is designed to evade detection and targets CI/sandbox environments while appearing benign on developer machines. Any system with this package installed should be considered fully compromised.
AI Analysis
Technical Summary
The @gbrlxvi/ts-form-utils npm package advertises trivial form-validation helpers but includes a malicious dropper payload. Upon requiring or importing the main module, it checks for environment indicators such as hostnames containing 'devbox' or 'ubuntu-fc-uvm', the presence of a .git directory, or the JULES_SESSION_ID environment variable. If matched, it reads an encrypted 11KB AES-256-CBC blob from a hidden file, decrypts it using a hardcoded key split across hex fragments, and executes the decrypted code via a dynamically constructed function. The code uses string concatenation to evade static analysis and is wrapped in a try-catch block to silently fail if errors occur. This mechanism allows attacker-controlled code execution with full privileges in sandboxed or AI-agent environments, effectively compromising the host.
Potential Impact
Any computer that has this package installed or running is considered fully compromised. The malicious code executes with the full privileges of the host process, potentially allowing complete control over the system. All secrets and keys stored on the compromised computer should be considered exposed and must be rotated immediately from a different, trusted machine. Removal of the package alone does not guarantee eradication of all malicious artifacts or persistence mechanisms.
Mitigation Recommendations
No official patch or fix is currently available. Immediate removal of the @gbrlxvi/ts-form-utils package from all affected systems is strongly recommended. Due to the high likelihood of full system compromise, all credentials, secrets, and keys stored on the affected machines should be rotated from a secure environment. Conduct a thorough incident response to identify and remediate any additional malicious software or persistence established by the attacker. Monitor for any signs of compromise in related environments.
Malicious code in @gbrlxvi/ts-form-utils (npm)
Description
The npm package @gbrlxvi/ts-form-utils contains malicious code that executes a hidden, encrypted payload when imported in certain sandbox or AI-agent environments. It detects specific host signals and silently decrypts and runs attacker-controlled code with full host process privileges. This behavior is designed to evade detection and targets CI/sandbox environments while appearing benign on developer machines. Any system with this package installed should be considered fully 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 @gbrlxvi/ts-form-utils npm package advertises trivial form-validation helpers but includes a malicious dropper payload. Upon requiring or importing the main module, it checks for environment indicators such as hostnames containing 'devbox' or 'ubuntu-fc-uvm', the presence of a .git directory, or the JULES_SESSION_ID environment variable. If matched, it reads an encrypted 11KB AES-256-CBC blob from a hidden file, decrypts it using a hardcoded key split across hex fragments, and executes the decrypted code via a dynamically constructed function. The code uses string concatenation to evade static analysis and is wrapped in a try-catch block to silently fail if errors occur. This mechanism allows attacker-controlled code execution with full privileges in sandboxed or AI-agent environments, effectively compromising the host.
Potential Impact
Any computer that has this package installed or running is considered fully compromised. The malicious code executes with the full privileges of the host process, potentially allowing complete control over the system. All secrets and keys stored on the compromised computer should be considered exposed and must be rotated immediately from a different, trusted machine. Removal of the package alone does not guarantee eradication of all malicious artifacts or persistence mechanisms.
Mitigation Recommendations
No official patch or fix is currently available. Immediate removal of the @gbrlxvi/ts-form-utils package from all affected systems is strongly recommended. Due to the high likelihood of full system compromise, all credentials, secrets, and keys stored on the affected machines should be rotated from a secure environment. Conduct a thorough incident response to identify and remediate any additional malicious software or persistence established by the attacker. Monitor for any signs of compromise in related environments.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5753
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-587p-qfc4-5c3c"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7f43f1bf8831d5395d76c8
Added to database: 08/14/2026, 16:36:01 UTC
Last enriched: 08/14/2026, 16:49:49 UTC
Last updated: 08/14/2026, 16:49: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.