MAL-2026-5385

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@0xlr/clerk-auth/MAL-2026-5385.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5385
Aliases
  • GHSA-57r8-xw4c-5j59
Published
2026-06-09T16:07:54Z
Modified
2026-08-02T23:34:34.211293720Z
Summary
Malicious code in @0xlr/clerk-auth (npm)
Details

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

Source: amazon-inspector (2ff421a5ccb412fd8455e89a1b9875b427ed34af12fa4b188ed4418cd8f52a74)

On npm install, postinstall.js enumerates the entire process environment (Object.keys(process.env).sort().forEach) along with hostname, username, home directory, cwd, argv, and OS metadata, then POSTs the JSON payload over HTTPS to rytxau88zxh61dw6qz4yn19naeg54vsk.oastify.com (a Burp Collaborator subdomain controlled by the attacker). Any secrets present in the installer's environment at install time — CI tokens, NPMTOKEN, AWS*, GitHub tokens, etc. — are leaked to the operator of that Collaborator instance. The package itself is hollow: name @0xlr/clerk-auth with version 999.0.0 and a description reading 'Placeholder reservation - company should register clerk-auth' is a dependency-confusion lure aimed at organizations that internally reference an unregistered clerk-auth package.

Source: ghsa-malware (072d9c29e38d3418b3b53542e0d9bac6de02e95946737f9f3f0378f29534d314)

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-004977",
            "import_time": "2026-06-09T16:59:45.600484892Z",
            "sha256": "2ff421a5ccb412fd8455e89a1b9875b427ed34af12fa4b188ed4418cd8f52a74",
            "versions": [
                "999.0.0"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-06-09T16:07:54Z"
        },
        {
            "id": "IN-MAL-2026-004978",
            "import_time": "2026-06-09T16:59:45.628375717Z",
            "sha256": "f75b5cbd68fb15cdb11785a7a8c83cefd8ad2bb6cf7ed6692f120a5bd8f4f135",
            "versions": [
                "999.0.0"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-06-09T16:07:55Z"
        },
        {
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "id": "GHSA-57r8-xw4c-5j59",
            "import_time": "2026-08-02T22:41:04.764032Z",
            "sha256": "072d9c29e38d3418b3b53542e0d9bac6de02e95946737f9f3f0378f29534d314",
            "modified_time": "2026-07-31T15:37:20Z",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / @0xlr/clerk-auth

Package

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

Affected ranges

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

Affected versions

999.*
999.0.0

Database specific

cwes
[
    {
        "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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "postinstall.js",
            "tlsh": "762115e152f4867413f23b88b09e95015677f1173a0778f4bdcd52151fac62812f2579",
            "sha256": "1ded8a789cf3732b19e4d08f9f8b224a4c81914daad56d165ca4fbce8cf21e07"
        },
        {
            "path": "package.json",
            "tlsh": "cbd0224816a0ff379b844b9a2c13888c88fd02728046402219d328f441e2eb8c5bb01f",
            "sha256": "7b77f44062b89b2b851fb6a0c11019c3843d983103d418d5198debb3d08ea31d"
        }
    ],
    "package_integrity": [
        {
            "filename": "clerk-auth-999.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-XdRYUJmGyNtYIw91qr3Xwga6XNBveWhgce6dJSaMTqswOyQ5iqp+kdgHexMN8y3N2BxWEFApH+qdsTGcgnXp4g==",
                "sha1": "20dbd55535ca0fb5d68e392ff00e0cd7486d21e1"
            }
        }
    ],
    "domains": [
        "rytxau88zxh61dw6qz4yn19naeg54vsk.oastify.com"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@0xlr/clerk-auth/MAL-2026-5385.json"