MAL-2026-4184

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/stripe-internal-utils/MAL-2026-4184.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4184
Published
2026-05-20T14:47:34Z
Modified
2026-05-26T06:02:56.373417866Z
Summary
Malicious code in stripe-internal-utils (npm)
Details

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

Source: amazon-inspector (b6add7fd3034c5b0d00e39e2cbfeb7c664085ef412612b53ebe9fd81767449be)

package.json declares a postinstall hook that auto-fires on npm install and performs reconnaissance + exfiltration against the installer. The inline node -e payload fetches the installer's public IP from api.ipify.org, executes id || ver && whoami && hostname via child_process.exec, and POSTs a JSON body containing the timestamp, USERDOMAIN/USERDNSDOMAIN/COMPANY environment variables, public IP, hostname, current working directory, and shell command output to a hardcoded interactsh beacon at lszakfghwnvxspyfcmaabd1css99rnq3w.oast.fun over HTTP. The package's own description self-identifies as 'Full RCE PoC -osama', and the package name impersonates the Stripe brand to lure installers into a name they would plausibly trust. Any developer or build system running npm install stripe-internal-utils leaks identifying host and user information to the attacker.

Source: ossf-package-analysis (b89c3b9d4dee2f11d05bf97a5338eeb6c5b1b2679157feed7984ab3e97d64ddf)

The OpenSSF Package Analysis project identified 'stripe-internal-utils' @ 8.2.0 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-05-20T15:00:49Z",
            "sha256": "b89c3b9d4dee2f11d05bf97a5338eeb6c5b1b2679157feed7984ab3e97d64ddf",
            "import_time": "2026-05-20T15:47:05.552729674Z",
            "versions": [
                "8.2.0"
            ],
            "source": "ossf-package-analysis"
        },
        {
            "id": "IN-MAL-2026-003574",
            "sha256": "b6add7fd3034c5b0d00e39e2cbfeb7c664085ef412612b53ebe9fd81767449be",
            "modified_time": "2026-05-20T14:47:34Z",
            "import_time": "2026-05-26T05:50:53.20860404Z",
            "versions": [
                "8.2.0"
            ],
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-05-26T05:50:53.302365387Z",
            "sha256": "d71e5aef7c16dfc093986f47b4607367ff824380452839905a5228ca46f84f63",
            "id": "IN-MAL-2026-003575",
            "modified_time": "2026-05-20T14:47:34Z",
            "versions": [
                "8.2.0"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / stripe-internal-utils

Package

Name
stripe-internal-utils
View open source insights on deps.dev
Purl
pkg:npm/stripe-internal-utils

Affected ranges

Affected versions

8.*
8.2.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/stripe-internal-utils/MAL-2026-4184.json"
cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "domains": [
        "api.ipify.org",
        "lszakfghwnvxspyfcmaabd1css99rnq3w.oast.fun"
    ],
    "evidence_files": [
        {
            "sha256": "7f9c317e40040c866cfb82805d587a556ac3186d977c9212c904d628a4fd0d89",
            "tlsh": "031132f19980ebfaa3d153f87956d405e963e70b61218cb0a86c1b818b891b051abfdc",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "filename": "stripe-internal-utils-8.2.0.tgz",
            "hashes": {
                "sha1": "1049bdff10a7538ea6928418d9633d1b2dc593f3",
                "sha512_sri": "sha512-ebK/qtFwiLnSKwhDXl6q175yyM/b9AxK8XCbHqyES2HLl/+NuYcfocFqxAz6pwVVK0Q5bwbkAH97+B0c67lRpg=="
            }
        }
    ]
}