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-29T14:30:43Z
Summary
Malicious code in tostpro (npm)
Details

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

Source: amazon-inspector (7785c0ac37ad4bb74abc644be2a5fc48bdb0d1248027e607fdf13ddaaa59d546)

Package tostpro@99.101.0 declares scripts.preinstall='sh./rce_poc.sh'. On install, the shipped shell script runs id/hostname/pwd and appends a timestamped line to./RCE_POC_MARKER.txt in the installer's working directory. The script performs no network I/O, reads no credentials or environment, writes nothing outside the install tree, and installs no persistence. The declared main entry dist/index.js is not shipped in the tarball, so the package has no library/import-time behavior; the preinstall marker write is its only effect. The README identifies the package as a security-research canary demonstrating dependency-confusion exposure for an internal name, consistent with the implausibly high version (99.101.0) used to win resolution against an internal package. The preinstall execution path is a real supply-chain concern in principle because a future version could replace the benign marker with a hostile payload, but this version's shipped payload produces no attacker benefit and no destructive action against the installer.

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"
        },
        {
            "id": "IN-MAL-2026-021699",
            "import_time": "2026-10-25T15:15:14.956788871Z",
            "modified_time": "2026-10-25T15:07:19Z",
            "sha256": "7785c0ac37ad4bb74abc644be2a5fc48bdb0d1248027e607fdf13ddaaa59d546",
            "source": "amazon-inspector",
            "versions": [
                "99.101.0"
            ]
        },
        {
            "id": "IN-MAL-2026-021895",
            "import_time": "2026-10-29T13:37:15.491443035Z",
            "modified_time": "2026-10-29T13:22:00Z",
            "sha256": "1a951df41c6f2f23c53564aabe2036134dd60d043cc21733675a2ce394cf72f5",
            "source": "amazon-inspector",
            "versions": [
                "112.5.9"
            ]
        },
        {
            "id": "IN-MAL-2026-022129",
            "import_time": "2026-10-29T14:14:28.329336227Z",
            "modified_time": "2026-10-29T13:52:38Z",
            "sha256": "e1fa9e878e79dd56f399b9e75b0abdef6697ade8e412702731026ec9f58abd05",
            "source": "amazon-inspector",
            "versions": [
                "99.100.0"
            ]
        },
        {
            "id": "IN-MAL-2026-022130",
            "import_time": "2026-10-29T14:14:28.388086043Z",
            "modified_time": "2026-10-29T13:52:44Z",
            "sha256": "f809bea14759b3170104dfff2c98fcf66981ed46ca0cbb69d90b51918103176b",
            "source": "amazon-inspector",
            "versions": [
                "99.99.99"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / tostpro

Package

Affected ranges

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

Affected versions

99.*
99.99.99
99.100.0
99.101.0
100.*
100.2.0
100.6.0
100.7.0
112.*
112.5.9

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"
    },
    {
        "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"