MAL-2026-14039

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@cdnshell/loader/MAL-2026-14039.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14039
Published
2026-08-14T15:18:55Z
Modified
2026-08-14T15:32:21.976282980Z
Summary
Malicious code in @cdnshell/loader (npm)
Details

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

Source: amazon-inspector (7b572368b522527a308a0a8057b3b0945ded5c73f4dcad6ab738eaa2b7ddf6e3)

Package presents itself as a CDN static-asset distribution library but ships 19 pre-compiled arm64 Mach-O binaries under 03payloads/ (stager, kbridge, agent variants for iOS 13–19, including a64e/PAC variants). The binaries reference WebKit GPU-process IPC symbols (GPUConnectionToWebProcessCreateRenderingBackend, RemoteRenderingBackendGetPixelBufferForImageBufferWithNewMemory), private iOS entitlements (com.apple.private.webbookmarks.settings, DiagnosticReports.read-write), and machvm_/machport primitives consistent with a WebKit renderer-to-kernel exploit chain. The shipped JS entrypoint a12i5u6l.js is obfuscated with an obfuscator.io string-array/rotation scheme; after decoding, ModuleLoader.fetchModule fetches a manifest-selected module from a caller-configurable base URL and evaluates the response body via new Function(await response.text())() — a dynamic remote-code-execution sink. The surrounding orchestrator reads navigator.userAgent/platform and selects a payload variant from a hardcoded table that lines up with the shipped Mach-O stager/kbridge/agent set. There are no npm lifecycle hooks and no main, so the package does not execute on npm install or require(); the harm materializes when the loader is embedded in a webpage and served to iOS/macOS visitors, whose devices are then targeted by the WebKit exploit chain. The declared 'Static assets distribution' purpose, obfuscated loader, and prepositioned multi-version iOS Safari exploit payloads together are inconsistent with a legitimate static-asset library.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-017910",
            "import_time": "2026-08-14T15:21:29.230630801Z",
            "sha256": "188a9bff2c583b003e1fda1af7e4617ea665343ef3e1eb072b3d11706dafdeea",
            "versions": [
                "0.0.13"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-14T15:19:55Z"
        },
        {
            "import_time": "2026-08-14T15:21:29.023433697Z",
            "id": "IN-MAL-2026-017904",
            "sha256": "4b10836b05fb4153f91dc29d44284eb2d58a014c26d138ff54a722a901d28c7d",
            "modified_time": "2026-08-14T15:18:55Z",
            "source": "amazon-inspector",
            "versions": [
                "0.0.19"
            ]
        },
        {
            "id": "IN-MAL-2026-017907",
            "import_time": "2026-08-14T15:21:29.113397418Z",
            "sha256": "52b2976ece4b828b9a4bf6b2b4377306bae0c2db31e474961d893fa8a6acb991",
            "versions": [
                "0.0.18"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-14T15:19:24Z"
        },
        {
            "id": "IN-MAL-2026-017908",
            "import_time": "2026-08-14T15:21:29.145338323Z",
            "sha256": "7b572368b522527a308a0a8057b3b0945ded5c73f4dcad6ab738eaa2b7ddf6e3",
            "modified_time": "2026-08-14T15:19:34Z",
            "source": "amazon-inspector",
            "versions": [
                "0.0.16"
            ]
        },
        {
            "id": "IN-MAL-2026-017909",
            "import_time": "2026-08-14T15:21:29.178289972Z",
            "sha256": "8c34fa332839164fcd489e4e6babeaef2b822b10d62da3b61830a57d541bcf34",
            "modified_time": "2026-08-14T15:19:42Z",
            "source": "amazon-inspector",
            "versions": [
                "0.0.14"
            ]
        },
        {
            "id": "IN-MAL-2026-017906",
            "import_time": "2026-08-14T15:21:29.085979267Z",
            "sha256": "d0393cd9a53e1b09119cf8171bf0f5b3f29f97be73fa7f9723596f9484334775",
            "modified_time": "2026-08-14T15:19:16Z",
            "source": "amazon-inspector",
            "versions": [
                "0.0.15"
            ]
        },
        {
            "id": "IN-MAL-2026-017905",
            "import_time": "2026-08-14T15:21:29.054277568Z",
            "sha256": "e063da58e096e6bb0b34243f4345de07618350b9937fc641d3cb377dcfe15466",
            "modified_time": "2026-08-14T15:19:06Z",
            "source": "amazon-inspector",
            "versions": [
                "0.0.20"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @cdnshell/loader

Package

Name
@cdnshell/loader
View open source insights on deps.dev
Purl
pkg:npm/%40cdnshell/loader

Affected ranges

Affected versions

0.*
0.0.13
0.0.14
0.0.15
0.0.16
0.0.18
0.0.19
0.0.20

Database specific

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"
    },
    {
        "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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "a188ps10.js",
            "tlsh": "dcf27c7a1dc0e9d61bc7c9af4697a4b5e97204eab4d94edf01104c40bc85f3baed9630",
            "sha256": "196c0ca7edea2324b085d762e55a0345f5ddd47c59a3c5a520896283b3680d80"
        }
    ],
    "package_integrity": [
        {
            "filename": "loader-0.0.13.tgz",
            "hashes": {
                "sha1": "55be3be12fb00f3ae2be1b37c96082db050f6212",
                "sha512_sri": "sha512-gMTo1zp5WkZhKkmVDVGp7mkn2dYo5VIvEwmaYVDYzX6cySiZyTh57UtgCJn0Wj198Hb/J5Q329+TrwKQ3GkBYw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@cdnshell/loader/MAL-2026-14039.json"