MAL-2026-6183

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@mep-exp/api-tools/MAL-2026-6183.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6183
Aliases
  • GHSA-g5jc-gx32-75x7
  • GHSA-q2pc-rvw2-7v5m
Published
2026-06-19T05:03:19Z
Modified
2026-09-01T11:40:28Z
Summary
Malicious code in @mep-exp/api-tools (npm)
Details

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

Source: amazon-inspector (322089c1a58142401c82621aa778cdb7221086196cce6c879a703625b7013555)

preinstall.js, registered as scripts.preinstall and also required from the main module and every bin entry, collects os.hostname(), os.userInfo().username, os.platform(), process.cwd(), and a timestamp and POSTs them as JSON to https://webhook.site/1ba25769-0f80-4429-a7d2-409af5fa5adc. The request runs unconditionally during npm install (preinstall lifecycle) and on every require/CLI invocation, with errors silently swallowed. The package scope (@mep-exp) and bin names (mesh-swagger-cli, mesh-exp-entitlements, mesh-exp-routes, mesh-exp-api-clients, etc.) impersonate an internal Westpac 'MEP Experience Platform' toolchain, and the exfil payload includes a note: "Westpac CT" marker — consistent with a dependency-confusion attack against that organization's internal namespace published on public npm. The package provides no legitimate functionality beyond the beacon.

Source: ghsa-malware (842cc685b064b1d62740918a231d9201d08633de96c0bb7155889e9c7073d48d)

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-007054",
            "import_time": "2026-06-19T05:16:49.915689755Z",
            "modified_time": "2026-06-19T05:03:19Z",
            "sha256": "322089c1a58142401c82621aa778cdb7221086196cce6c879a703625b7013555",
            "source": "amazon-inspector",
            "versions": [
                "2.0.3"
            ]
        },
        {
            "id": "GHSA-q2pc-rvw2-7v5m",
            "import_time": "2026-08-17T04:43:14.436238Z",
            "modified_time": "2026-08-14T10:51:07Z",
            "sha256": "842cc685b064b1d62740918a231d9201d08633de96c0bb7155889e9c7073d48d",
            "source": "ghsa-malware",
            "versions": [
                "0.0.1",
                "2.0.3"
            ]
        },
        {
            "id": "IN-MAL-2026-018080",
            "import_time": "2026-08-18T21:41:58.91948688Z",
            "modified_time": "2026-08-18T21:13:53Z",
            "sha256": "68413ae4ad2491b99a624087f55a74c93de428268814171f36e2f5541890135d",
            "source": "amazon-inspector",
            "versions": [
                "0.0.1"
            ]
        },
        {
            "id": "RLMA-2026-05887",
            "import_time": "2026-09-01T11:17:25.121499727Z",
            "modified_time": "2026-08-24T16:26:15Z",
            "sha256": "10f12a7d372a461139d05583ef2d4505e5b89216c8e70b7f4d3d847d8a40ff25",
            "source": "reversing-labs",
            "versions": [
                "2.0.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @mep-exp/api-tools

Package

Name
@mep-exp/api-tools
View open source insights on deps.dev
Purl
pkg:npm/%40mep-exp/api-tools

Affected ranges

Affected versions

0.*
0.0.1
2.*
2.0.3

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "preinstall.js",
            "sha256": "262b16adf1bace2120413f6a3025270b078db5dc743e40ea771aff18c8b5b623",
            "tlsh": "bd0110c9aaab97742bf4f3c0b180940593b2d308bc0315a776ba63ed2745ee44361f70"
        },
        {
            "path": "package.json",
            "sha256": "04e781ef8158e77b2a810790fe85b2fb2c9dc1b4923b8773c8f0b57f577ccfbb",
            "tlsh": "0ff0123387e14eb725b8bb51b4936902b3f34e7f2151880ab3b9240d9ab059207cfb16"
        }
    ],
    "package_integrity": [
        {
            "filename": "api-tools-2.0.3.tgz",
            "hashes": {
                "sha1": "3e9864b9a7b6fe48f06ba8a2739989a77e8e71e0",
                "sha512_sri": "sha512-dD0OZMMpWFgrUrsjPNosWo1KXqh6GqcALX4GI29BwA41zvBnh3BijVonCn+CQF6Cq65lsSfj3cB1JTy4/Ti4CQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@mep-exp/api-tools/MAL-2026-6183.json"