MAL-2026-10425

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/trinity-scheme/MAL-2026-10425.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10425
Published
2026-07-13T06:55:05Z
Modified
2026-07-13T07:47:04Z
Summary
Malicious code in trinity-scheme (npm)
Details

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

Source: amazon-inspector (5d576c0487668f599137a479e17ddc1335935fdec631f7d5adfa9e73049d7652)

On npm install, the package's preinstall lifecycle reads a hex-encoded command string from preinstall.json, decodes it via Buffer.from(..., 'hex'), and passes the decoded shell command to child_process.exec. The decoded payload collects the installer's whoami, pwd, and hostname output and POSTs the values to the hardcoded endpoint https://eo7o7j442dx6yl6.m.pipedream.net/. The command is stored in hex form to evade plain-text scanning; the package otherwise provides no functionality consistent with its declared name.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-009842",
            "import_time":  "2026-07-13T07:40:12.534272296Z",
            "modified_time":  "2026-07-13T06:55:05Z",
            "sha256":  "5d576c0487668f599137a479e17ddc1335935fdec631f7d5adfa9e73049d7652",
            "source":  "amazon-inspector",
            "versions":  [
                "20.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / trinity-scheme

Package

Name
trinity-scheme
View open source insights on deps.dev
Purl
pkg:npm/trinity-scheme

Affected ranges

Affected versions

20.*
20.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":  "913112caf871d2cd2a23e6becb67ec28401cc294e424d6bf22985c4e1f404bc2",
            "tlsh":  "edf07d052dfa1237403b20a54a47580b318ad901313edda2bbee5b516fc5c64cca36c9"
        },
        {
            "path":  "preinstall.json",
            "sha256":  "1eb5ca179df8182f96faa1d513b2030b45148e9f7a0f8e399f530e49ac13efd5",
            "tlsh":  "d8d022fc91c0ca87a138008d0be97e092e425ba28cb10e72d02cad28ac08e003bbc02c"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "trinity-scheme-20.0.0.tgz",
            "hashes":  {
                "sha1":  "34a1435202961e9d224c404e2ff51ffb94525b25",
                "sha512_sri":  "sha512-Rlyc4BZYt/obEHvepwcIrWcbKmor8i8iM4kA1DYmC9cRWGiZhomd9XutZ8IfXRejtBuEp3BQIxfkFPHrt2/xew=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/trinity-scheme/MAL-2026-10425.json"