MAL-2026-15851

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@quantixfinance/contracts/MAL-2026-15851.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15851
Published
2026-09-03T15:51:46Z
Modified
2026-09-03T16:30:07Z
Summary
Malicious code in @quantixfinance/contracts (npm)
Details

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

Source: amazon-inspector (497edc9bba37d0fd2fb3de0fccd537904ae37848535519f4d334c38d8b59d3bf)

The package's preinstall lifecycle script iterates process.env and filters keys for credential-shaped substrings (key, secret, token, pass, mnemonic, seed, private, wallet, rpc, infura, alchemy, api), attaches os.hostname(), process.cwd() and process.version, and POSTs the resulting JSON to a hardcoded remote host. The destination is written as an integer literal (759017974, decoding to 45.61.177.246) on port 61289 to evade string-based scanners. The package advertises itself as a contracts/ABI library and has no legitimate need to read or transmit environment secrets or host identifiers.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-019369",
            "import_time":  "2026-09-03T16:19:43.273150758Z",
            "modified_time":  "2026-09-03T15:51:46Z",
            "sha256":  "497edc9bba37d0fd2fb3de0fccd537904ae37848535519f4d334c38d8b59d3bf",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @quantixfinance/contracts

Package

Name
@quantixfinance/contracts
View open source insights on deps.dev
Purl
pkg:npm/%40quantixfinance/contracts

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "preinstall.js",
            "sha256":  "5ba35e7025a373dac1380e610b797be1612a10b86f792fe5118e4f25ee688686",
            "tlsh":  "8e21ba4af5bcf3b641a252b450cbc021a97fa40323c189a76b7c41d5ff468dc65634bb"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "contracts-1.0.0.tgz",
            "hashes":  {
                "sha1":  "d11da3585c15a29fa254fbcb248a85fa32a1b737",
                "sha512_sri":  "sha512-kyRUgjkcg2MO0m5UlTEOrDbF7K4/pfjLb1BMf6GO0PHeWlcfCGp9JdWZy+A5ziIJSeucBIqcjHFv9MH3mc27vA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@quantixfinance/contracts/MAL-2026-15851.json"