{"id":"MAL-2026-14039","revision":"c99846dbba7342948adf0a506cae3e11","records":[{"revision":"c99846dbba7342948adf0a506cae3e11","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14039","aliases":[],"title":"Malicious code in @cdnshell/loader (npm)","description":"\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","state":0,"publishedAt":"2026-08-14T15:18:55+00:00","modifiedAt":"2026-08-14T15:32:21.976283+00:00","affected":[{"ecosystem":"npm","name":"@cdnshell/loader","ranges":[],"versions":["0.0.13","0.0.19","0.0.18","0.0.16","0.0.14","0.0.15","0.0.20"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@cdnshell/loader/v/0.0.13","https://www.npmjs.com/package/@cdnshell/loader/v/0.0.19","https://www.npmjs.com/package/@cdnshell/loader/v/0.0.18","https://www.npmjs.com/package/@cdnshell/loader/v/0.0.16","https://www.npmjs.com/package/@cdnshell/loader/v/0.0.14","https://www.npmjs.com/package/@cdnshell/loader/v/0.0.15","https://www.npmjs.com/package/@cdnshell/loader/v/0.0.20"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14039","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14039","identifiers":["MAL-2026-14039"]},"retained":false,"historicalAffected":[]}],"coverage":[]}