Codename MDASH overview (preview)

Codename MDASH is an agentic code scanner within Microsoft Defender that uses a multi-model agentic AI system to assist security and engineering teams detect and fix code vulnerabilities with unprecedented depth and accuracy.

How it works

This service uses a multistage agentic pipeline where specialized AI agents collaborate to find, validate, and prove vulnerabilities:

  • Prepare — The system ranks files by risk using call-graph analysis and code complexity metrics, prioritizing functions most likely to contain vulnerabilities.
  • Scan — More than 100 specialized AI agents (for example, injection-auditor, memory-safety-auditor, auth-bypass-auditor) analyze the ranked code using multiple LLMs. Each agent targets a specific vulnerability class.
  • Validate — The system uses taint analysis and type resolution through Language Server Protocol (LSP) servers. A multi-model agentic debate refines confidence and eliminates false positives.
  • Dedup — The system consolidates duplicate findings, producing a final set of unique, actionable vulnerabilities.

Key features & capabilities

Capability Description
AI-powered vulnerability detection Submits code repositories to a multi-model agentic pipeline that identifies vulnerabilities with greater depth than traditional, pattern-matching static analysis.
Granular confidence scoring Rates each finding with a confidence score so teams can prioritize with precision.
AI-generated code fixes Uses the defender fix command in the Defender CLI to generate and apply code fixes directly from scan results.
Centralized results in Defender portal Publishes findings to Microsoft Security Exposure Management for organization-wide tracking and triage.
Deployment and developer integration Connects directly to GitHub and Azure DevOps using connecters, triggers on-demand scans locally or in the CI/CD via Defender CLI and integrates with AI coding environments using a dedicated agentic SKILL.

Language support

MDASH detects your project's language(s) automatically based on file extensions, and will use specialized language-specific sub agents to detect vulnerabilities in the following languages:

Language File Extension(s)
Java .java
C/C++ .c, .h, .c.in, .cc, .cpp, .cxx, .hh, .hpp
C# .cs
JavaScript** / TypeScript .js, .mjs, .cjs, .ts, .tsx, .mts **Minified Javascipt is currently excluded from the languages MDASH supports.
Python .py, .pyw

Additional Languages Supported by Generalist Sub-Agents

If your repository contains additional common file types, MDASH will use general purpose vulnerability discovery sub-agents to scan these files, and scan quality will vary.

Language File Extension(s)
Objective-C .m
Objective-C++ .mm
Go .go
Kotlin .kt, .k, .kts
PHP .php, .phtml, .inc, .module, .install, .theme
Ruby .rb
Rust .rs
Swift .swift
Zig .zig

Requirements

Allow list

The following domains must be reachable from the machine or pipeline running the CLI.

Required for defender scan ai-scan

  • *.cli.dfd.security.azure.com
  • *.blob.core.windows.net
  • *.azurefd.net
  • *.login.microsoftonline.com
  • *.graph.microsoft.com
  • aspm-data-externalapi-prd.security.aspm.microsoft.com

Required for GitHub Actions (OIDC)

  • *.token.actions.githubusercontent.com

Required for Azure Pipelines (OIDC)

  • *.dev.azure.com

Recommended for telemetry

  • *.in.applicationinsights.azure.com
  • *.dc.services.visualstudio.com

Optional

  • *.aka.ms

Required for scan fs

  • *.ghcr.io
  • *.public.ecr.aws
  • *.registry-1.docker.io
  • *.auth.docker.io

Cloud and region support

Although Codename MDASH is available in the Azure commercial cloud in the following geographic regions listed below, Microsoft Foundry integration is supported only in Azure regions that also support the Azure OpenAI Responses API. Before configuring Microsoft Foundry integration with Codename MDASH, verify that your selected Azure region supports the Responses API. For the latest list of supported regions, also see Use the Azure OpenAI Responses API.

Geography Region Azure region identifiers
US United States westus, centralus, eastus, eastus2, westus3, northcentralus, southcentralus
EU Europe swedencentral, francecentral, westeurope, germanywestcentral, italynorth, spaincentral, polandcentral, norwayeast
UK United Kingdom uksouth
AUS Australia australiaeast
IND India southindia
CH Switzerland switzerlandnorth, switzerlandwest
UAE United Arab Emirates uaenorth

Note

UAE currently supports MDASH CLI scans only.

Optional MAI Cyber model integration

Codename MDASH supports optional integration with the MAI Cyber model through Microsoft Foundry.

The MAI Cyber model is not required to use Codename MDASH. Customers can use standard codename MDASH scanning capabilities without deploying or configuring the MAI Cyber model.

For customers who choose to enable MAI Cyber integration, the model is available in the following Microsoft Foundry regions:

  • Australia
  • Brazil
  • Canada
  • France
  • Germany
  • India
  • Italy
  • Japan
  • Korea
  • Norway
  • Poland
  • Singapore
  • South Africa
  • Spain
  • Sweden
  • Switzerland
  • United Arab Emirates
  • United Kingdom
  • United States
  • Western Europe

Next steps