Harvesting Apple's Orchard: A Security Analysis of On-Device CoreML Models Across the Apple Ecosystem
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.
Nadia: We're looking at the paper: "Harvesting Apple's Orchard".
Paper summary: Tom: So, we're wrapping up this deep dive into that paper about harvesting Apple's CoreML models across their entire ecosystem.
Nadia: It’s called "Harvesting Apple's Orchard: A Security Analysis of On-Device CoreML Models Across the Apple Ecosystem," and the authors are trying to map out every single machine learning model sitting inside iOS, iPadOS, macOS, and tvOS.
Elias: What this paper really does is take a massive inventory of these models—over a thousand artifacts—and systematically analyze what they actually contain without ever seeing the source code >.
Priya: They found that many of those learned parameters are exposed in plaintext because there's no encryption on them in any container our analyzer could see Nadia.
Nadia: And they also uncovered sixteen hundred machine learning bundles that leak Apple’s internal build tokens, which is a big concern for the security of those models >.
Elias: But it’s not just about what's exposed; they also found these major gaps in defense, like no runtime integrity checking on the model data itself Priya.
Priya: That means if you bypass the volume seal, you can actually edit those weights because there's no check running while the app is open >.
Nadia: They also pointed out that there’s a lack of input normalization at the model boundary, meaning these models accept characters like zero width spaces that a human wouldn't even notice Elias.
Elias: And they found no validation of the model files when they are compiled, so the analysis runs past certain data file boundaries without checking for limits Priya.
Priya: So what does this mean for us is that the defense against these on-device models is mostly relying on a single volume seal, which they say is only one boot operation deep >.
Nadia: They’re saying the deterministic crash they found and the internal build token leakage were filed with Apple Product Security tracking ID OE1104416693631 for the crash Elias.
Elias: The authors are being careful not to say these findings cross a security boundary, but the structural issues they identified in how these models are stored across platforms are pretty significant Priya.
Nadia: So we’ve seen the inventory and the specific vulnerabilities; next time we're going to look at how an attacker could actually use those plaintext weights to run their own malicious inference.
Conclusion: Nadia: So, we’ve been looking at all these CoreML models across iOS, iPadOS, macOS, and tvOS now that we’ve seen what they contain and where the security holes are Elias.
Elias: Yeah, so we're talking about this paper called "Harvesting Apple's Orchard: A Security Analysis of On-Device CoreML Models Across the Apple Ecosystem," by those researchers.
Priya: The whole idea is that they systematically cataloged every single machine learning model running on these devices and showed us exactly what was inside.
Nadia: It’s pretty clear that a lot of the learned parameters are just sitting there in plaintext, unencrypted, which is worrying when you think about data privacy >.
Elias: And they found that sixteen hundred machine learning bundles leaked internal build tokens from Apple's own models, which is a serious security leak about how those models are built >.
Priya: Beyond the data exposure, they mapped out three big defense gaps: no runtime integrity for the weights, no input normalization at the model boundary, and no compile-time validation of the model files themselves >.
Nadia: It basically boils down to this: these models are deeply embedded in our systems, and if you can get past that initial volume seal on your device, those internal workings are pretty exposed Elias.
Elias: They also pointed out that performance varies a lot between devices, showing some structural differences in how the SMS text classifiers run compared to raw network variants >.
Priya: It suggests that the security and performance of these models depend heavily on where you are geographically or what language you't using >.
Nadia: So this paper gives us a clear map of the on-device CoreML surface, showing exactly where the risks are hiding in plain sight across the whole ecosystem Elias.
Elias: It makes you realize that because these models are so integrated into the operating system, they become a massive target for anyone trying to probe those systems >.
Priya: And it really drives home how critical input normalization is; if you don't normalize characters at the model boundary, the model can be manipulated easily >.
Nadia: The next step in this research is showing how these specific vulnerabilities can actually be exploited cheaply and how defenders can build defenses against them >.
VIA Cybersecurity Lab · Kwame Nkrumah University of Science and Technology
cs.CR
Submitted: 2026-11-23
Updated: 2026-11-23
Code: https://github.com/apple/coremltools
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 91/100
The gist: Apple ships hundreds of task-specific machine-learning models inside iOS, iPadOS, macOS, and tvOS.<ref:2611.31688#pg1…
Key concepts
- CoreML Artifacts
- These are the specific files and bundles that contain Apple's task-specific machine learning models running on devices. The researchers harvested 1,137 such artifacts from various iOS and macOS versions to examine their structure and security vulnerabilities.
- Adversarial Robustness
- This refers to how well a model resists malicious inputs designed to trick it. The study found that simple attacks, such as inserting zero-width spaces into SMS messages, could cause the model's prediction (e.g., promotional vs. transactional) to flip with high frequency.
- Weight Exposure
- This means the learned parameters or 'weights' of a machine learning model are exposed in plaintext without any encryption or integrity checks. The analysis uncovered 368 artifacts where these sensitive parameters were readable, posing a risk for reverse engineering.
Terminology
Summary
Apple ships hundreds of task-specific machine-learning models inside iOS, iPadOS, macOS, and tvOS. p. 0 Harvesting Apple’s Orchard: A Security Analysis of On-Device CoreML Models
Across the Apple Ecosystem
Justice Owusu Agyemang, Winifred Harriet Asante,
Kwame Opuni-Boachie Obour Agyekum, Kwame Agyeman-Prempeh Agyekum,
Francisca Adoma Acheampong, Jerry John Kponyo
VIA Cybersecurity Lab, Kwame Nkrumah University of Science and Technology, Kumasi, Ghana
Abstract
Apple ships hundreds of task-specific machine-learning models inside iOS, iPadOS, macOS, and tvOS, mediating spam
filtering, battery prediction, suggestions, and media analysis. We present, to our knowledge, the first systematic security
analysis of this on-device model surface. Apple reproduced the crash but declined all three as findings that do not
cross a security boundary; we report them, and the weightintegrity and phishing findings (which we did not file), as
robustness results. 1 Introduction
Apple devices ship hundreds of on-device models that run
silently in the background: they decide whether an SMS is
promotional or transactional, predict when to finish charging,
rank contacts, apps, and widgets, and analyze every photo
and video in the library. Harvesting Apple’s Orchard: A Security Analysis of On-Device CoreML Models
Across the Apple Ecosystem
Justice Owusu Agyemang, Winifred Harriet Asante,
Kwame Opuni-Boachie Obour Agyekum, Kwame Agyeman-Prempeh Agyekum,
Francisca Adoma Acheampong, Jerry John Kponyo
VIA Cybersecurity Lab, Kwame Nkrumah University of Science and Technology, Kumasi, Ghana
Abstract
Apple ships hundreds of task-specific machine-learning models inside iOS, iPadOS, macOS, and tvOS, mediating spam
filtering, battery prediction, suggestions, and media analysis. We present, to our knowledge, the first systematic security
analysis of this on-device model surface. We present, to our knowledge, the first systematic security
analysis of this on-device model surface. We harvested 1,137
CoreML artifacts from six platform images (iOS 26. Harvesting Apple’s Orchard: A Security Analysis of On-Device CoreML Models
Across the Apple Ecosystem
Justice Owusu Agyemang, Winifred Harriet Asante,
Kwame Opuni-Boachie Obour Agyekum, Kwame Agyeman-Prempeh Agyekum,
Francisca Adoma Acheampong, Jerry John Kponyo
VIA Cybersecurity Lab, Kwame Nkrumah University of Science and Technology, Kumasi, Ghana
Abstract
Apple ships hundreds of task-specific machine-learning models inside iOS, iPadOS, macOS, and tvOS, mediating spam
filtering, battery prediction, suggestions, and media analysis. We present, to our knowledge, the first systematic security
analysis of this on-device model surface. Harvesting Apple’s Orchard: A Security Analysis of On-Device CoreML Models
Across the Apple Ecosystem
Justice Owusu Agyemang, Winifred Harriet Asante,
Kwame Opuni-Boachie Obour Agyekum, Kwame Agyeman-Prempeh Agyekum,
Francisca Adoma Acheampong, Jerry John Kponyo
VIA Cybersecurity Lab, Kwame Nkrumah University of Science and Technology, Kumasi, Ghana
Abstract
Apple ships hundreds of task-specific machine-learning models inside iOS, iPadOS, macOS, and tvOS, mediating spam
filtering, battery prediction, suggestions, and media analysis. We present, to our knowledge, the first systematic security
analysis of this on-device model surface. 1, an iOS 26. 1 firmware add-on set, tvOS 26. Harvesting Apple’s Orchard: A Security Analysis of On-Device CoreML Models
Across the Apple Ecosystem
Justice Owusu Agyemang, Winifred Harriet Asante,
Kwame Opuni-Boachie Obour Agyekum, Kwame Agyeman-Prempeh Agyekum,
Francisca Adoma Acheampong, Jerry John Kponyo
VIA Cybersecurity Lab, Kwame Nkrumah University of Science and Technology, Kumasi, Ghana
Abstract
Apple ships hundreds of task-specific machine-learning models inside iOS, iPadOS, macOS, and tvOS, mediating spam
filtering, battery prediction, suggestions, and media analysis. We present, to our knowledge, the first systematic security
analysis of this on-device model surface. 8, and macOS 26. 5) and two device harvests (an
iPhone X on iOS 16. 5) and two device harvests (an
iPhone X on iOS 16. 7 and a jailbroken iOS 26. 7 and a jailbroken iOS 26. 1 virtual
test device); on the test device alone we inventoried 320
model files across 54 framework groups, and a conversion
pipeline recovered 155 previously opaque bundles as loadable . 1 virtual
test device); on the test device alone we inventoried 320
model files across 54 framework groups, and a conversion
pipeline recovered 155 previously opaque bundles as loadable . mlpackage archives. mlpackage archives. Eight findings. Eight findings. (1) 368 of 1,137
artifacts expose learned parameters in plaintext (281 blobs,
369. (1) 368 of 1,137
artifacts expose learned parameters in plaintext (281 blobs,
369. 61 MiB) with no encryption in any container our analyzer recognizes, and 166 of 166 MIL bundles leak internal
model-database tokens.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Model Surface Census
We inventory 320 model files across 54 framework groups on the test device and catalog 1,137 artifacts (98.mlmodel protobufs, 909 compiled. p. 1 We inventory 320 model files across 54 framework groups on the test device and catalog 1,137 artifacts
(98 . mlmodel protobufs, 909 compiled . mlmodel protobufs, 909 compiled . mlmodelc bundles, 130 loose blobs) from eight source groups—six
platform images and two device harvests. mlmodelc bundles, 130 loose blobs) from eight source groups—six
platform images and two device harvests. All 22 iPadOS protobufs are SHA-256-identical to their iOS counterparts, and 86 of tvOS’s 102 artifacts—84 of its 100
bundles (51 byte-identical plus 33 metadata-identical),
plus both protobufs—have an identical counterpart in
the other firmware harvests (Section 4. mlmodelc bundles, 130 loose blobs) from eight source groups—six
platform images and two device harvests. All 22 iPadOS protobufs are SHA-256-identical to their iOS counterparts, and 86 of tvOS’s 102 artifacts—84 of its 100
bundles (51 byte-identical plus 33 metadata-identical),
plus both protobufs—have an identical counterpart in
the other firmware harvests (Section 4. (The record set of Figure 1 counts 463 artifacts on the same device, adding loose
blobs and per-asset duplicates the inventory’s one-entry-perfile rule excludes. )
The static corpus of Figure 1a includes firmware and macOS and counts artifact kinds separately: 1,137 artifacts total—
98 . )
The static corpus of Figure 1a includes firmware and macOS and counts artifact kinds separately: 1,137 artifacts total—
98 . mlmodel protobufs, 887 . mlmodel protobufs, 887 . mlmodelc directories, 22 extracted . mlmodelc directories, 22 extracted . mlmodelc archives (21 from the iPhone X harvest),
and 130 loose weight blobs (ATX feature stores, namedentity dictionaries, Vision face-model blobs, tree-ensemble
_B0000. mlmodelc archives (21 from the iPhone X harvest),
and 130 loose weight blobs (ATX feature stores, namedentity dictionaries, Vision face-model blobs, tree-ensemble
_B0000. DAT files, and media-analysis cnn_*. DAT files, and media-analysis cnn_*. dat arrays).Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Adversarial Robustness Findings
Across 82,092 adversarial evaluation records (221 model paths; 77,396 predict calls with a comparable output), worst-case flip rates reach 100%; zero-width spaces flip 65% (13 of 20) of the Indian-English SMS filter and 70% (14 of 20) of the US-English variant under a surrogate embedding for its unresolved production tokenizer.<ref:2611.31688#pg3>. Loading Apple’s own handgesture model crashes libBNNS through the public CoreML API (4/4 on production M2 hardware; also reproduced on macOS 27. p. 0 (4) On the test
device, a 16-byte weight edit flips 7 of 8 probe inputs of the
interaction-prediction model (the eighth a 50/50 tie); no runtime integrity check was observed, and on a jailbroken device
one mount suspends the seal. (5) Loading Apple’s own handgesture model crashes libBNNS through the public CoreML
API (4/4 on production M2 hardware; also reproduced on macOS 27. (5) Loading Apple’s own handgesture model crashes libBNNS through the public CoreML
API (4/4 on production M2 hardware; also reproduced on macOS 27. 0)—a robustness defect from a 378-row weight walk
with no observed bound check.Where the paper says it
Where the paper says it
Weight Exposure and Poisoning
368 of 1,137 artifacts expose learned parameters in plaintext (281 blobs, 369.61 MiB) with no encryption in any container our analyzer recognizes and no runtime integrity check observed, and 166 of 166 MIL bundles leak Apple’s internal build tokens. p. 1 368 of 1,137 artifacts expose learned
parameters in plaintext (281 blobs, 369. 61 MiB) with no
encryption in any container our analyzer recognizes and
no runtime integrity check observed, and 166 of 166 MIL
bundles leak Apple’s internal build tokens (Section 4.Where the paper says it
Performance and Architectural Divergence
Device-level numbers replace workstation proxies: 13.1–52.0 ms for SMS text classifiers, 2. p. 0 4% of text-classifier time in the CPU-side NLP core (tokenizer, embedding, and network), not ANE execution. (8) The
SMS classifiers label 8–9 of 10 hand-crafted phishing messages (80–90%) as Transactional—the model’s own output,
before any manipulation; we measure classifier labels, not
inbox-placement outcomes. 0 ms for SMS
text classifiers, 2. 6 ms for raw network variants,
<0. Locale variants diverge architecturally, not just in weights. The SMS filter ships as separate model sets per locale,
and the divergence is structural.Where the paper says it
Where the paper says it
Where the paper says it
Defense Gaps and Disclosure
Three gaps recur. First, no runtime integrity for model data: /System files are authenticated in aggregate by the sealed volume, individually by nothing we could find; once the seal is suspended, arbitrary valid-format weight edits execute. p. 9 In the code paths we
inspected, nothing verifies the weight bytes—no checksum,
no signature on data files, no CoreML-side seal check, and no
trustcache entry for model data; arbitrary valid-format edits
load and execute. The only control observed is the sealed
system volume. Injecting zero-width characters (ZWSP, ZWJ, ZWNJ) between
characters of an SMS flips 65% of mainModel_INEN predictions (13 of 20 benchmark messages)—the model with
100% baseline accuracy—identically on all three recorded
copies (iOS, iPadOS, and the test device’s framework copy),
whose checksums match and whose attacked outputs are
bit-identical (Section 4. Replacing Latin characters with
Cyrillic homoglyphs at 100% rate flips 50% of both
mainModel_INEN and subClassModel_INEN, and 30% substitution flips 10–35% depending on the model and platform
copy (subClassModel_INEN is the more sensitive of the two). 3 The sealed system volume
Modern Apple platforms boot from a signed, sealed APFS
snapshot: the root volume is read-only at runtime and its
seal is verified at boot, so modifications under /System do
not survive a reboot [8]. Platform code does not re-verify
individual data files at use time; Section 4. Loading
Apple’s own hand_gesture model through the public
CoreML API segfaults inside libBNNS (4/4 on production M2 hardware; also reproduced on macOS 27. 0); we
trace the fault to a 378-row weight walk that performs
no observed bound check; we assess it as a robustness
defect, not an exploitable vulnerability (Section 4.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Conclusion of Findings
We presented, to our knowledge, the first systematic analysis of Apple’s on-device CoreML surface: 1,137 artifacts across six platforms, plaintext weights, no runtime integrity check, and a public-API crash Apple ruled a self-crash.<ref:2611.31688#pg7>. We report the internal-path disclosure as non-exploitable based on active testing (Section 5. p. 0 We filed three reports with Apple
Product Security Security: the crash, the internal build-token
leakage, and the internal storage-path disclosure. Apple reproduced the crash but declined all three as findings that do not
cross a security boundary; we report them, and the weightintegrity and phishing findings (which we did not file), as
robustness results. We filed three reports with Apple
Product Security Security: the crash, the internal build-token
leakage, and the internal storage-path disclosure. Apple reproduced the crash but declined all three as findings that do not
cross a security boundary; we report them, and the weightintegrity and phishing findings (which we did not file), as
robustness results. 0)—a robustness defect from a 378-row weight walk
with no observed bound check. Apple verified the behavior
and classified it as a self-crash that does not cross a security
boundary; we agree, and treat it as an availability/robustness
finding rather than a vulnerability. 0)—a robustness defect from a 378-row weight walk
with no observed bound check. Apple verified the behavior
and classified it as a self-crash that does not cross a security
boundary; we agree, and treat it as an availability/robustness
finding rather than a vulnerability. No user data was collected or inspected. Model weights are
Apple’s intellectual property: we publish metadata, analyses,
and attack descriptions, and we do not redistribute weights. Model weights are
Apple’s intellectual property: we publish metadata, analyses,
and attack descriptions, and we do not redistribute weights. The deterministic crash, the internal build-token leakage, and
the internal storage-path disclosure were filed with Apple
Product Security Security (tracking ID OE1104416693631 for
the crash); Apple reproduced the crash but declined all three
as findings that do not cross a security boundary (Section 5.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Reproducibility Package
A reproducibility package accompanies this submission at https://github.com/jayluxferro/on-device-coreml-security (anonymously hosted, no tracking). p. 1 Model weights are
Apple’s intellectual property: we publish metadata, analyses,
and attack descriptions, and we do not redistribute weights. The deterministic crash, the internal build-token leakage, and
the internal storage-path disclosure were filed with Apple
Product Security Security (tracking ID OE1104416693631 for
the crash); Apple reproduced the crash but declined all three
as findings that do not cross a security boundary (Section 5. Unlike Apple’s cloud services, this surface has received almost no systematic public study: the models ship as compiled
. mlmodelc bundles whose serialization is not documented
and are scattered across dozens of private framework directories under /System/Library; extracting them programmatically requires firmware images or a jailbroken device. A shipped
style-transfer model (resnet-16) produces a strong style-0
stylization of neutral-gray inputs that is invariant to brightness perturbations (identical output L2 across attacks, with
substantial deviation from the gray source; the measurement
is released as two supplementary dataset rows, Appendix B)—
an output that does not degrade gracefully. An app-item network named for its explicit feature ordering is not columnorder invariant: permuting its 471 feature columns changes
the output by L2 ≈ 15. A deterministic crash in a shipped model. Loading
Apple’s own hand_gesture model through the public
CoreML API segfaults inside libBNNS (4/4 on production M2 hardware; also reproduced on macOS 27.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Ethics and Scope
All models were harvested from devices and firmware images we own, using a public jailbreak on a research virtual device and publicly distributed firmware.<ref:2611.31688#pg14, No user data—messages, photos, contacts, or telemetry—was accessed, collected, or analyzed at any point; all inputs to models were synthetic or drawn from public examples >. p. 1 All models were harvested from
devices and firmware images we own, using a public jailbreak
on a research virtual device and publicly distributed firmware. No user data was collected or inspected. No user data was collected or inspected. Model weights are
Apple’s intellectual property: we publish metadata, analyses,
and attack descriptions, and we do not redistribute weights. Model weights are
Apple’s intellectual property: we publish metadata, analyses,
and attack descriptions, and we do not redistribute weights. The deterministic crash, the internal build-token leakage, and
the internal storage-path disclosure were filed with Apple
Product Security Security (tracking ID OE1104416693631 for
the crash); Apple reproduced the crash but declined all three
as findings that do not cross a security boundary (Section 5. We filed three reports with Apple
Product Security Security: the crash, the internal build-token
leakage, and the internal storage-path disclosure. Apple reproduced the crash but declined all three as findings that do not
cross a security boundary; we report them, and the weightintegrity and phishing findings (which we did not file), as
robustness results. 1 test device. All modifications were restored and verified byte-identical
afterwards. (8) The
SMS classifiers label 8–9 of 10 hand-crafted phishing messages (80–90%) as Transactional—the model’s own output,
before any manipulation; we measure classifier labels, not
inbox-placement outcomes. We filed three reports with Apple
Product Security Security: the crash, the internal build-token
leakage, and the internal storage-path disclosure. CoreML also supports ondevice personalization: a bundle compiled with isUpdatable
exposes an updateParameters/ directory and can be retrained at runtime through MLUpdateTask [7]. 3 The sealed system volume
Modern Apple platforms boot from a signed, sealed APFS
snapshot: the root volume is read-only at runtime and its
seal is verified at boot, so modifications under /System do
not survive a reboot [8]. CoreML also supports ondevice personalization: a bundle compiled with isUpdatable
exposes an updateParameters/ directory and can be retrained at runtime through MLUpdateTask [7]. 3 The sealed system volume
Modern Apple platforms boot from a signed, sealed APFS
snapshot: the root volume is read-only at runtime and its
seal is verified at boot, so modifications under /System do
not survive a reboot [8].Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Inference Latency Analysis
Per-stage instrumentation shows where the cost goes: The MLModel wrapper contributes about 2.0 ms of exclusive time and the inference engine about 2. p. 1 2) emits it. Since iOS 15, Apple has migrated models to the
mlProgram model type, encoding the network as a program
in Apple’s Model Intermediate Language (MIL) [6] (first
shipped for converters in 2020 [5]); MIL bundles lower at
runtime through Apple’s Espresso compiler to E5RT (CPU
kernels backed by BNNS) or the Neural Engine (ANE). 2 ms legacy-format), with
92. 4% of text-classifier time in the CPU-side NLP core (tokenizer, embedding, and network), not ANE execution. Token-level attacks target models
that consume embeddings rather than text. The two corpora
total 82,092 campaign rows across 221 model paths—82,085
predict() calls plus seven __population__ distributionsummary rows; the path count is over per-platform copies,
not distinct models. Unicode attacks defeat the best text classifiers. Injecting zero-width characters (ZWSP, ZWJ, ZWNJ) between
characters of an SMS flips 65% of mainModel_INEN predictions (13 of 20 benchmark messages)—the model with
100% baseline accuracy—identically on all three recorded
copies (iOS, iPadOS, and the test device’s framework copy),
whose checksums match and whose attacked outputs are
bit-identical (Section 4. A remote adversary supplies
content—SMS text, MMS or email payloads, media—that
a system model consumes; the weakest capability, but the
one that matters most for user-visible features such as spam
filtering and media analysis. Out of scope: malicious models or weights injected through
Apple’s own delivery channels (firmware and signed assets are
assumed authentic), converter-toolchain supply-chain compromise, network interception of MobileAsset downloads, and
malicious Apple insiders. Injecting zero-width characters (ZWSP, ZWJ, ZWNJ) between
characters of an SMS flips 65% of mainModel_INEN predictions (13 of 20 benchmark messages)—the model with
100% baseline accuracy—identically on all three recorded
copies (iOS, iPadOS, and the test device’s framework copy),
whose checksums match and whose attacked outputs are
bit-identical (Section 4. Replacing Latin characters with
Cyrillic homoglyphs at 100% rate flips 50% of both
mainModel_INEN and subClassModel_INEN, and 30% substitution flips 10–35% depending on the model and platform
copy (subClassModel_INEN is the more sensitive of the two). The pipeline is therefore
model-only: any message scoring below 0. 85 on the promotional head falls through to the transactional class with no
regex or rule-based safety net, so each adversarial flip in Section 4.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
No runtime integrity check for model data can be implemented, allowing arbitrary valid-format edits to execute because
no checksum, no signature on data files, no CoreML-side seal check
is observed in the code paths inspected. -
An AI system can be hardened against weight poisoning by implementing a perfile load-time hash that would have caught every poisoning payload of Section 4.5 cheaply and by model signing to protect the updatable path.
-
The SMS pipeline should incorporate input normalization at the model boundary, such as stripping plus compatibility folding, to address zero-width variants measured in Section 4.2 and homoglyphs requiring a confusable-class detector (UTS 39 [21]).
-
The system can be designed with tiered decision making where tiers disagree by construction—using different inputs, normalization, or an independent signal—to ensure defense-in-depth rather than relying on the current structure where
the two tiers fail separately.
-
For models exhibiting robustness defects like the hand gesture model crash, the system architecture should enforce a checked-but-wrong bound or overflowed length check during weight walks to prevent segmentation faults.
-
The AI system can be made resilient to adversarial input by using surrogate character-level embedding reconstruction for tokenized networks, as
token-level ZWSP insertion flips 70% of mainModel USEN predictions
under this reconstruction. -
The system should monitor and potentially flag when a model exhibits a significant label skew, such as the
95:5 label skew
observed in mainModel BRPT, which is consistent with thecollapsed-embedding hypothesis.
Abstract
Apple ships hundreds of task-specific machine-learning models inside iOS, iPadOS, macOS, and tvOS. We present, to our knowledge, the first systematic security analysis of this on-device surface. We harvested 1,137 CoreML artifacts from six platform images and two device harvests, and a conversion pipeline recovered 155 previously opaque bundles as loadable mlpackage archives. Eight findings. (1) 368 of 1,137 artifacts expose plaintext learned parameters (281 blobs, 369.61 MiB) and 166 of 166 MIL bundles leak internal model-database tokens. (2) Specification versions 1-9 coexist and locale variants diverge architecturally. (3) Across 82,092 adversarial evaluations (221 model paths), worst-case flip rates reach 100%; zero-width spaces flip 65% of the Indian-English and 70% of the US-English SMS filter. (4) A 16-byte weight edit flips 7 of 8 probe inputs of a system model, with no runtime integrity check observed. (5) Loading Apple's own hand-gesture model crashes libBNNS through the public CoreML API (4/4 on production M2, also macOS 27.0); Apple ruled it a self-crash outside the security boundary. (6) Eleven bundles ship isUpdatable=1 hooks. (7) SMS text-classifier latency is 13.1-52.0 ms, 92.4% in the CPU-side NLP core, not the ANE. (8) The classifiers label 8-9 of 10 phishing messages Transactional. We filed three reports with Apple Product; all were declined as not crossing a security boundary, and we report the findings as robustness results.
Related papers
- RustMizan: A Compilable, Contamination-Aware Benchmarking Framework for Rust Vulnerabilities
- Introducing the Generative Application Firewall (GAF)
- Opal: Private Memory for Personal AI
- Fuel as Identity: Authenticating Inter-Satellite Laser Links after Total Key Compromise
- Merkle Trees Minimize Verifier Complexity in the ROM
- VulCPE: Context-Aware Cybersecurity Vulnerability Retrieval and Management