fides

Flow Integrity Deterministic Enforcement System. Mechanisms for securing AI agents with information-flow control.

https://github.com/microsoft/fides

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.8%) to scientific vocabulary
Last synced: 9 months ago · JSON representation ·

Repository

Flow Integrity Deterministic Enforcement System. Mechanisms for securing AI agents with information-flow control.

Basic Info
  • Host: GitHub
  • Owner: microsoft
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 545 KB
Statistics
  • Stars: 50
  • Watchers: 5
  • Forks: 5
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License Code of conduct Citation Security Support

README.md

Securing AI Agents with Information-Flow Control

This repository contains a Jupyter notebook to accompany the academic paper "Securing AI Agents with Information-Flow Control". The notebook is structured as a tutorial to walk readers through the concepts introduced in the paper. This illustrates a practical implementation of mechanisms to deterministically enforce security policies in agentic tasks and grounds the concepts into executable code that readers can experiment with.

arXiv

Setup Instructions

The notebook has been tested against GPT-4o and GPT-4.1 using the Azure OpenAI Chat Completions API, but could be easily adapted to use an OpenAI endpoint instead. The code sets up the model endpoint in the client using a .env configuration file containing definitions for AZURE_ENDPOINT, API_VERSION and AZURE_DEPLOYMENT. Please copy the provided .env.example file to .env and edit as appropriate. The notebook authenticates to the Azure OpenAI Service using Microsoft Entra ID, but could be simply adapted to use key-based authentication if preferred.

For convenience, we provide a fully-evaluated notebook to illustrate the intended output, but we encourage readers to set up their own endpoint to experiment hands-on and reproduce our the outputs.

Citation

If you use wish to cite this work, please cite it as follows

BibTeX @misc{securing_ai_agents_with_ifc, title = {Securing {AI} Agents with Information-Flow Control}, author = {Costa, Manuel and K{\"o}pf, Boris and Kolluri, Aashish and Paverd, Andrew and Russinovich, Mark and Salem, Ahmed and Tople, Shruti and Wutschitz, Lukas and Zanella-B{\'e}guelin, Santiago}, year = {2025}, eprint = {2505.23643}, archivePrefix = {arXiv}, primaryClass = {cs.CR}, doi = {10.48550/arXiv.2505.23643} }

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit Contributor License Agreements.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Owner

  • Name: Microsoft
  • Login: microsoft
  • Kind: organization
  • Email: opensource@microsoft.com
  • Location: Redmond, WA

Open source projects and samples from Microsoft

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this work, please cite it as follows."
type: software
title: "Securing AI Agents with Information-Flow Control"
authors:
  - family-names: Costa
    given-names: Manuel
  - family-names: Köpf
    given-names: Boris
  - family-names: Kolluri
    given-names: Aashish
  - family-names: Paverd
    given-names: Andrew
  - family-names: Russinovich
    given-names: Mark
  - family-names: Salem
    given-names: Ahmed
  - family-names: Tople
    given-names: Shruti
  - family-names: Wutschitz
    given-names: Lukas
  - family-names: Zanella-Béguelin
    given-names: Santiago
preferred-citation:
  type: article
  title: "Securing AI Agents with Information-Flow Control"
  authors:
    - family-names: Costa
      given-names: Manuel
    - family-names: Köpf
      given-names: Boris
    - family-names: Kolluri
      given-names: Aashish
    - family-names: Paverd
      given-names: Andrew
    - family-names: Russinovich
      given-names: Mark
    - family-names: Salem
      given-names: Ahmed
    - family-names: Tople
      given-names: Shruti
    - family-names: Wutschitz
      given-names: Lukas
    - family-names: Zanella-Béguelin
      given-names: Santiago
  doi: "10.48550/arXiv.XXXX.YYYYY"
  journal: "arXiv preprint arXiv:XXXX.YYYYY"
  year: 2025

GitHub Events

Total
  • Watch event: 30
  • Public event: 1
  • Push event: 1
  • Fork event: 2
Last Year
  • Watch event: 30
  • Public event: 1
  • Push event: 1
  • Fork event: 2

Dependencies

pyproject.toml pypi
  • azure-identity >=1.23.0
  • docstring-parser >=0.16
  • ipykernel >=6.29.5
  • openai >=1.82.0
  • python-dotenv >=1.1.0
requirements.txt pypi
  • azure-identity >=1.23.0
  • docstring-parser >=0.16
  • ipykernel >=6.29.5
  • openai >=1.82.0
  • python-dotenv >=1.1.0