unbig.js@6.2.16
Malicious code in unbig.js (npm)
Analysis
unbig.js versions are combosquats of the widely used big.js arbitrary-precision arithmetic library: the tarball reproduces upstream big.js 6.2.1 files byte-for-byte (package/big.js, package/big.mjs, README.md, LICENCE.md) and copies the upstream description, keywords, repository link and author, while version 6.2.16 claims to be 6.2.16 of a project whose shipped source header reads v6.2.1. The package.json carries a non-upstream "config" block holding base64-encoded blobs — 13 short encoded values under config.tags and one 120-character encoded string under config.cmds — staged payload material that the cloned arithmetic library never reads and that has no legitimate place in the package. The library source itself contains no network, child-process, eval or dynamic-require access, and package.json declares no install hook, so the encoded strings are not executed by this tarball alone; they are the hidden carrier of a payload whose decoder is not included. Anyone depending on this name is installing an unmodified copy of someone else's library plus concealed encoded data under a name chosen to look like a related project. No network IOC (host, IP, URL) appears in this package; the indicator is the injected config.tags / config.cmds base64 blobs in package.json.
- analyzed by
- Leitwacht
- first seen
- Nov 24, 2026, 03:51 AM
- analyzed
- Nov 24, 2026, 03:52 AM
- weekly installs
- 1,362
hxxps://github[.]com/MikeMcl/big.js Request takedown / dispute →Related advisories
- unbig.js@6.2.17 same package
- unbig.js@6.2.15 same package
- unbig.js@6.2.13 same package
- unbig.js@6.2.12 same package
- combined-baileys@1.0.0
- @zervonex/baileys@4.0.9-patch.1
- @kingorwot/my-baileys@3.0.0
- @xz-bails/baileys@6.0.11
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.