unbig.js@6.2.13
Malicious code in unbig.js (npm)
Analysis
`unbig.js` is a combosquat of the widely used `big.js` library: its name is the real `big.js` with an `un` prefix added, and its `package.json` still carries the upstream project's author email ([account]), `github[.]com/MikeMcl/big.js` repository/bugs URLs and opencollective funding link, while being published under a different account. The shipped JavaScript (`big.js`, `big.mjs`) is a verbatim clone of upstream big.js 6.2.1 with no lifecycle scripts, no bin entries and no network, process-execution or environment access — the code itself is clean. The payload is instead hidden in the manifest: an injected `config` block containing 14 base64 blobs under `config.tags` and one 128-character base64 blob under `config.cmds`, for example the `cmds` value `zPKEHjYV3HWi30hBCovzECnvnxDJedzD6N5x6H/zUl6yayKoq55dg2pSUvDehdGaaHAWqyrVJLNrTJDpkry3pvblhxKmAQ7bLicxqjWCsl2VqAUqWU4tRYHvzCwQDYdb` and tag entries such as `gGOQNDZqAiKnGXuXMHYCQB7Uu/KJV/pydDJUSLJewhI=` (several tag entries share the identical 16-byte tail `Tat92qTJb5hF0OTu0CoVk=`, consistent with a shared key or IV). No file in the tarball references these values, so they are inert as distributed: the package is a staging container for encoded content, not a self-executing installer in this version. No network IOCs are present in the package.
- analyzed by
- Leitwacht
- first seen
- Oct 28, 2026, 10:20 AM
- analyzed
- Oct 28, 2026, 10:22 AM
Related advisories
- unbig.js@6.2.12 same package
- dsh-plugin-blender-3d@0.2.1
- @tjmlgd/svg@1.0.5
- @chatunitycenter/baileys@1.0.0
- @polymarkets/clob-client-v2@1.0.2
- @polymarkets/clob-client-v2@1.0.3
- @polymarkets/clob-client-v2@1.0.5
- solidity-map@2.21.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.