MAL-2026-10111

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nodepack-daemon/MAL-2026-10111.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10111
Aliases
  • GHSA-v7fc-qvp5-6qx3
Published
2026-07-10T02:45:25Z
Modified
2026-07-10T16:32:00.407144294Z
Summary
Malicious code in nodepack-daemon (npm)
Details

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

Source: amazon-inspector (b976e6ab638a52663d25f360bffec6706dc82991ad27c552788a5a4d785ff89f)

The package presents itself as the popular pino logger (README badges, file layout mirroring pino's lib/proto.js, lib/redaction.js, lib/transport.js, DEFAULT_LEVELS, and module.exports.pino = middleware), but on use it triggers a remote code execution flow. index.js spawns node./lib/caller.js in a detached, stdio-ignored child when the exported middleware is invoked. lib/caller.js issues an HTTPS GET against https://jsonkeeper.com/b/QWPQX, reads the cookie field of the returned JSON, and passes it to Function.constructor('require', s), invoking the returned function with the real require — giving whatever code the paste currently contains full Node capabilities inside the installer's process. The exfil/C2 URLs are further obfuscated as base64-encoded fake process.env.DEV_API_KEY / DEV_SECRET_KEY / DEV_SECRET_VALUE constants in lib/caller.js and lib/const.js that decode to additional jsonkeeper.com paste endpoints (https://jsonkeeper.com/b/XRGF3, https://jsonkeeper.com/b/4NAKK) and a custom x-secret-key header. jsonkeeper.com is an anonymous, mutable paste host — the executed payload can be swapped by the operator at any time without a package update. Name impersonation of pino plus a mutable-paste remote-execute channel plus URL obfuscation is an unambiguous supply-chain attack.

Source: ghsa-malware (30f271d63c5628cb52ec8178b640bcf8becf253a8f61563940a6c1e419586509)

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": [
        {
            "sha256": "30f271d63c5628cb52ec8178b640bcf8becf253a8f61563940a6c1e419586509",
            "id": "GHSA-v7fc-qvp5-6qx3",
            "import_time": "2026-07-10T03:23:39.563470563Z",
            "modified_time": "2026-07-10T02:45:26Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware"
        },
        {
            "sha256": "b976e6ab638a52663d25f360bffec6706dc82991ad27c552788a5a4d785ff89f",
            "id": "IN-MAL-2026-009621",
            "import_time": "2026-07-10T16:19:42.048529635Z",
            "modified_time": "2026-07-10T15:33:52Z",
            "versions": [
                "1.2.9"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / nodepack-daemon

Package

Affected ranges

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

Affected versions

1.*
1.2.9

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "9ffba77b12d697502d64c8510ce0559592600870faa82dc94a33d5339c7cf5da",
            "tlsh": "01019e4a30fa605c015510f65b1fe0317011e4173c49e5c5378c87514fea5ae6963fed",
            "path": "lib/caller.js"
        },
        {
            "tlsh": "b9c08c8351f0684b04301bb3a50ca991f2a1d26f0884160231f564844b396a92848fb7",
            "sha256": "d10853dde92fdc48d8cb5505d89e0030fd35e1416a16a820fe5ec4aceef01c4f",
            "path": "lib/const.js"
        },
        {
            "sha256": "2956b023858d706a5e241cd28b845088e5f414c5f70bd5d8cb73cb427d081065",
            "tlsh": "5d213c81b9f11188065cd9c8b569e53a38e3c4377207b9b0e9ec87862bcf2080272ad7",
            "path": "index.js"
        }
    ]
}
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nodepack-daemon/MAL-2026-10111.json"