MAL-2026-18341

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/macro-kernel-record-reader/MAL-2026-18341.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18341
Aliases
  • GHSA-32g3-f74c-pcxq
Published
2026-10-27T15:49:52Z
Modified
2026-10-29T14:30:41Z
Summary
Malicious code in macro-kernel-record-reader (npm)
Details

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

Source: amazon-inspector (f9ab8754c7e4e3a0a8c6ffd0c1980bbd81bd002c90ebccbbc275df296dfeddf9)

package.json declares its sole dependency cache-locale-runner-writer as an arbitrary HTTPS tarball URL (https://artifacts.creditslib.com/npm/cache-locale-runner-writer) instead of a registry version range. On npm install, npm fetches whatever bytes that URL serves and installs them, with no version pin, no integrity hash, and no signature check. Any lifecycle scripts in the fetched tarball run on the installer's machine, and the shipped index.js is a thin stub that re-exports the fetched dependency, so require() of this package loads the off-registry code at runtime as well. The host artifacts.creditslib.com is unrelated to the declared repository and is fully controlled by whoever operates it, who can serve different bytes to different installers or change the payload at any time.

Source: ghsa-malware (5a821a18c84775371c80e1780152b05963b6223cc9e8f2e2e48ccf8ad7803c52)

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":  "GHSA-32g3-f74c-pcxq",
            "import_time":  "2026-10-27T16:23:53.294203503Z",
            "modified_time":  "2026-10-27T15:49:53Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "5a821a18c84775371c80e1780152b05963b6223cc9e8f2e2e48ccf8ad7803c52",
            "source":  "ghsa-malware"
        },
        {
            "id":  "IN-MAL-2026-021867",
            "import_time":  "2026-10-29T13:37:13.972488964Z",
            "modified_time":  "2026-10-29T13:18:27Z",
            "sha256":  "f9ab8754c7e4e3a0a8c6ffd0c1980bbd81bd002c90ebccbbc275df296dfeddf9",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-022247",
            "import_time":  "2026-10-29T14:14:37.366833455Z",
            "modified_time":  "2026-10-29T14:08:08Z",
            "sha256":  "e8ac649d8d8e948b2b6493616b6dde974e7e5cb483110b5041a904d33854ce5c",
            "source":  "amazon-inspector",
            "versions":  [
                "0.0.0-stage"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / macro-kernel-record-reader

Package

Name
macro-kernel-record-reader
View open source insights on deps.dev
Purl
pkg:npm/macro-kernel-record-reader

Affected ranges

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

Affected versions

0.*
0.0.0-stage
1.*
1.0.0

Database specific

cwes
[
    {
        "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"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "package.json",
            "sha256":  "4608b9417d54a3d0d118a58bf0b33fc08f9565a8807d1a61866ad04067ac7f3d",
            "tlsh":  "3ce02232d6a5a97357d84ee49c36544262222c07920cae6857c303acc59eafb65fca2d"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "macro-kernel-record-reader-0.0.0-stage.tgz",
            "hashes":  {
                "sha1":  "2d2f81f137b552e69c90b6643baaed893893065f",
                "sha512_sri":  "sha512-zUxd4Pm20XwrK5A0OEuMr6r9cZjE4VRbH1aEnMqQbDTefWSYLzvf6H0TFesjiRz+OXJTRtAtWtDHf7NssoEFDQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/macro-kernel-record-reader/MAL-2026-18341.json"