unbig.js@6.2.17
Malicious code in unbig.js (npm)
Analysis
This package impersonates the widely used arbitrary-precision arithmetic library big.js: it ships a verbatim copy of big.js v6.2.1 source (big.js, big.mjs) under the combosquat name "unbig.js", while its package.json copies the upstream project's identity — author "Michael Mclaughlin", repository github[.]com/MikeMcl/big.js, homepage, bugs URL, keywords and MIT licence — although the package is a distinct name published under a maintainer entry unrelated to that author. The clone is accompanied by attacker-authored metadata absent from upstream: a package.json config block with thirteen base64-encoded values in config.tags and a further base64 value in config.cmds, which no code in the package reads. In this version the shipped JavaScript itself contains no install or lifecycle hook, no child_process/exec, no eval/Function/atob decoding, no environment or credential reads, and no network requests; there is no C2 host or exfiltration URL to report here. The behaviour to act on is the deceptive packaging: a lookalike of big.js carrying copied upstream metadata plus unexplained encoded configuration, published under a name already used to distribute malicious content, so any project that resolves this name instead of the real big.js may later receive attacker-controlled code. Reviewers should pin to the genuine big.js package and compare earlier unbig.js versions to recover the payload previously delivered through this name.
- analyzed by
- Leitwacht
- first seen
- Nov 24, 2026, 08:06 AM
- analyzed
- Nov 24, 2026, 08:07 AM
- weekly installs
- 1,362
hxxps://github[.]com/MikeMcl/big.js Request takedown / dispute →Related advisories
- unbig.js@6.2.16 same package
- unbig.js@6.2.15 same package
- unbig.js@6.2.13 same package
- unbig.js@6.2.12 same package
- clampony@1.0.11
- zod-msg-tools@0.1.4
- clampony@1.0.9
- clampony@1.0.10
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.