MAL-2026-5386

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@0xlr/prisma-client-js/MAL-2026-5386.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5386
Aliases
  • GHSA-mrxf-wq2g-xvxm
Published
2026-06-09T16:07:48Z
Modified
2026-08-02T23:34:33Z
Summary
Malicious code in @0xlr/prisma-client-js (npm)
Details

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

Source: amazon-inspector (b993c29d90c2ecfffaa9ed55b99c38e5351052e619b79ad2a385d6c72376f0f4)

On npm install, postinstall.js enumerates all of process.env, collects hostname, username, homedir, cwd, argv, platform/arch/release, memory and CPU info, and POSTs the resulting JSON blob over HTTPS to the hardcoded attacker-controlled domain rytxau88zxh61dw6qz4yn19naeg54vsk.oastify.com (a Burp Collaborator out-of-band exfiltration host). The package name @0xlr/prisma-client-js impersonates the legitimate prisma-client-js / @prisma/client packages, and the 999.0.0 version is the canonical dependency-confusion override pattern; the package.json description self-identifies as a 'Placeholder reservation' for that namespace. Any installer running npm install against this package leaks the full process environment — including AWS_, NPM_TOKEN, GH_, CI/CD secrets — plus host identifiers to the attacker.

Source: ghsa-malware (4152691cf207ef5f1b02e7a92f59eb20c8b2ae4dbe37edfeb9f3e0bc749a88be)

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-004976",
            "import_time": "2026-06-09T16:59:45.524632327Z",
            "modified_time": "2026-06-09T16:07:48Z",
            "sha256": "64eec2a50f061040c4146b167d637913c050a51935cb1cbae176db711a628335",
            "source": "amazon-inspector",
            "versions": [
                "999.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-004975",
            "import_time": "2026-06-09T16:59:45.464660675Z",
            "modified_time": "2026-06-09T16:07:48Z",
            "sha256": "b993c29d90c2ecfffaa9ed55b99c38e5351052e619b79ad2a385d6c72376f0f4",
            "source": "amazon-inspector",
            "versions": [
                "999.0.0"
            ]
        },
        {
            "id": "GHSA-mrxf-wq2g-xvxm",
            "import_time": "2026-08-02T22:41:05.057691Z",
            "modified_time": "2026-07-31T15:37:15Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "4152691cf207ef5f1b02e7a92f59eb20c8b2ae4dbe37edfeb9f3e0bc749a88be",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / @0xlr/prisma-client-js

Package

Name
@0xlr/prisma-client-js
View open source insights on deps.dev
Purl
pkg:npm/%400xlr/prisma-client-js

Affected ranges

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

Affected versions

999.*
999.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"
    }
]
indicators
{
    "domains": [
        "rytxau88zxh61dw6qz4yn19naeg54vsk.oastify.com"
    ],
    "evidence_files": [
        {
            "path": "postinstall.js",
            "sha256": "1ded8a789cf3732b19e4d08f9f8b224a4c81914daad56d165ca4fbce8cf21e07",
            "tlsh": "762115e152f4867413f23b88b09e95015677f1173a0778f4bdcd52151fac62812f2579"
        },
        {
            "path": "package.json",
            "sha256": "3f058ecc3e30164fedfa9af8c843ccf500dcdbab0f8afbc18b46027c9d411619",
            "tlsh": "4ad023940ac3ef362ac98f55ed13d89c84f90210c06490304593086806516acc71d017"
        }
    ],
    "package_integrity": [
        {
            "filename": "prisma-client-js-999.0.0.tgz",
            "hashes": {
                "sha1": "a75147dce6e2d4a3e61c78262c764a84096393e2",
                "sha512_sri": "sha512-wzAeIY7KeBHesfJ+rBJU1PZVzvcyLiV5UDiOt0EB8hvdbiOn0I/4Kteb0F8OzqMjPqVIgYpexVGXTeMmvSj1Zg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@0xlr/prisma-client-js/MAL-2026-5386.json"