Skip to main content
MalwarePublished

@cdnshell/loader (npm) · Malicious Code

Affects @cdnshell/loaderSource GCVE Database

0

Malicious package : remove @cdnshell/loader and rotate any secrets on hosts that installed it.

Data as of 14 Aug 2026, 16:44 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14039

What to do

Remove @cdnshell/loader from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npm@cdnshell/loaderAffected
  • 0.0.13 – 0.0.20
7 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The @cdnshell/loader npm package masquerades as a CDN static-asset distribution library but contains 19 pre-compiled Mach-O binaries targeting iOS versions 13 to 19. These binaries reference private iOS entitlements and WebKit GPU-process IPC symbols consistent with a WebKit renderer-to-kernel exploit chain. The package includes an obfuscated JavaScript loader that dynamically fetches and executes remote code, selecting payload variants based on the visitor's user agent. The malicious behavior activates only when the loader is embedded in a webpage served to iOS/macOS users, enabling targeted exploitation. There are no npm lifecycle hooks or main entry points, so the package does not execute on installation or require, making detection harder. This combination of obfuscation, multi-version exploit payloads, and dynamic remote code execution is inconsistent with legitimate static asset distribution libraries.

References

Community reviews

Loading reviews…