Microsoft Open-Sources AI Safety Tools Rampart and Clarity to Enhance Software Development Security
May 20, 2026
Microsoft has open-sourced two AI-safety tools, Rampart and Clarity, to strengthen agent development safety and embed safety checks across the software lifecycle.
Rampart targets engineers during system construction for cross-prompt injection testing, while Clarity supports early design decisions and continuous safety analysis, with PyRIT handling post-build testing.
Rampart emphasizes repeatable tests and statistical trials to account for the probabilistic nature of large language models, enabling policy-driven pass/fail criteria across multiple runs.
The release signals a shift toward broader adoption of AI-safety tools, potentially reshaping how organizations manage cyber threats.
Key contributors and leadership for the projects are acknowledged, underscoring active governance and community involvement.
Findings from red-team exercises and real incidents can be translated into Rampart tests to prevent regressions and preserve institutional knowledge.
Open-sourcing Rampart and Clarity aims to foster collaboration and transparency, widening access to AI-safety capabilities.
Rampart focuses on cross-prompt injection and supports multiple test runs to reflect the probabilistic nature of AI systems, while its mature coverage centers on these attacks.
The coverage and context draw on industry outlets and Microsoft’s AI red-team leadership, grounding the tools in broader security discourse.
Clarity tracks evolving assumptions, prompts teams to revisit decisions, and promotes a continuous safety-centric development workflow.
The initiative emphasizes reproducibility of incident analyses and verifiability of mitigations as part of AI safety practices.
Clarity supports multi-perspective failure analysis with AI thinkers across security, human factors, adversarial, and operational domains, and logs decisions and dependencies for traceability.
Summary based on 9 sources
Get a daily email with more Tech stories
Sources

Microsoft Security Blog • May 20, 2026
Introducing RAMPART and Clarity: Open source tools to bring safety into Agent development workflow
The Hacker News • May 20, 2026
Microsoft Open-Sources RAMPART and Clarity to Secure AI Agents During Development
Campus Technology • May 20, 2026
Microsoft Releases Open Source AI Safety Tools for Agent Development -- Campus Technology
Campus Technology • May 20, 2026
Microsoft Releases Open Source AI Safety Tools for Agent Development -- Campus Technology