MAL-2026-11057

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/merchantprefsservice-paypal/MAL-2026-11057.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11057
Aliases
  • GHSA-w6fc-gq73-j24m
Published
2026-07-25T09:36:51Z
Modified
2026-08-05T07:21:17Z
Summary
Malicious code in merchantprefsservice-paypal (npm)
Details

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

Source: amazon-inspector (145fc1d224cc012a8cbdea5823b1573df6400ce6a24837b2c25710772152724f)

The package's preinstall script (index.js) executes automatically on npm install and collects host identifiers — hostname, platform, arch, home directory path, and configured DNS servers — then POSTs them to the hardcoded Burp Collaborator subdomain fdw2vnyonnpdk7x3ntotw7omtdz5n4bt.oastify.com at path /hit. The package name mimics an internal PayPal-namespaced service, consistent with a dependency-confusion beacon that fires when a developer or build system inadvertently resolves the public name over an intended private one. The exfiltrated DNS server list additionally reveals internal network configuration.

Source: ghsa-malware (3cb0650e6084dbdffdf3011ee427b9997afa2ff2778d43e5e7929945cd14f54a)

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.

Source: ossf-package-analysis (1d3ce91132c1aa082533f130bf0d67c0369ebeb3564c49a134004da1cf9f29fc)

The OpenSSF Package Analysis project identified 'merchantprefsservice-paypal' @ 28.0.0 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-07-25T09:38:34.418839189Z",
            "modified_time": "2026-07-25T09:36:51Z",
            "sha256": "1d3ce91132c1aa082533f130bf0d67c0369ebeb3564c49a134004da1cf9f29fc",
            "source": "ossf-package-analysis",
            "versions": [
                "28.0.0"
            ]
        },
        {
            "id": "GHSA-w6fc-gq73-j24m",
            "import_time": "2026-07-28T02:02:27.962211Z",
            "modified_time": "2026-07-27T16:15:25Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "3cb0650e6084dbdffdf3011ee427b9997afa2ff2778d43e5e7929945cd14f54a",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-011121",
            "import_time": "2026-08-04T22:30:00.280556214Z",
            "modified_time": "2026-08-04T21:35:35Z",
            "sha256": "145fc1d224cc012a8cbdea5823b1573df6400ce6a24837b2c25710772152724f",
            "source": "amazon-inspector",
            "versions": [
                "28.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-013288",
            "import_time": "2026-08-05T07:06:39.79273143Z",
            "modified_time": "2026-08-05T06:01:35Z",
            "sha256": "513866f6885556cdc4f18929c68eb4443b0c7f66d331b132a6cc47638b143453",
            "source": "amazon-inspector",
            "versions": [
                "24.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-013290",
            "import_time": "2026-08-05T07:06:39.8924898Z",
            "modified_time": "2026-08-05T06:01:52Z",
            "sha256": "7ce7e033d1d3c45158a952272cab890c426353b37a6b8ac151e5f4460096d4c2",
            "source": "amazon-inspector",
            "versions": [
                "4.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / merchantprefsservice-paypal

Package

Name
merchantprefsservice-paypal
View open source insights on deps.dev
Purl
pkg:npm/merchantprefsservice-paypal

Affected ranges

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

Affected versions

4.*
4.0.0
24.*
24.0.0
28.*
28.0.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": "index.js",
            "sha256": "d050170331374fec7db4a5831dd8f98de159c56dfd4cd6292bd8898dbf4e32c0",
            "tlsh": "29f0e1d0d6b52a711bb699c0b0a2900a5333d662780bf4d06fc8026607cddf801b16f4"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/merchantprefsservice-paypal/MAL-2026-11057.json"