Packagist Themes Exploit iPhone Visitors to Steal Messages, Passwords and Crypto Wallet Seeds

Thirteen malicious Composer themes on Packagist are being used to deliver iOS spyware that steals messages, passwords, and cryptocurrency wallet seeds from iPhone visitors.

The campaign targets Vietnamese movie and comic streaming sites built with OphimCMS or KKPhim, injecting malicious JavaScript into every page for mobile visitors.

Site operators install these themes via composer require, unknowingly trojanizing their front-end assets.

The injected code runs two operations a mobile gambling redirect chain for Android and iOS, and a sophisticated WebKit-to-kernel exploit chain exclusively for iPhones running iOS 18.4 through 18.6.x.

The iOS exploit weaponizes two public WebKit vulnerabilities (CVE-2025-31277 and CVE-2025-43529) to gain arbitrary read/write inside the browser renderer, then pivots through the GPU process before escaping to the kernel via the AppleM2ScalerCSCDriver IOKit user client.

Apple confirmed the kernel escape was already fixed in iOS 26.1, while the WebKit entry points were patched in iOS 18.7.3 and iOS 26.2.

Packagist Themes Spyware iPhone Crypto

Once the kernel escape succeeds, the spyware payload harvests keychain databases, Wi‑Fi passwords, SMS messages, contacts, photos, browser cookies, call history, location records, and account data.

The redeployed payload (August 2026) added targeted queries for cryptocurrency wallet seeds and mnemonics from Bitget, BitKeep, Bitpie, Phantom, Tonkeeper, Trust Wallet, and OKX.

The campaign at a glance: a trojanized Composer theme injects JavaScript that runs a mobile gambling redirect and, on iPhones, a FUNNULL-hosted WebKit-to-kernel exploit chain ending in spyware and crypto-wallet theft. The poster shows the five keychain query routines, which cover seven wallet apps (Source: socket)
The campaign at a glance: a trojanized Composer theme injects JavaScript that runs a mobile gambling redirect and, on iPhones, a FUNNULL-hosted WebKit-to-kernel exploit chain ending in spyware and crypto-wallet theft. The poster shows the five keychain query routines, which cover seven wallet apps (Source: socket)

All collected data is encrypted with a hardcoded AES key and exfiltrated over HTTPS to rotating command-and-control domains cloaked behind FUNNULL infrastructure.

Devices updated to iOS 18.7.3+ or iOS 26.2+ are not affected by the known exploit stages.

Site operators should audit installed themes against the five vendor namespaces (vsmov, vsphim, haiau009, chilltvcms, ophimcms), remove any matching packages, rotate credentials, and inspect shipped JavaScript for appended loaders.

The renderer stage reads the iPhone OS version from the user agent and fetches a payload matched to it, annotating each branch with the WebKit CVE it weaponizes (Source: socket)
The renderer stage reads the iPhone OS version from the user agent and fetches a payload matched to it, annotating each branch with the WebKit CVE it weaponizes (Source: socket)

Developers should pin and review all Composer dependencies, treating front-end assets as executable code in user sessions.

The campaign illustrates how supply-chain compromises in package ecosystems can weaponize ordinary website themes into drive-by exploit delivery platforms, extending from ad fraud to full device compromise and direct financial theft, socket said.

Indicators of Compromise (IOCs)

TypeIndicatorNotes
Malicious Packagist Packagesvsmov/theme-dyTrojanized Composer theme delivering iOS spyware daily
vsmov/theme-rrdywInjects gambling redirect and iOS exploit loader daily

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Detect, investigate, and respond faster with in-browser data inspection from ANY.RUN-> Power your SOC with ANY.RUN

Varshini
Varshini
Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies..

Trending News

Related Stories