Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in @cdnshell/loader (npm)

0
High
Published: 08/14/2026 (08/14/2026, 15:18:55 UTC)
Source: GCVE Database
Product: @cdnshell/loader

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.

Affected software

npmghsa
@cdnshell/loader
Affected versions
=0.0.13=0.0.19=0.0.18=0.0.16=0.0.14=0.0.15=0.0.20

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/14/2026, 16:44:16 UTC

Technical Analysis

The @cdnshell/loader npm package is a malicious library that delivers a multi-stage exploit targeting iOS/macOS devices via WebKit vulnerabilities. It ships with 19 pre-compiled Mach-O binaries for various iOS versions, including variants for a64e/PAC architectures, referencing private entitlements and IPC symbols indicative of a renderer-to-kernel exploit chain. The JavaScript entrypoint is heavily obfuscated and dynamically fetches and executes remote modules based on the visitor's platform, enabling remote code execution. The package does not execute during npm install or require, activating only when embedded in web content served to targeted devices. This behavior and payload set strongly indicate a sophisticated supply chain attack vector designed to compromise iOS/macOS users through malicious web content.

Potential Impact

Devices running iOS versions 13 through 19 and macOS that visit webpages embedding this loader may be targeted by a WebKit exploit chain capable of executing code with elevated privileges. The exploit leverages private entitlements and kernel-level primitives, potentially allowing attackers to escalate privileges and execute arbitrary code on the device. The malicious code is not triggered by npm install or require, reducing detection during development but posing a significant risk to end users exposed via web content. There is no evidence of active exploitation in the wild at this time.

Mitigation Recommendations

No official patch or remediation is currently documented. Since the package does not execute on npm install or require, avoid embedding or serving the @cdnshell/loader package in any web content, especially to iOS/macOS users. Monitor and audit dependencies for this package and remove any usage immediately. Check vendor advisories or npm security notices for updates or removal actions. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-14039
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a7f43efbf8831d5395d72f7

Added to database: 08/14/2026, 16:35:59 UTC

Last enriched: 08/14/2026, 16:44:16 UTC

Last updated: 08/14/2026, 23:01:19 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses