BRK319 · Breakout

Find and fix code vulnerabilities faster with Codename MDASH

  • Wednesday 18 November
  • 43 min
  • Catalogue level: (200) Intermediate
  • Our depth rating: 300
  • Worth watching: 2/3

Speakers: John Nix, Henrique Oliveira

Watch on Microsoft’s site from 02:25

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

The session introduces Codename MDASH, a multi-model agentic vulnerability scanning system of 100+ specialized agents running in four phases (preparation, scan, debate-based validation, dedupe), built by the team that won DARPA's AI Cyber Challenge. Microsoft reports that MDASH scans contributed to 1,415 CVEs addressed in October, more than the 1,273 fixed in all of 2025. A three-part demo chains a BOLA flaw with prompt injection against a fictional pharmacy app, then sets up MDASH in Microsoft Defender Exposure Management, triages a validated finding, creates a remediation PR and fixes the code with MDASH skills in GitHub Copilot. Operational guidance positions MDASH as a periodic deep assessment that complements SAST, notes that runs are non-deterministic and explains Foundry-based inference billing, spending limits and TPM-driven concurrency. Announcements cover MAI Cyber One in MDASH, the MDASH private preview, Project Perception integration and a GitHub Advanced Security deep scan on the roadmap.

Best for: Security engineers, AppSec leads and developers evaluating agentic AI code scanning alongside SAST in Defender and GitHub workflows.

Session timeline by chapter

New material starts at 02:25. After the speaker introductions and agenda, the session moves straight into the AI-driven exploitation context and MDASH's four-phase multi-model architecture at 02:25.

Where to skip: Skip to 02:25 for the architecture; the attack demo (09:56–15:18) can be skimmed. The core is the Defender setup and triage at 15:18, the GitHub Copilot fix at 19:25, operational guidance at 22:44 and billing/scaling at 28:07. Q&A at 37:34 covers languages and data protection; skip the closing at 41:03.

Chapters (12)

  1. 00:00 Recap Depth 100 · Novelty 0/3

    Speaker introductions and session agenda for Codename MDASH

    John Nix and Henrique Oliveira from the customer value creation (CVC) team introduce themselves and their work with early MDASH adopters since April. They outline target roles (CISOs, developers, security teams) and the agenda: the code security landscape, MDASH, a demo, operational guidance and how to get started.

  2. 02:25 Deep dive Depth 300 · Novelty 2/3

    AI-driven exploitation and MDASH's four-phase multi-model agent architecture

    AI now makes discovering and exploiting vulnerabilities much easier, illustrated by a FreeBSD remote code execution bug that went undetected for over 20 years until AI found it. MDASH is described as a multi-model agentic scanning system of 100+ specialized agents built by the team that won DARPA's AI Cyber Challenge. It runs in four phases: preparation (attack surface mapping), scan (auditor agents propose findings), validation (debater agents argue for and against each finding) and dedupe. It orchestrates frontier reasoning models, cheaper distilled models and independent counterpoint models, with agents derived from research on historical CVEs and their patches.

  3. 06:50 Deep dive Depth 200 · Novelty 2/3

    Vulnerability classes MDASH finds and Microsoft's internal CVE results

    According to private preview customers, MDASH finds vulnerabilities missed by static scanners, such as broken object level authorization (BOLA) and complex logic flaws. Internally at Microsoft it found use-after-free, double-free and race-condition issues leading to remote code execution via crafted packets. MDASH scans, used since early summer, contributed to 1,415 CVEs addressed in October, more than the 1,273 fixed in all of 2025.

  4. 09:56 Demo Depth 200 · Novelty 1/3

    Demo part 1: Chained BOLA exploit against the Caldova pharmacy app and its AI agent

    Henrique introduces Caldova, a fictional robotic pharmacy delivery service, and plays merchant owner, attacker, security analyst and developer. As merchant he shows a working dashboard and an AI support agent answering an order status question. As an unsophisticated attacker with an AI-driven tool and no credentials, he chains an unauthenticated toggle endpoint call with a prompt injection that the backend trusts with a different facility ID (BOLA), taking the facility offline and refunding a paid customer order.

  5. 15:18 Demo Depth 300 · Novelty 2/3

    Demo part 2: Setting up MDASH in Defender, running a scan and triaging findings

    As security analyst, Henrique connects GitHub (Azure DevOps also supported) in Microsoft Defender settings and opens MDASH under Exposure Management, where Foundry inference, source code connectors and scans are managed. He scans the merchant portal repo with a choice of Standard or MAI Cyber profile, then reviews status (functions, AI-validated findings, duration, tokens) and outputs (SARIF, HTML report, portal). A critical missing-authentication finding shows confidence, CWE ID, the agent debate and reproduction evidence, and a remediation PR is created from the Defender portal.

  6. 19:25 Demo Depth 300 · Novelty 2/3

    Demo part 3: Developer fixes findings with MDASH skills in GitHub Copilot and redeploys

    The proposed fix binds authorization to customer ID and facility ID. As developer, Henrique uses MDASH in his workflow to retrieve results, start scans, retrieve context and run prebuilt skills through GitHub Copilot to apply fixes for both vulnerabilities in a Python file. He rebuilds the app with existing gating processes intact, and rerunning the attack now fails on all exploits with only the vulnerable lines changed.

  7. 22:44 Deep dive Depth 300 · Novelty 2/3

    Operational guidance: MDASH vs SAST, scoping, non-determinism and custom harness risks

    MDASH is positioned as a deep exploratory assessment (the dentist visit) complementing SAST and secret scanning, which remain per-PR gating tools; it should run on major changes, risk checkpoints or new models. Teams should prioritize business-critical, externally exposed apps with triage owners and remediation capacity. Runs are non-deterministic, so findings vary between runs, and findings in the SARIF output can be reprioritized with Copilot using threat models, architecture and documentation. Custom open-source harnesses carry risks such as injected instructions to ignore high and critical findings, so the whole system around the models matters.

  8. 28:07 New Depth 300 · Novelty 3/3

    MAI Cyber One model in MDASH, Foundry-powered inference, billing and scaling

    MAI Cyber One is presented as part of MDASH and available today, described as a smaller model performing equivalently to larger models at a much lower price. MDASH itself is not charged as a service; inference is powered through the customer's Microsoft Foundry, connected via managed identity (recommended) or API key, with billing broken down per model. Optional Foundry spending limits can stop runs midway and yield incomplete results; raising TPM increases concurrency, with customers going from 2 to 20 concurrent scans.

  9. 30:28 New Depth 200 · Novelty 3/3

    Getting started roles, Project Perception pen test integration and GitHub deep scan

    John advises defining who operates MDASH and who applies fixes, and ensuring developers receive high-fidelity, contextualized findings with suggested remediation code and a human review before commit. MDASH results are being integrated with the web app pen test agent in Project Perception to steer validation of discovered issues. GitHub Advanced Security will offer fast, thorough and deep scans, with the deep scan powered by MDASH; this is in early preview and not available today.

  10. 34:14 Deep dive Depth 200 · Novelty 2/3

    Keys to success: scoping, ownership, scan duration factors and joining the private preview

    Recommendations: start small, identify application owners and escalation paths, and measure scan duration, which depends on code complexity, size and hygiene since more findings mean more debate-agent validation. Scan cadence can follow major releases or new models such as the just-announced MAI Cyber 2 model, and a solid remediation validation process with development teams is required. MDASH is in private preview; customers sign up at aka.ms/AI-driven-scanning-harness and contact their account team for nomination.

  11. 37:34 Q&A Depth 300 · Novelty 2/3

    Q&A: model selection, coexistence with SAST, supported languages and code protection

    Models are continuously evaluated for the best balance of quality and cost, chosen to complement each other for discovery and for challenging evidence. MDASH does not replace SAST, DAST or secret scanning but complements them for deeper, chained analysis. Java, C, C++ and C# have specialized sub-agents, while languages such as Go, PHP, Ruby and Kotlin use generalized agents, as listed in the documentation. Scans run on an encrypted temporary copy in the tenant, inference uses Microsoft-hosted services in an ephemeral environment, customer content is not used for training, and locations depend on tenant and Foundry configuration.

  12. 41:03 Closing Depth 100 · Novelty 0/3

    Related sessions, booth, lab and feedback

    John lists related sessions: the Project Perception roadmap (MDASH and web pen test agent), a Thursday lightning session with another demo, BRK325 on the MAI Cyber model, lab THR969 using MDASH, and GitHub's BRK282 covering deep scan with MDASH. The speakers invite questions at the booth and ask for session feedback.

Announcements (5)

  • 28:07 GA Codename MDASH

    MAI Cyber One in Codename MDASH

    A smaller security-focused model available in MDASH that is said to match larger models at a much lower price point.

    Speaker’s quote (at 28:07)
    „we heard today about MAI Cyber One. And this is part of MDash. It's available today.“
  • 32:14 not stated Codename MDASH

    MDASH integration with the Project Perception web app pen test agent

    MDASH results steer the Perception web app pen test agent toward discovered issues to validate them.

    Speaker’s quote (at 32:14)
    „We are integrating the results of M dash with the web app pen test. agent inside of perception.“
  • 33:36 roadmap Codename MDASH

    GitHub Advanced Security deep scan powered by MDASH

    A deep scan option in GitHub Advanced Security that surfaces MDASH results inside the GitHub Advanced Security experience.

    GitHub Advanced Security

    Speaker’s quote (at 33:36)
    „The deep scan functionality that's coming to GitHub Advanced Security is powered by M dash.“
  • 35:36 not stated Codename MDASH

    MAI Cyber 2 model

    A new MAI Cyber model mentioned as just announced and a trigger for re-running MDASH scans.

    Speaker’s quote (at 35:36)
    „let's say a major release in a model like what we're just announcing the MAI Cyber 2 model“
  • 36:48 private-preview Codename MDASH

    Codename MDASH private preview

    Customers can apply via a sign-up form and account team nomination to join the MDASH preview.

    Speaker’s quote (at 36:48)
    „Again, this is something that's in private preview, so those have to be be reviewed and accepted.“

Demos (3)

  • 09:56 Not easy to reproduce Codename MDASH (demo application Caldova)

    Show security teams how two code flaws in a web app with an AI support agent can be chained into a real exploit causing downtime, financial impact and data exposure.

    Steps (6)
    1. Sign in to the Caldova merchant dashboard as the merchant owner and confirm the facility is live.
    2. Open an order (Dana's order) to verify items, payment and receipt.
    3. Open the AI support agent chat and ask for an order status.
    4. Switch to the attacker persona and launch an AI-driven attack against the site without credentials or IDs.
    5. Review the attack HTML report: an unauthenticated request to the toggle endpoint using a discovered facility ID, and an authenticated prompt injection trusted by the backend with a different facility ID.
    6. Return to the merchant view to see the facility paused and the paid order refunded.
  • 15:18 Not easy to reproduce Codename MDASH in Microsoft Defender

    A security analyst connects repositories, scans a critical app, triages a validated finding and hands a proposed fix to developers as a pull request.

    Steps (10)
    1. In Microsoft Defender, go to Settings and connect source code organizations (GitHub or Azure DevOps).
    2. Go to Exposure Management and open the MDASH node.
    3. Set up the Microsoft Foundry connection used for inference.
    4. Review the configured source code connectors and open scan management.
    5. Select the repository to scan (merchant portal) and start the scan, choosing the Standard or MAI Cyber profile.
    6. Open the status page to see functions, AI-validated findings, scan duration and tokens consumed.
    7. Choose an output: SARIF file, HTML report or the portal.
    8. In security recommendations filter by severity, confidence level and repository.
    9. Open the finding to review confidence, CWE ID, the agent validation debate and the reproduction evidence.
    10. Propose a remediation to create a PR and review the vulnerability, file, lines and proposed fix in GitHub.

    Prerequisites: Access to MDASH (private preview), Microsoft Defender, a Microsoft Foundry connection for inference, and a GitHub or Azure DevOps source code connector.

  • 19:25 Not easy to reproduce Codename MDASH with GitHub Copilot

    A developer consumes MDASH findings in their own workflow and applies the proposed fixes with GitHub Copilot, then verifies the exploit no longer works.

    Steps (6)
    1. Review the PR diff in GitHub, including the new check binding authorization to customer ID and facility ID.
    2. In the developer environment, use MDASH to retrieve results and context (scans can also be started from here).
    3. Run the MDASH fix skill via GitHub Copilot on the first vulnerability and confirm the CWEs in the Python file are fixed.
    4. Run the same skill on the second vulnerability.
    5. Rebuild the application through the existing gating and approval processes and confirm containers start.
    6. Rerun the attack and confirm all previous exploits fail.

    Prerequisites: MDASH access (private preview), GitHub Copilot and MDASH skills in the developer environment.

Watch on Microsoft’s site: BRK319