MAL-2026-6923

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/notifier-utils/MAL-2026-6923.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6923
Aliases
  • GHSA-vg5w-f83q-fhmj
Published
2026-07-07T15:13:22Z
Modified
2026-07-09T17:31:55.535313852Z
Summary
Malicious code in notifier-utils (npm)
Details

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

Source: amazon-inspector (6a5846e3c26fdded8225d54ec017b01be255353470c39a780bbd9b556c059120)

The package presents itself as a pino-compatible logger (README, keywords, and a module.exports.pino alias mirror the pino identity, and lib/ replicates pino's file layout including proto.js, levels.js, transport.js, worker.js). Its actual behavior is remote code execution: index.js's exported middleware spawns node lib/caller.js with detached: true, stdio: 'ignore', and child.unref(), hiding the child from the calling application. lib/caller.js issues an HTTPS GET to an IPFS gateway URL (emerald-accurate-urial-9.mypinata.cloud/ipfs/bafkreih3kofw4s22pcrwpi35nk57xy3r345nhsfxeuishcvljrsim3c3hq), reads the .data.model field, and executes the returned JavaScript via new Function.constructor('require', src) with require passed in — giving the fetched code full Node privileges (filesystem, network, child_process, arbitrary module loading). The IPFS-hosted payload is attacker-mutable, so the executed code can change at any time without a package update. The pino impersonation exists to induce developers to wire the exported middleware into their applications, at which point every request path that reaches the middleware triggers the remote-fetch-and-eval.

Source: ghsa-malware (380fd81aec6bb1bcbeb2b21bb7b91bfb8e4ca4e184d07885faa094da6b42c952)

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": [
        {
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-vg5w-f83q-fhmj",
            "source": "ghsa-malware",
            "import_time": "2026-07-07T15:15:50.730182153Z",
            "sha256": "380fd81aec6bb1bcbeb2b21bb7b91bfb8e4ca4e184d07885faa094da6b42c952",
            "modified_time": "2026-07-07T15:13:23Z"
        },
        {
            "modified_time": "2026-07-08T20:33:17Z",
            "id": "IN-MAL-2026-008592",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T21:27:49.019817711Z",
            "sha256": "ba547b66886d76bff74f9c797b08f614eb5eb799359a28d0cdeb35dd1a0458ff",
            "versions": [
                "1.3.8"
            ]
        },
        {
            "sha256": "3ea8e3ced7e3ebb2a3952458971f66412ef904a376c4c6005dde9da5b084edb9",
            "id": "IN-MAL-2026-009266",
            "source": "amazon-inspector",
            "import_time": "2026-07-09T16:20:55.986958887Z",
            "modified_time": "2026-07-09T15:52:29Z",
            "versions": [
                "1.3.7"
            ]
        },
        {
            "sha256": "eb35a197222f6c137adb7408eea31f1f517b4c0e4939f2c7fbbb429597696634",
            "id": "IN-MAL-2026-009270",
            "source": "amazon-inspector",
            "import_time": "2026-07-09T16:20:56.269682984Z",
            "modified_time": "2026-07-09T15:53:02Z",
            "versions": [
                "1.3.9"
            ]
        },
        {
            "sha256": "6a5846e3c26fdded8225d54ec017b01be255353470c39a780bbd9b556c059120",
            "id": "IN-MAL-2026-009335",
            "source": "amazon-inspector",
            "import_time": "2026-07-09T17:19:25.59217895Z",
            "modified_time": "2026-07-09T16:57:31Z",
            "versions": [
                "1.4.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / notifier-utils

Package

Affected ranges

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

Affected versions

1.*
1.3.7
1.3.8
1.3.9
1.4.0

Database specific

indicators
{
    "evidence_files": [
        {
            "path": "lib/caller.js",
            "tlsh": "62f09e1f34f52418067660e58b4f103121129012341ac5c9724c53524fea86ba673bd8",
            "sha256": "9e8f84c8ad0fbe81b0e5c5814e40f3f73f1a52771a1c93dfad71536db952fd59"
        },
        {
            "path": "index.js",
            "tlsh": "caf0ac8b76f4b764431cbfcae95bd5362cd3d0a13206e5b08addf78206c2a5c86614d8",
            "sha256": "32e7ced3be63db3b7d27970328be3fa441cb4bc24ab5a0d84126e3966746e4b4"
        },
        {
            "path": "lib/const.js",
            "tlsh": "8ac08c8351e4a89704301773610ca995f2a1d26f0c840b0331f594844a396a93840fbb",
            "sha256": "9879ffb0bf61edef7e9b90ddc5fac9770c514c0cdecd9a07b15e8a677e6f8f74"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/notifier-utils/MAL-2026-6923.json"
cwes
[
    {
        "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.",
        "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.",
        "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"
    }
]