MAL-2026-3750

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bigint.fs/MAL-2026-3750.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-3750
Aliases
  • GHSA-pcvf-7w5m-j39j
Published
2026-05-14T19:24:52Z
Modified
2026-07-06T19:01:48.796952241Z
Summary
Malicious code in bigint.fs (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (cb3e0cb5c95475ce69c3672be6acfb9283bc6e29a1d7ba7452c922e7dc96a966)

On require()/import, index.js runs an IIFE that POSTs a getAccountInfo RPC call to https://api.devnet.solana.com for Solana account 4WF8QCFEnVD7BLs3QAVe2SjxRZ4n3EboCsdhj363VAqZ, base64-decodes the returned account data, reads a length prefix at offset 32, extracts the payload bytes at offset 36, and passes the resulting UTF-8 source to new Function('require','module','exports', src) — executing arbitrary JavaScript with the full privileges of the importing Node.js process. The payload is mutable (the attacker can rewrite the on-chain account data at any time), unpinned, not hash- or signature-verified, and delivered from infrastructure the attacker controls. The use of a public blockchain RPC endpoint as a C2 channel is designed to evade simple domain/IP blocking while remaining fully attacker-rewritable. The package name masquerades as a BigInt/filesystem utility; there is no legitimate reason for such a library to fetch and eval remote code on load.

Source: ghsa-malware (b67cb388cf855ef52b8e274269861017bb7ce33349b187cd41ba2ff553ecb320)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-05-15T07:37:15.586875521Z",
            "source": "amazon-inspector",
            "modified_time": "2026-05-14T19:24:52Z",
            "sha256": "cb3e0cb5c95475ce69c3672be6acfb9283bc6e29a1d7ba7452c922e7dc96a966",
            "id": "IN-MAL-2026-002659",
            "versions": [
                "5.0.6"
            ]
        },
        {
            "import_time": "2026-07-06T18:54:03.608271043Z",
            "source": "ghsa-malware",
            "modified_time": "2026-07-06T18:50:35Z",
            "sha256": "b67cb388cf855ef52b8e274269861017bb7ce33349b187cd41ba2ff553ecb320",
            "id": "GHSA-pcvf-7w5m-j39j",
            "versions": [
                "5.0.6",
                "5.0.5"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bigint.fs

Package

Affected ranges

Affected versions

5.*
5.0.5
5.0.6

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bigint.fs/MAL-2026-3750.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "bcfb01ee49200436ae27674b4294a5658ddfa08862e2808051648db5f200e16f",
            "tlsh": "a211485f023714370bbe90b21722600bd585936f200084a67f3c92950f7dc4885d2adc",
            "path": "index.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "bigint.fs-5.0.6.tgz",
            "hashes": {
                "sha1": "09322d3bb2d0b2ca9b3f63fdeebb36263a4457b6",
                "sha512_sri": "sha512-bAKXOuUexxw/2RB8YMriQuJN9mR77HQzRgcCv/RK2aF6n4E5Glsa6/40D1Ls20ZsfoToywY4GYL8sjrpWMq98A=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]