Security

Microsoft RAMPART and Clarity Open-Sourced

3 min read

Summary

Microsoft has open-sourced RAMPART and Clarity, two tools aimed at improving safety in agentic AI development. RAMPART brings repeatable adversarial and regression testing into CI pipelines, while Clarity helps teams challenge design assumptions early before code is written.

Need help with Security?Talk to an Expert

Introduction

Microsoft has introduced two new open-source tools designed to improve safety in agentic AI development: RAMPART and Clarity. As enterprise AI systems move beyond answering questions and begin taking actions across email, CRM, code, and business systems, the risks increase significantly. These tools aim to make AI safety a continuous engineering practice rather than a one-time review.

What’s new

RAMPART for continuous agent safety testing

RAMPART is an open-source testing framework built to help engineering teams turn AI red-team findings and incident learnings into repeatable tests.

Key capabilities include:

  • Writing safety tests as standard pytest scenarios
  • Running tests in CI pipelines like traditional integration tests
  • Focusing on cross-prompt injection and related adversarial scenarios
  • Supporting statistical trials for probabilistic LLM behavior
  • Reproducing production incidents and validating mitigations over time
  • Using composable evaluators to inspect tool use, side effects, and policy boundaries

Microsoft says RAMPART is built on top of PyRIT, its open automation framework for red teaming generative AI systems.

Clarity for early design validation

Clarity is designed to help teams question assumptions before implementation begins. Instead of accelerating coding, it helps teams confirm they are solving the right problem.

Clarity supports:

  • Structured conversations around problem definition
  • Solution exploration and failure analysis
  • Decision tracking for architecture and product choices
  • Output stored as human-readable Markdown in a .clarity-protocol/ repo directory
  • Use through a desktop app, web UI, or embedded coding agent

This creates a documented decision trail that can be reviewed in pull requests alongside source code.

Why this matters for IT and security teams

For security leaders, developers, and platform teams building AI agents, these tools address two common gaps:

  • Design mistakes early in the lifecycle that later become expensive security issues
  • Difficulty reproducing AI incidents and verifying that fixes truly hold up

RAMPART helps operationalize AI safety testing in the development workflow, while Clarity helps reduce risky architecture decisions before deployment. Together, they support a more disciplined approach to shipping enterprise AI systems.

Next steps

  • Review whether internal AI or agent projects need repeatable safety testing in CI
  • Evaluate RAMPART for prompt injection and regression testing scenarios
  • Consider using Clarity during architecture and product planning phases
  • Incorporate design reviews and incident learnings into ongoing AI governance practices

Microsoft has made both tools available now as open-source projects, giving engineering and security teams practical options for safer agent development.

Need help with Security?

Our experts can help you implement and optimize your Microsoft solutions.

Talk to an Expert

Stay updated on Microsoft technologies

AI securityagentic AIRAMPARTClarityprompt injection

Related Posts

Security

Microsoft Digital Defense Report 2026: Key Security Insights

Microsoft's 2026 Digital Defense Report highlights how AI and growing system interconnectedness are reshaping both cyberattacks and defense strategies. The report emphasizes that organizations must secure AI, identities, data, and cloud environments together while improving signal correlation across tools to detect modern threats faster.

Security

Government Cyber Risk in 2026: Microsoft’s 5 Priorities

Microsoft says government agencies were the most targeted sector in 2026, accounting for 27% of observed cyber threat activity. The company urges public-sector leaders to focus on five resilience priorities, including faster response, AI security, bidirectional information sharing, and planning for incidents that spread across suppliers and essential services.

Security

Microsoft Ignite 2026 Security Guide: Key Sessions

Microsoft has published its security guide for Microsoft Ignite 2026, highlighting AI-first security themes, a dedicated Security Pre-Day, and technical sessions focused on securing identities, data, devices, clouds, and AI agents. For IT and security teams, the event offers an early look at Microsoft’s roadmap and practical guidance for building an AI-ready security strategy.

Security

CVE-2026-73570: Zimbra Mail Server Exploitation

Microsoft is tracking active exploitation of CVE-2026-73570, an unauthenticated command injection flaw affecting internet-facing Zimbra mail servers with the optional zimbra-snmp package installed and SNMP notifications enabled. The issue can lead to web shell deployment, privilege escalation, mailbox data theft, and persistent remote access, making immediate patching and configuration review critical for administrators.

Security

Phishing Abuses RMM Tools for Persistent Access

Microsoft security researchers observed phishing campaigns in July 2026 that used a legitimate MSP360 RMM installer disguised as meeting invites, PDF updates, and other lures to gain remote access. Attackers then deployed ConnectWise ScreenConnect for redundant persistence, highlighting the need for tighter controls on remote management tools and better detection of unapproved RMM activity.

Security

Azure DevOps Attack Path Exposed in New DART Report

Microsoft’s latest DART cyberattack report shows how a single compromised identity was used to access Azure DevOps, alter pipelines, and harvest Kubernetes credentials. The case highlights how tightly connected identity, DevOps, and cloud environments can let attackers move far beyond source code, making stronger identity and pipeline controls essential.