Skip to content

Harvesting the Apple Orchard: Security Analysis of On-Device CoreML Models in the Apple EcosystemHarvesting Apple's Orchard: A Security Analysis of On-Device CoreML Models Across the Apple Ecosystem

arXiv: 其他 AI 安全论文· arXiv:2611.31688· Justice Owusu Agyemang, Winifred Harriet Asante, Kwame Opuni-Boachie Obour Agyekum, Kwame Agyeman-Prempeh Agyekum, Francisca Adoma Acheampong, Jerry John Kponyo·Indexed by this site · 10 hr ago· Originally publishedSelected Event· Its place in the scan record →SelectedAttention40

Quick read

Based on the paper's full text (AI-generated); refer to the original

AI summaryResearchers at Kwame Nkrumah University of Science and Technology in Ghana conducted a systematic security analysis of on-device CoreML models in the Apple ecosystem, collecting 1137 model artifacts from six platform mirrors and two devices, and found issues including plaintext storage of weights, no observed runtime integrity verification, and adversarial fragility. 368 artifacts exposed learning parameters in plaintext (281 weight files totaling 369.61 MiB), and all 166 MIL packages leaked Apple internal build tokens; on a jailbroken test device, a 16-byte weight change flipped 7 of 8 probe inputs for an interaction prediction model. The adversarial evaluation covered 221 model paths with 82,092 records in total, with a worst-case flip rate of 100%, and zero-width characters flipped 13 of 20 benchmark messages for an Indian English SMS filtering model. Loading Apple's built-in gesture model could reliably trigger a libBNNS crash via the public CoreML API (4/4 reproductions on M2 hardware); the SMS classifier, when not manipulated, labeled 8–9 of 10 handcrafted phishing SMS messages as transaction category (classifier labels, not measured in an inbox).

Questions
Apple devices ship with hundreds of system-level CoreML models that process untrusted inputs such as SMS filtering, charging prediction, and suggestion ranking, and their outputs are treated as fact by other components, yet this attack surface has previously seen almost no systematic public research.
Methods
1,137 CoreML artifacts were collected from six platform images and two devices, a static analyzer and an .mlmodelc→.mlpackage conversion pipeline were built (recovering 155 models), and adversarial robustness, latency, weight poisoning, and crash tests were conducted.
Experiments and results
368 artifacts expose weights in plaintext, and 166 MIL bundles leak internal build tokens; zero-width characters flip 65% of the best SMS filter's predictions; a 16-byte weight modification flips 7 of 8 probes of the interaction prediction model, and no runtime integrity check was observed; loading a bundled gesture model triggers a libBNNS crash via a public API; the SMS classifier labels 8–9/10 phishing messages as Transactional.
Limitations and future work
The survey covers only obtainable OS versions, and the plaintext count is a lower bound from 64 KiB sampling; device data come from virtual test devices; the 155 converted models were executed via the desktop runtime, and fidelity was not verified; the SMS benchmark has only 20 messages and the phishing probe 10; the USEN adversarial results are based on a substitute embedding; the seal bypass requires jailbreaking the boot chain, and the impact of daemon-level crashes remains hypothetical.
Why it was selectedThe paper inventoried and tested 1137 built-in CoreML models across Apple's six major platforms; plaintext weights, 16-byte poisoning and adversarial fragility provide concrete references for on-device model protection.

The paper inventoried and tested 1137 built-in CoreML models across Apple's six major platforms; plaintext weights, 16-byte poisoning and adversarial fragility provide concrete references for on-device model protection.

Paper analysis in progress

Related events and news

1 events · 0 news mentions

Read originalarxiv.org