# From Models to Services: Systematizing Security Assurance for Model-as-a-Service

> This survey maps Model-as-a-Service security across five layers, five trust boundaries, six adversaries and six goals, coding 120 studies and 50 defenses. Only 13.3% of the corpus addresses service-level goals; defense evaluations on real services also lag attacks.

- arXiv: https://arxiv.org/abs/2611.34623
- Authors: Jianming Zhou, Yang Luo, Guangpu Chen, Zhaoyu Chen, Yifeng Gao, Qingni Shen, Zhonghai Wu
- Published: 2026-11-27
- Topic: Inference & systems
- Visual carousel: https://instaxiv.com/p/2611.34623
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## What gets missed when language models become services?

**13.3%** of 120 studies address service-level goals

## The model sits inside a service stack

![Figure 1](https://cdn.instaxiv.com/figures/2611.34623/figure1.webp)

Model-as-a-Service (MaaS) serves models via provider APIs; developers build apps around them. Its five layers span model supply to output; the framework uses five trust boundaries, six adversaries and six goals. (Figure 1)

## Five trust boundaries create different attack surfaces

1. **Client to API (TB1)**: Prompts enter; callers can observe text, log-probabilities, embeddings or latency.
2. **Between tenants (TB2)**: Shared batching and prefix caches let one tenant's requests affect another tenant's latency.
3. **Inside the context (TB3)**: Developer instructions, user input and third-party content become one token sequence, with no enforcement point between them.
4. **Customer/provider and supply chain (TB4-TB5)**: Customers receive claims about the model and token count; upstream corpora, checkpoints and software can also be compromised.

## The security target includes the service contract

**Model-centric scope:** The survey finds that model-centric work often leaves provider-side model substitution and usage reporting outside its threat model.

**G4: service integrity:** At published decoding settings, sequence distributions (hidden reasoning included) must match the contracted model within agreed tolerance; bills track actual tokens at published prices; loaded artifacts execute only declared code.

## Research attention tilts away from service-level goals

![Figure 4](https://cdn.instaxiv.com/figures/2611.34623/figure4.webp)

Across 120 coded studies, behavioral integrity leads (53; 44.2%). Service integrity, availability and cost, and accountability together account for 16 distinct studies (13.3%); none of 50 defenses targets availability and cost. (Figure 4)

## Production tests favor attacks and measurements over defenses

**Attack/measurement:** 45 of 70 attack and measurement studies (64.3%) included a production service.

**Defenses:** 15 of 50 defense studies (30.0%) included a production service.

Transfer of open-model defense results to the APIs most deployments use remains untested.

## Who has to install the defense?

![Figure 3](https://cdn.instaxiv.com/figures/2611.34623/figure3.webp)

The figure groups defenses by deployer. Developers or users can deploy 20 of 50 without provider cooperation; the other 30 require it. None of the ten cryptographic or hardware defenses against the provider is unilateral. (Figure 3)

## Treat the counts as a map, not a census

- **Search coverage**: Search terms and venue priorities shape the 120-study corpus; newer work and less-studied goals may be undercounted.
- **Representative G3 sample**: Behavioral-integrity studies are representative, not exhaustive, so their share is a lower bound.
- **Coding judgment**: Agreement was lowest for adaptive-evaluation and client-deployability codes.

Best used when: Use the framework to locate threat-model and coverage gaps, not to estimate exact field-wide prevalence.

## Key takeaways

- MaaS security covers model behavior, shared inference, mixed-trust context, and the provider-customer contract.
- For a deployment, map each defense to its trust boundary, target adversary, evaluation setting, and actual deployer.
- Can customers verify the served model and billed tokens on production APIs at scale without provider cooperation?

## Links

- arXiv: https://arxiv.org/abs/2611.34623
- PDF: https://arxiv.org/pdf/2611.34623

## Citation

```bibtex
@article{zhou2026from,
  title   = {From Models to Services: Systematizing Security Assurance for Model-as-a-Service},
  author  = {Zhou, Jianming and Luo, Yang and Chen, Guangpu and Chen, Zhaoyu and Gao, Yifeng and Shen, Qingni and Wu, Zhonghai},
  journal = {arXiv preprint arXiv:2611.34623},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.34623}
}
```
