mjs-biginteger@5.0.6
Malicious code in mjs-biginteger (npm)
Analysis
index.js is a blockchain dead-drop loader that runs on import. It POSTs a Solana JSON-RPC getAccountInfo request to hxxps://api[.]devnet[.]solana[.]com for account 4WF8QCFEnVD7BLs3QAVe2SjxRZ4n3EboCsdhj363VAqZ (encoding base64, commitment processed), then parses the returned account data as a length-prefixed blob: it reads a uint32 length at byte offset 32 and slices the UTF-8 payload from offset 36 for that length. The extracted string is executed as JavaScript via new Function("require","module","exports", code)(require, module, module.exports), giving the attacker remote code execution with the payload stored (and updatable) on-chain. IOCs: Solana devnet RPC endpoint api[.]devnet[.]solana[.]com and dead-drop account 4WF8QCFEnVD7BLs3QAVe2SjxRZ4n3EboCsdhj363VAqZ.
- analyzed by
- Leitwacht
- first seen
- Jun 10, 2026, 06:07 PM
- analyzed
- Jun 10, 2026, 06:07 PM
Related advisories
- vite-config-optimizer@1.1.4
- bigops-chat-transfer@35.3.6
- tinkoff-statist-browser-typed-client-coretech.statist.mobile.ci@20.1.2
- twork-products-taiga2-products-timeline@20.6.1
- beaver-ui-actions-button@5.4.7
- fdd41@1.0.0
- axios-native@1.16.3
- @immobiliarelabs/backstage-plugin-gitlab-backend@3.0.3
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.