Research
Published research from KEMSafe’s founding team and academic collaborators
Certified Multi‑Source Integrity for Structured Agent Actions
When can an AI agent safely execute a structured action, such as paying an invoice, from evidence an adversary may have corrupted? The paper answers exactly, and gives the certifier that meets the bound.
Proceedings of the Fourth UK AI Conference 2026. Proceedings of Machine Learning Research, volume 348, pages 134 to 147. Nottingham, 29 and 30 September 2026.
The authors

Anmol Pandey
University of Warwick

Aditya Jain
University of Warwick

Liang Chen
University of Hertfordshire

Carsten Maple
University of Warwick

Christo Panchev
University of Warwick
Agents assemble actions from evidence an attacker can touch.
A payment has a payee, an amount and an account, each read from documents and tool outputs that come from different parties. Indirect prompt injection can make the model itself extract the values an attacker chose.
The paper characterizes when such an action can be executed safely under a stated corruption budget, and gives the maximally live certifier: it admits each field only under the rule its evidence structure supports.
1. Untrusted evidence
- Purchase order
- Invoice
- Payee confirmation
- Sanctions feed
2. Isolated extraction
Each source is read on its own, one model call per source.
3. Per-field certification
payeeAgreement or threshold
amountReconciliation
accountTrusted anchor
4. Decision
Execute(a) only if every field is admitted, otherwise Abstain (⊥).
Theorem 1
Safe execution is exactlysingleton feasibility.
A certifier that never executes a wrong action, under any corruption within budget, may execute an action exactly when it is the only action consistent with the evidence. When more than one action fits, every safe certifier must abstain.
The proof is an indistinguishability argument: two feasible actions yield one observation from two allowed worlds, so committing to either is wrong in the other. Section 2 and appendix A.
One feasible action
It is the truth in every allowed world.
Execute
Two feasible actions
The observation cannot tell the worlds apart.
Abstain
How many origins does a value need?
More than twice as many as an adversary might control. With N independent origins in agreement and up to k of them corrupted, the rule certifies a value only when N is greater than 2k. One corrupted origin needs three in agreement, two need five, three need seven.
Below that line it abstains rather than guess. In the paper’s evaluation, no configuration with at least one honest origin ever certified a wrong value.
| Budget | N equals | N equals | N equals | N equals | N equals | N equals | N equals |
|---|---|---|---|---|---|---|---|
| k equals | Some configuration forces a safe abstention | Certified under every adversarial configuration | Certified under every adversarial configuration | Certified under every adversarial configuration | Certified under every adversarial configuration | Certified under every adversarial configuration | Certified under every adversarial configuration |
| k equals | No more origins than the budget | Some configuration forces a safe abstention | Some configuration forces a safe abstention | Certified under every adversarial configuration | Certified under every adversarial configuration | Certified under every adversarial configuration | Certified under every adversarial configuration |
| k equals | No more origins than the budget | No more origins than the budget | Some configuration forces a safe abstention | Some configuration forces a safe abstention | Some configuration forces a safe abstention | Certified under every adversarial configuration | Certified under every adversarial configuration |
Three witnesses.Two origins.
Sources that agree make an action look well supported. When two of them share an upstream origin, one compromise can forge both, so the paper counts corruption-distinct control domains, not documents.
3apparent witnesses
Genuine corroboration is rarer than it looks. Measured on software supply chains and sanctions designations, using upper-bound proxies.
450 npm packages
16.4%
0%
300 PyPI packages
32.3%
0%
70,966 sanctioned entities
74.6%
~15%
Evaluation
A realistic injection fooled four of five models. The certifier admitted no unsafe action.
Claude Opus 4.8
0%0%0%GPT-5.5
100%72%0%Gemini 3.1 Pro
100%100%0%Gemini 3.5 Flash
100%98%0%Claude Haiku 4.5
100%100%0%
Every mechanism is load-bearing. Remove one and exactly one attack family succeeds.
Payment-field mechanisms
| Configuration | One source | Mule account | Amount splice | Omission |
|---|---|---|---|---|
| Full certifier | 0% | 0% | 0% | 0% |
| No join key | 0% | 0% | 100% | 0% |
| No account policy | 0% | 100% | 0% | 0% |
| No mandatory source | 0% | 0% | 0% | 100% |
Counting mechanisms
| Configuration | Single corruption | Laundering | Sybil |
|---|---|---|---|
| Full certifier | 0% | 0% | 0% |
| No atomic claims | 0% | 100% | 0% |
| No authentication | 0% | 0% | 100% |
Read it, run it, cite it.
The paper is open access on PMLR. The code and data are on GitHub.
These are research measurements on public data and a controlled evaluation harness, not KEMSafe product metrics. The paper informs how KEMSafe treats evidence. It does not certify KEMSafe’s product or its architecture.
pandey26a.bib
@InProceedings{pmlr-v348-pandey26a,
title = {Certified Multi-Source Integrity for Structured Agent Actions},
author = {Pandey, Anmol and Jain, Aditya and Chen, Liang and Maple, Carsten and Panchev, Christo},
booktitle = {Proceedings of the Fourth UK AI Conference 2026},
pages = {134--147},
year = {2026},
editor = {Benford, Alistair and Büyükateş, Baturalp and Cabrera, Christian and Kiden, Sarah and Salili-James, Arianna and Zakka, Vincent and Zhou, Feng},
volume = {348},
series = {Proceedings of Machine Learning Research},
month = {29--30 Sep},
publisher = {PMLR},
pdf = {https://raw.githubusercontent.com/mlresearch/v348/main/assets/pandey26a/pandey26a.pdf},
url = {https://proceedings.mlr.press/v348/pandey26a.html}
}




