MAL-2026-6795

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/zod-pino444/MAL-2026-6795.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6795
Aliases
  • GHSA-74m6-53cg-5gp3
Published
2026-07-06T03:06:05Z
Modified
2026-07-07T16:16:43.108849859Z
Summary
Malicious code in zod-pino444 (npm)
Details

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

Source: amazon-inspector (560c3d47344d4da5dffac230236b5248d2f1856c221ffac7ff72d4e3b197957b)

Package zod-pino444@1.0.131 is a credential/secret harvester disguised behind a benign-sounding name. scripts/postinstall-agent.mjs is a lifecycle-triggered agent that runs on npm install and performs host reconnaissance (ping/GET, id enumeration). dist/discordRelayUpload.js is an exfiltration channel that POSTs collected data using base64-encoded payloads to remote endpoints (Discord relay pattern). dist/secretScan/contentScanner.js and dist/secretScan/agentStartupAudit.js implement a secret-scanning pipeline that harvests credentials from the installer's filesystem and transmits results to hardcoded huggingface.co endpoints via fetch(). dist/hfCredentials.js carries base64-encoded credential material used to authenticate the exfil channel. dist/deploymentDefaults.js and scripts/encode-deployment.mjs contain base64-encoded configuration/payload data used by the agent. dist/relayServer.js implements a persistent relay component. The combination of an auto-executed postinstall agent + on-host secret scanning + base64-obfuscated payloads + hardcoded outbound POST/fetch to attacker-controlled relay endpoints satisfies the active-attack fingerprint for installer-side credential theft.

Source: ghsa-malware (1deba1d29d0eb3668c5ca30605d3bb8578f3427835bd947c263c67b8728456ca)

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": [
        {
            "versions": [
                "1.0.128"
            ],
            "sha256": "94d359a15f76e30c9a9140d2ca33e502c5ab39acf9a12dffa9cd865831bc919d",
            "modified_time": "2026-07-06T03:06:05Z",
            "source": "amazon-inspector",
            "import_time": "2026-07-06T03:12:34.141087459Z",
            "id": "IN-MAL-2026-007957"
        },
        {
            "versions": [
                "1.0.129"
            ],
            "sha256": "bcb90d28a4c4697db5173503735e9c4a9cbf9e9360265834b9b307bfcc3c6f3b",
            "modified_time": "2026-07-06T03:06:20Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-007959",
            "import_time": "2026-07-06T03:12:34.212355944Z"
        },
        {
            "versions": [
                "1.0.131"
            ],
            "sha256": "560c3d47344d4da5dffac230236b5248d2f1856c221ffac7ff72d4e3b197957b",
            "source": "amazon-inspector",
            "modified_time": "2026-07-06T03:18:35Z",
            "import_time": "2026-07-06T04:58:10.180038222Z",
            "id": "IN-MAL-2026-008014"
        },
        {
            "sha256": "1deba1d29d0eb3668c5ca30605d3bb8578f3427835bd947c263c67b8728456ca",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2026-07-07T16:00:26Z",
            "source": "ghsa-malware",
            "id": "GHSA-74m6-53cg-5gp3",
            "import_time": "2026-07-07T16:09:37.833506275Z"
        }
    ]
}
References
Credits

Affected packages

npm / zod-pino444

Package

Affected ranges

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

Affected versions

1.*
1.0.128
1.0.129
1.0.131

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "zod-pino444-1.0.128.tgz",
            "hashes": {
                "sha512_sri": "sha512-8Akq/7v3ETt7Yn/bX78aQvHEzyYu10m6St+lhtoQnn6uQFxCrLpxf9Kh7ucaYc7r/eYGr1Wh5iZUf6glks0Nvg==",
                "sha1": "c79f2b86aead245c695960fe4dd5758df64c9a10"
            }
        }
    ],
    "evidence_files": [
        {
            "sha256": "cbf70b0d8654138a0b4dfcb152824c85fecab500e1a5fade53c2049da4c0dc48",
            "path": "dist/deploymentDefaults.js",
            "tlsh": "e1f16549b8e7b0100663b5f8861bc8973bdcad07260ed444b35e93956f1f831a3b76e6"
        },
        {
            "sha256": "debe8ff010dd0e4bec0af85cbd8708ba345158fc103b9fe68eb12b4d68539c19",
            "path": "dist/discordRelayUpload.js",
            "tlsh": "d4e296fab5f724311162b6698b5bd0057328b147741eeca47a8ca29c9f9c025c2f7fc6"
        },
        {
            "sha256": "bf0091702bbc62eff2319360ab7103a33fee8f5bfad4e63aa359175285de7f49",
            "path": "dist/hfCredentials.js",
            "tlsh": "cae184062ef6902001779079912be01576b0703f6ae1d5f2f69ddec9af12c768ae3dc1"
        },
        {
            "sha256": "928e17b6978cbdd3aa51d7301da09d651de5cc2e13969516031809ca8322b28d",
            "path": "dist/relayServer.js",
            "tlsh": "fa93b68a69f360324763f2bd5b5b8001b339d1077558ddd4fa9c8258af8d92883f1be9"
        },
        {
            "sha256": "185e5a9b6387d3791464f4ade86a394af49115e826ddc1cd5e206e573b0ef7eb",
            "path": "dist/secretScan/agentStartupAudit.js",
            "tlsh": "b6e2fb9a69f32432826371be5a4f5005f660b4272148e8e47a5cc299ff454b8d3f7fd8"
        },
        {
            "sha256": "5f983523fea613c052e726cf94f86c894e72c34261a538e6e6f3999cd76191a5",
            "path": "dist/secretScan/contentScanner.js",
            "tlsh": "7212824a6af320514d2330fe1b8b8500b97aa847351cdd28be9c83906f5597c9af7bdc"
        },
        {
            "sha256": "36c301a61abec8b3658aa278f9cdcdfa0edf6409f4eec68449724d68ef222ea8",
            "path": "scripts/encode-deployment.mjs",
            "tlsh": "34b1b70368e9947041fee3d25953b90b7afdf7153302acc5766e46b90b6bc31026be0a"
        },
        {
            "sha256": "f637df68b8c097e238ae81473a6a5c3f4ace636044356f7dbb01fef6ca5f579c",
            "path": "scripts/postinstall-agent.mjs",
            "tlsh": "1d92d88ce6e71a7606a1e79d7a1f150267a0d1070648e4b4f0dd82887f2d13d83b7ebe"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/zod-pino444/MAL-2026-6795.json"
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"
    },
    {
        "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"
    }
]