Malicious code in ts-big-ecro (npm)
The ts-big-ecro npm package is a malicious typosquatting clone of the legitimate big.js library. It impersonates the original by copying its code and metadata but injects attacker-controlled code that executes on every import or require. This code loads an undeclared and suspicious dependency, parket-helper, which can execute arbitrary code. The package's declared dependency server-parket is unrelated to its stated purpose, indicating a dependency-confusion trojan-loader pattern. Installing or running this package compromises the host system, potentially exposing all stored secrets and keys.
AI Analysis
Technical Summary
ts-big-ecro is a malicious npm package that mimics the legitimate big.js library (version 7.0.1) by copying its code and metadata to deceive users. It includes an attacker-inserted code block that runs at import time, which attempts to load an undeclared module named parket-helper. This module is unrelated to the package's stated functionality and is not documented, indicating malicious intent. The package also declares a suspicious dependency, server-parket, unrelated to arbitrary-precision arithmetic, reinforcing the trojan-loader pattern typical of dependency confusion attacks. Any system that installs or runs ts-big-ecro executes attacker-controlled code, leading to full system compromise.
Potential Impact
Any computer with ts-big-ecro installed or running is considered fully compromised. The attacker-controlled code executes during package import, potentially allowing arbitrary code execution. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure environment. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors introduced by the attacker.
Mitigation Recommendations
No official patch or fix is available for ts-big-ecro as it is a malicious package rather than a vulnerability in legitimate software. The recommended mitigation is to immediately remove the ts-big-ecro package from all systems. Rotate all secrets, keys, and credentials that were stored or used on any affected system from a trusted, uncompromised environment. Audit systems for signs of further compromise or persistence mechanisms. Avoid installing packages from untrusted or suspicious sources and verify package authenticity before use.
Malicious code in ts-big-ecro (npm)
Description
The ts-big-ecro npm package is a malicious typosquatting clone of the legitimate big.js library. It impersonates the original by copying its code and metadata but injects attacker-controlled code that executes on every import or require. This code loads an undeclared and suspicious dependency, parket-helper, which can execute arbitrary code. The package's declared dependency server-parket is unrelated to its stated purpose, indicating a dependency-confusion trojan-loader pattern. Installing or running this package compromises the host system, potentially exposing all stored secrets and keys.
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
ts-big-ecro is a malicious npm package that mimics the legitimate big.js library (version 7.0.1) by copying its code and metadata to deceive users. It includes an attacker-inserted code block that runs at import time, which attempts to load an undeclared module named parket-helper. This module is unrelated to the package's stated functionality and is not documented, indicating malicious intent. The package also declares a suspicious dependency, server-parket, unrelated to arbitrary-precision arithmetic, reinforcing the trojan-loader pattern typical of dependency confusion attacks. Any system that installs or runs ts-big-ecro executes attacker-controlled code, leading to full system compromise.
Potential Impact
Any computer with ts-big-ecro installed or running is considered fully compromised. The attacker-controlled code executes during package import, potentially allowing arbitrary code execution. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure environment. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors introduced by the attacker.
Mitigation Recommendations
No official patch or fix is available for ts-big-ecro as it is a malicious package rather than a vulnerability in legitimate software. The recommended mitigation is to immediately remove the ts-big-ecro package from all systems. Rotate all secrets, keys, and credentials that were stored or used on any affected system from a trusted, uncompromised environment. Audit systems for signs of further compromise or persistence mechanisms. Avoid installing packages from untrusted or suspicious sources and verify package authenticity before use.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6199
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-3cg2-mrw5-67r6"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4f6c6768715ace4315a3ff
Added to database: 07/09/2026, 09:39:51 UTC
Last enriched: 07/09/2026, 10:05:00 UTC
Last updated: 07/29/2026, 17:46:57 UTC
Views: 6
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.