Malicious code in big-tss (npm)
The npm package [email protected] impersonates the legitimate big.js library but contains injected malicious code that silently executes a third-party module named npm-doc-dev when imported. This trojan-dropper behavior allows arbitrary code execution on the machine of anyone importing the package. The package.json declares a different dependency (npm-dc-dev) than the one actually required (npm-doc-dev), obscuring the malicious activity. The injected code is wrapped in a try/catch block that suppresses errors, making detection difficult.
AI Analysis
Technical Summary
big-tss version 5.0.5 is a malicious npm package impersonating the popular big.js arbitrary-precision math library. It includes an injected code block at the top of its main module that synchronously requires and executes code from a third-party package named npm-doc-dev, which is not declared in its package.json (which instead declares npm-dc-dev). This discrepancy and the silent failure handling form a trojan-dropper pattern, enabling arbitrary code execution on any system that imports [email protected]. This behavior is designed to evade detection by hiding the actual dependency and suppressing errors during module loading.
Potential Impact
Any user or system importing [email protected] will execute arbitrary code from the npm-doc-dev package without their knowledge, potentially compromising the security and integrity of the environment. This can lead to unauthorized actions or persistence of malicious code on the affected machine. The malicious code is executed synchronously upon import, increasing the risk of immediate compromise.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or importing [email protected]. Verify dependencies carefully and prefer the legitimate big.js package. Monitor for updates from the package maintainers or npm security advisories for any official fixes or removals. Since this is a malicious package impersonation, removing the package and replacing it with the correct library is recommended.
Malicious code in big-tss (npm)
Description
The npm package [email protected] impersonates the legitimate big.js library but contains injected malicious code that silently executes a third-party module named npm-doc-dev when imported. This trojan-dropper behavior allows arbitrary code execution on the machine of anyone importing the package. The package.json declares a different dependency (npm-dc-dev) than the one actually required (npm-doc-dev), obscuring the malicious activity. The injected code is wrapped in a try/catch block that suppresses errors, making detection difficult.
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
big-tss version 5.0.5 is a malicious npm package impersonating the popular big.js arbitrary-precision math library. It includes an injected code block at the top of its main module that synchronously requires and executes code from a third-party package named npm-doc-dev, which is not declared in its package.json (which instead declares npm-dc-dev). This discrepancy and the silent failure handling form a trojan-dropper pattern, enabling arbitrary code execution on any system that imports [email protected]. This behavior is designed to evade detection by hiding the actual dependency and suppressing errors during module loading.
Potential Impact
Any user or system importing [email protected] will execute arbitrary code from the npm-doc-dev package without their knowledge, potentially compromising the security and integrity of the environment. This can lead to unauthorized actions or persistence of malicious code on the affected machine. The malicious code is executed synchronously upon import, increasing the risk of immediate compromise.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or importing [email protected]. Verify dependencies carefully and prefer the legitimate big.js package. Monitor for updates from the package maintainers or npm security advisories for any official fixes or removals. Since this is a malicious package impersonation, removing the package and replacing it with the correct library is recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13613
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a77434bbf8831d539b4809f
Added to database: 08/08/2026, 14:55:07 UTC
Last enriched: 08/08/2026, 15:45:17 UTC
Last updated: 08/08/2026, 15:56:55 UTC
Views: 5
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.