MAL-2026-14039Malicious code in @cdnshell/loader (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
0.0.13 | archived | — | — | VIP 下载 |
0.0.14 | unavailable | — | — | — |
0.0.15 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | @cdnshell/loader | 0.0.13 |
| npm | @cdnshell/loader | 0.0.14 |
| npm | @cdnshell/loader | 0.0.15 |
| npm | @cdnshell/loader | 0.0.16 |
| npm | @cdnshell/loader | 0.0.18 |
| npm | @cdnshell/loader | 0.0.19 |
| npm | @cdnshell/loader | 0.0.20 |
{"modified":"2026-08-14T15:23:41Z","published":"2026-08-14T15:18:55Z","schema_version":"1.7.4","id":"MAL-2026-14039","summary":"Malicious code in @cdnshell/loader (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7b572368b522527a308a0a8057b3b0945ded5c73f4dcad6ab738eaa2b7ddf6e3)\nPackage presents itself as a CDN static-asset distribution library but ships 19 pre-compiled arm64 Mach-O binaries under 03_payloads/ (stager, kbridge, agent variants for iOS 13–19, including a64e/PAC variants). The binaries reference WebKit GPU-process IPC symbols (GPUConnectionToWebProcess_CreateRenderingBackend, RemoteRenderingBackend_GetPixelBufferForImageBufferWithNewMemory), private iOS entitlements (com.apple.private.webbookmarks.settings, DiagnosticReports.read-write), and mach_vm_/mach_port_ 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.\n","affected":[{"package":{"ecosystem":"npm","name":"@cdnshell/loader"},"versions":["0.0.13","0.0.19","0.0.18","0.0.16","0.0.14","0.0.15","0.0.20"],"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"},{"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"}],"indicators":{"evidence_files":[{"path":"a188ps10.js","sha256":"196c0ca7edea2324b085d762e55a0345f5ddd47c59a3c5a520896283b3680d80","tlsh":"dcf27c7a1dc0e9d61bc7c9af4697a4b5e97204eab4d94edf01104c40bc85f3baed9630"}],"package_integrity":[{"filename":"loader-0.0.13.tgz","hashes":{"sha1":"55be3be12fb00f3ae2be1b37c96082db050f6212","sha512_sri":"sha512-gMTo1zp5WkZhKkmVDVGp7mkn2dYo5VIvEwmaYVDYzX6cySiZyTh57UtgCJn0Wj198Hb/J5Q329+TrwKQ3GkBYw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@cdnshell/loader/v/0.0.13"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@cdnshell/loader/v/0.0.19"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@cdnshell/loader/v/0.0.18"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@cdnshell/loader/v/0.0.16"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@cdnshell/loader/v/0.0.14"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@cdnshell/loader/v/0.0.15"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@cdnshell/loader/v/0.0.20"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017910","import_time":"2026-08-14T15:21:29.230630801Z","modified_time":"2026-08-14T15:19:55Z","sha256":"188a9bff2c583b003e1fda1af7e4617ea665343ef3e1eb072b3d11706dafdeea","source":"amazon-inspector","versions":["0.0.13"]},{"id":"IN-MAL-2026-017904","import_time":"2026-08-14T15:21:29.023433697Z","modified_time":"2026-08-14T15:18:55Z","sha256":"4b10836b05fb4153f91dc29d44284eb2d58a014c26d138ff54a722a901d28c7d","source":"amazon-inspector","versions":["0.0.19"]},{"id":"IN-MAL-2026-017907","import_time":"2026-08-14T15:21:29.113397418Z","modified_time":"2026-08-14T15:19:24Z","sha256":"52b2976ece4b828b9a4bf6b2b4377306bae0c2db31e474961d893fa8a6acb991","source":"amazon-inspector","versions":["0.0.18"]},{"id":"IN-MAL-2026-017908","import_time":"2026-08-14T15:21:29.145338323Z","modified_time":"2026-08-14T15:19:34Z","sha256":"7b572368b522527a308a0a8057b3b0945ded5c73f4dcad6ab738eaa2b7ddf6e3","source":"amazon-inspector","versions":["0.0.16"]},{"id":"IN-MAL-2026-017909","import_time":"2026-08-14T15:21:29.178289972Z","modified_time":"2026-08-14T15:19:42Z","sha256":"8c34fa332839164fcd489e4e6babeaef2b822b10d62da3b61830a57d541bcf34","source":"amazon-inspector","versions":["0.0.14"]},{"id":"IN-MAL-2026-017906","import_time":"2026-08-14T15:21:29.085979267Z","modified_time":"2026-08-14T15:19:16Z","sha256":"d0393cd9a53e1b09119cf8171bf0f5b3f29f97be73fa7f9723596f9484334775","source":"amazon-inspector","versions":["0.0.15"]},{"id":"IN-MAL-2026-017905","import_time":"2026-08-14T15:21:29.054277568Z","modified_time":"2026-08-14T15:19:06Z","sha256":"e063da58e096e6bb0b34243f4345de07618350b9937fc641d3cb377dcfe15466","source":"amazon-inspector","versions":["0.0.20"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0