OSV Malicious Advisory
scanned 4h ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-6675 confirms this npm version as malicious. rs-biginteger ships a verbatim copy of MikeMcl/big.js source, README, copyright header, and repository URL, but is published under a different name. Both entry points (big.js and big.mjs) contain an injected top-level try/catch that calls require('ts-lint-builders') and immediately invokes doc.from_str(), with all errors silently swallowed...
Advisory
MAL-2026-6675
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in rs-biginteger (npm)
Details
rs-biginteger ships a verbatim copy of MikeMcl/big.js source, README, copyright header, and repository URL, but is published under a different name. Both entry points (big.js and big.mjs) contain an injected top-level try/catch that calls require('ts-lint-builders') and immediately invokes doc.from_str(), with all errors silently swallowed. This fires on every consumer require()/import of the package, handing execution to an external module. The package.json declares 'ts-linting-builder' (^2.1.2) as a dependency — a name that does not match the string actually require()'d, further obscuring the relationship and ensuring the resolved module identity is opaque to anyone reading dependencies. The big.js impersonation (name, author metadata, README, repository field still pointing at MikeMcl/big.js) functions as the lure that delivers the import-time dropper to consumers who expected an inert arbitrary-precision arithmetic library.
## Source: ghsa-malware (c4c6d1869f82f8162a8219a520ad9e885e55e925ee006a503f657083120c78ee) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Decision reason
OpenSSF Malicious Packages via OSV confirms rs-biginteger@6.1.5 as malicious (MAL-2026-6675): Malicious code in rs-biginteger (npm)
References
Source & flagged code
0 flaggedNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory