.mlmodel) demonstrating denial-of-service vectors in protobuf-based model parsers.| File | Size | Vector |
|---|---|---|
poc_oom_weights.mlmodel | ~43 B | OOM via huge tensor shape declaration (innerProduct: 1M x 1M = ~4TB if allocated) |
poc_many_layers.mlmodel | ~321 KB | 10,000 neural network layers causing parser overhead and memory pressure |
benign.mlmodel | ~56 B | Minimal valid model for baseline comparison |
generate_pocs.py | - | Generator script for reproducibility |
poc_oom_weights.mlmodel)innerProduct layer with inputChannels=1000000 and outputChannels=1000000. If a parser naively pre-allocates the weight matrix, this requires 10^12 float32 values (~4 TB of memory), causing an out-of-memory condition.poc_many_layers.mlmodel)python generate_pocs.py.mlmodel files with any Core ML parser (e.g., coremltools.utils.load_spec())..mlmodel files