MAL-2026-11159

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/toll_free/MAL-2026-11159.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11159
Published
2026-07-28T13:15:45Z
Modified
2026-08-13T21:00:11Z
Summary
Malicious code in toll_free (npm)
Details

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

Source: amazon-inspector (517b4b730525b8edcc11052acd0ad205b63c60f9009f97531df84eea39eaca97)

package.json declares both preinstall and postinstall lifecycle hooks that run curl against a hardcoded webhook.site endpoint, sending the installer's username ($(whoami)), hostname ($(hostname)), current working directory ($PWD), and timestamp as query parameters. This fires automatically on npm install, before any code the installer intended to run. webhook.site is a third-party HTTP inspection service used to collect arbitrary request data; the specific endpoint ID is controlled by whoever created it. There is no legitimate functionality shipped with the package that would explain this beacon.

Source: ossf-package-analysis (c9425400cf10e0c56db46cd60b243224e5a7c2b63b89f4a97063346bbcc79966)

The OpenSSF Package Analysis project identified 'toll_free' @ 1.0.1 (npm) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.
Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-07-29T03:10:38.934632011Z",
            "modified_time": "2026-07-28T13:15:45Z",
            "sha256": "c9425400cf10e0c56db46cd60b243224e5a7c2b63b89f4a97063346bbcc79966",
            "source": "ossf-package-analysis",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-011127",
            "import_time": "2026-08-04T22:30:00.58475644Z",
            "modified_time": "2026-08-04T21:36:24Z",
            "sha256": "80914891625809e622f8383e3d7f39792cc850a57dba2d68f831ada91cfd5871",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-017670",
            "import_time": "2026-08-13T20:49:27.691396595Z",
            "modified_time": "2026-08-13T20:46:01Z",
            "sha256": "517b4b730525b8edcc11052acd0ad205b63c60f9009f97531df84eea39eaca97",
            "source": "amazon-inspector",
            "versions": [
                "1.0.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / toll_free

Package

Affected ranges

Affected versions

1.*
1.0.1
1.0.2

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "43e8d6411cb9a401289d3def9d794e3f8f30db01776602486953b0603438fe17",
            "tlsh": "4af0e172582974337ec685541f4d862e7910bf2b8501f4452723e82411dca6b597a327"
        }
    ],
    "package_integrity": [
        {
            "filename": "toll_free-1.0.1.tgz",
            "hashes": {
                "sha1": "2e97d18c35e0f496736295857e5c28e316b2287a",
                "sha512_sri": "sha512-wFjOUle1xT8TAn6ofki4mFfgCFH/loKeubBse+cWfsepLnKvLjR7s8h8WKDLEzGnvboxJyAXpRRrd7ufc/E03w=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/toll_free/MAL-2026-11159.json"