Documentation

Docs / Related work

FIDES (Costa et al., Microsoft, 2025)

What it is

FIDES is a planner for AI agents that applies information-flow control, from Microsoft Research and Microsoft (Costa, Köpf, Kolluri, Paverd, Russinovich, Salem, Tople, Wutschitz, Zanella-Béguelin; arXiv 2505.23643, 2025). It tracks confidentiality and integrity labels on everything the agent handles and enforces policies deterministically at each tool call. Its distinctive part is a set of primitives that let the planner work with data without reading it, so the context does not become tainted.

Model

  • Labels: a product lattice. Integrity: trusted below untrusted (or sets of possible writers, joined by union). Confidentiality: public/secret, or sets of allowed readers, joined by intersection. A type label (bool, enum, string, ordered by how much information they can carry) is part of the product.
  • Propagation: tool results get the join of the tool's label and the labels of its inputs. The planner's context label is the join of everything it has seen. A model's output gets the label of its whole context, because labels cannot be tracked precisely through a model.
  • Hiding: results that would raise the context label are stored as named variables the planner can pass around without seeing. inspect puts a variable into context (and taints it). query_llm sends a variable to an isolated model with no tools whose answer is forced into a small type (a Boolean or an enum); low-capacity answers are treated as less dangerous.
  • Policies: P-T (trusted action): a consequential tool runs only if the context and arguments are trusted. P-F (permitted flow): an outgoing tool runs only if every recipient is an allowed reader of the data. Evaluated with "P-T or P-F" for egress tools.
  • Default: a consequential tool that fails its policy is blocked.

Formal semantics and what is proved

  • Defines non-interference for integrity and explicit secrecy for confidentiality. Explicit secrecy is weaker: it does not cover implicit flows through which tools are called.
  • Proposition 1: if P-T and P-F are applied correctly to every tool, the instrumented loop guarantees integrity non-interference and explicit secrecy. Proof on paper (in an appendix); we saw no mechanized proof.
  • AgentDojo: policy checks stop all the prompt injection attacks tested; hiding does not reduce task completion for reasoning models.
  • Stated limits: only tool calls are checked, not the final text; labels through models are conservative; query_llm answers can still be manipulated within their small type.

Purpose and use case

None.

Uncertainty

No probability. But the type-capacity idea (bool < enum < string) is a measure of how much an untrusted answer can say.

History and state

Labels accumulate over a session (the context label only rises).

What we can reuse

  • A stated, proved non-interference result for an agent loop. The template for our boundary theorem.
  • Capacity-typed answers from an isolated model. Our model readings should be enums over known use cases, never free text, and that limits what an injection can do to the decision.
  • Sets of readers as confidentiality labels; our recipients fit there.
  • The monotone context label as a simple history rule.

What it lacks for us

  • Labels only, not owners' rules over use cases, forms and positions.
  • No form ladder, no caps, no ask-whom.
  • No probability over readings, no disclosure ledger, no mechanized proof.

Key references

  • Costa et al., "Securing AI Agents with Information-Flow Control", 2025. https://arxiv.org/abs/2505.23643
  • Microsoft Research page. https://www.microsoft.com/en-us/research/publication/securing-ai-agents-with-information-flow-control/
  • Code and tutorial. https://github.com/microsoft/fides

Last built 2026-11-25