MAL-2026-12332

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zahlen/checkout-angular/MAL-2026-12332.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12332
Aliases
  • GHSA-x4vv-h5rq-v2hm
Published
2026-08-05T12:48:29Z
Modified
2026-08-06T09:34:50.206820361Z
Summary
Malicious code in @zahlen/checkout-angular (npm)
Details

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

Source: amazon-inspector (45fa3b05e748470cdc08e19b2e86efb8a34c85f155e5972c1b0c0598c150a0bd)

The package's fesm2022 ESM entry (declared as module in package.json and executed on import of the library) ends with a trailing eval(atob('...')) payload that, once decoded, requires child_process, http, https, and zlib via \uXXXX-escaped identifier strings to hide the imports from static scanners. The loader queries an Ethereum contract at 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a through https://eth.blockscout.com/api (with public RPC fallbacks 1rpc.io/eth, eth.drpc.org, ethereum-rpc.publicnode.com, eth-mainnet.public.blastapi.io) to read attacker-controlled host/port values from contract storage, then reaches those hosts over HTTP at paths http://${host}:443/0x/cls and http://${host}:443/0x/ls and passes the returned bytes to child_process.spawn. This is an EtherHiding remote-code-execution channel: consuming the library in any Node context that evaluates the ESM (SSR, build tooling, dev servers, tests) triggers on-chain-directed download and execution of arbitrary attacker code. The loader is unrelated to the package's advertised checkout functionality, is appended after the legitimate export { ZahlenModule,... } bundle, and is base64+unicode-obfuscated — hallmarks of an injected supply-chain payload rather than package feature code.

Source: ghsa-malware (a3a38f34dcb95f0e345748ebb65454acd70b9fef5253e93f63e74c87b5278f23)

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": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T12:48:29Z",
            "sha256": "45fa3b05e748470cdc08e19b2e86efb8a34c85f155e5972c1b0c0598c150a0bd",
            "id": "IN-MAL-2026-014769",
            "versions": [
                "0.1.4"
            ],
            "import_time": "2026-08-05T13:08:45.079460232Z"
        },
        {
            "source": "ghsa-malware",
            "modified_time": "2026-08-06T06:23:01Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-x4vv-h5rq-v2hm",
            "sha256": "a3a38f34dcb95f0e345748ebb65454acd70b9fef5253e93f63e74c87b5278f23",
            "import_time": "2026-08-06T09:23:23.037306756Z"
        }
    ]
}
References
Credits

Affected packages

npm / @zahlen/checkout-angular

Package

Name
@zahlen/checkout-angular
View open source insights on deps.dev
Purl
pkg:npm/%40zahlen/checkout-angular

Affected ranges

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

Affected versions

0.*
0.1.4

Database specific

cwes
[
    {
        "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."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-zKQjRBc7aGu266V0Kr+oZ4CbEHCxOIOPw43eI2f3MI2nlUl4aM+GBAJb2uejsDH82WDYiQXjauyFZkvRyyzICA==",
                "sha1": "a3d489c931050646fb8fa0d020d4aeaa105ed488"
            },
            "filename": "checkout-angular-0.1.4.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "fesm2022/zahlen-checkout-angular.mjs",
            "sha256": "a4d6bee78364004e44364de3fc488b63f0283a0ed69a2ca10cc38d8be156bda6",
            "tlsh": "e5c2d67605e236a3c75ba462fd8b570a23b080736b5c1f28794fc6746f88d64718ab1f"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zahlen/checkout-angular/MAL-2026-12332.json"