Malicious code in big-tss (npm)
The npm package [email protected] impersonates the popular big.js library but contains malicious code that silently loads and executes a third-party package named npm-doc-dev when imported. This behavior is hidden by a try/catch block that suppresses errors, and the declared dependency (npm-dc-dev) differs from the actually required package, forming a trojan-dropper pattern. This results in arbitrary code execution on the machine of anyone importing [email protected].
AI Analysis
Technical Summary
[email protected] is a malicious npm package that mimics the legitimate big.js arbitrary-precision math library. It injects a code block at the top of its main module that attempts to require and execute code from a third-party package named npm-doc-dev. The package.json declares a dependency on npm-dc-dev, which differs from the required npm-doc-dev, causing a discrepancy in the dependency tree. The injected code is wrapped in a try/catch block that suppresses any errors, allowing the malicious code to execute silently upon import. This trojan-dropper pattern enables arbitrary code execution on the installer's machine whenever the package is imported.
Potential Impact
Any user who imports [email protected] will have arbitrary code from the third-party npm-doc-dev package executed on their machine without their knowledge. This can lead to compromise of the development environment, potential data theft, or further malware deployment. The malicious behavior is stealthy due to error suppression and dependency name obfuscation.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or importing [email protected]. Verify package authenticity before use and prefer the legitimate big.js library. Monitor for updates from the package maintainers or npm security advisories for any official fixes or removal actions. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Malicious code in big-tss (npm)
Description
The npm package [email protected] impersonates the popular big.js library but contains malicious code that silently loads and executes a third-party package named npm-doc-dev when imported. This behavior is hidden by a try/catch block that suppresses errors, and the declared dependency (npm-dc-dev) differs from the actually required package, forming a trojan-dropper pattern. This results in arbitrary code execution on the machine of anyone importing [email protected].
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
[email protected] is a malicious npm package that mimics the legitimate big.js arbitrary-precision math library. It injects a code block at the top of its main module that attempts to require and execute code from a third-party package named npm-doc-dev. The package.json declares a dependency on npm-dc-dev, which differs from the required npm-doc-dev, causing a discrepancy in the dependency tree. The injected code is wrapped in a try/catch block that suppresses any errors, allowing the malicious code to execute silently upon import. This trojan-dropper pattern enables arbitrary code execution on the installer's machine whenever the package is imported.
Potential Impact
Any user who imports [email protected] will have arbitrary code from the third-party npm-doc-dev package executed on their machine without their knowledge. This can lead to compromise of the development environment, potential data theft, or further malware deployment. The malicious behavior is stealthy due to error suppression and dependency name obfuscation.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or importing [email protected]. Verify package authenticity before use and prefer the legitimate big.js library. Monitor for updates from the package maintainers or npm security advisories for any official fixes or removal actions. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13613
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a77434bbf8831d539b4809f
Added to database: 08/08/2026, 14:55:07 UTC
Last enriched: 08/19/2026, 16:40:29 UTC
Last updated: 09/22/2026, 19:08:12 UTC
Views: 77
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.