Through 2024, Wiz Research, notably Hillai Ben-Sasson and Sagi Tzadik, published a series of findings against AI-as-a-service platforms, consolidated in a Black Hat talk. The through-line is a single uncomfortable idea: on a platform that runs customer-supplied models, an AI model is code, and code you run for strangers is a tenant-isolation problem.
The platforms exist to let anyone upload a model and have it served on shared infrastructure. That convenience is the attack surface. If the container running an uploaded model can be made to execute the uploader's code, and if the isolation between tenants is imperfect, one customer's malicious model can become a foothold into a neighbor's data.
Two concrete results
Against Replicate, published in May 2024 after a January report to the vendor, Wiz achieved remote code execution as root in a container by uploading a malicious model in the platform's Cog container format. From there it reached a shared Redis instance, and Wiz said exploitation would have exposed the AI prompts and results of all Replicate customers. Against SAP AI Core, in a July 2024 write-up they called SAPwned, the researchers moved laterally past Istio traffic restrictions and reached customers' cloud credentials and private AI artifacts, including AWS credentials and SAP HANA Cloud credentials, along with cluster administrator access on SAP's Kubernetes cluster. Earlier research in the series applied the same malicious-model technique to Hugging Face, and the Black Hat talk covered all three providers.
What the research did and did not show
This was responsible-disclosure research, and it should be described as such. The exploitation was performed by Wiz; Replicate and SAP applied fixes, and Wiz stated that no customer data was compromised. The value of the work is the demonstrated path, not a body count. It maps out where shared-tenancy AI platforms are structurally fragile before criminals map it for you.
It also reframes a common assumption. Teams that would never run an unknown binary from the internet routinely pull models from public hubs and run them in production. The Wiz research is a reminder that the two acts are closer than they feel: a serialized model can carry an executable payload, and the platform running it is making a trust decision on your behalf.
The economics of the platforms explain why this is hard to fix. Their whole value proposition is to run arbitrary customer models cheaply, which pushes toward shared, densely-packed infrastructure rather than the expensive per-tenant isolation that would be safest. Every provider in this space navigates the same tension between cost and separation, and the strength of their isolation is largely invisible to the customer uploading a model. That is why Wiz's work matters beyond the specific bugs: it gives buyers a concrete question to ask. For teams consuming these services, the takeaway is not to avoid hosted AI, that ship has sailed, but to treat a provider's isolation architecture as a first-class part of due diligence, the way you would scrutinize a payment processor's segmentation.
What defenders should take away
- Treat third-party models as untrusted code. Prefer safe serialization formats, scan model artifacts, and run inference in strong sandboxes with no ambient credentials.
- Verify isolation on any AI platform you depend on. Ask providers how tenants are separated at the compute and credential layers, and weigh that in vendor selection.
- Deny the model standing secrets. An inference container should not hold long-lived cloud credentials that a cross-tenant escape could harvest.
- Catalog where you run external models. Every hosted-model integration is a place this class of flaw could reach you.
Wiz's AI-as-a-service work turned an abstract worry into demonstrated attack paths against named platforms. For anyone building on hosted AI, the first control is simply knowing which providers run your models and how they keep tenants apart.
Primary source. SAPwned: SAP AI vulnerabilities expose customers' cloud environments and private AI artifacts, Wiz, by Hillai Ben-Sasson, 17 July 2024.