No. 002

Extensions Security Scanner

Security · Cloud Infrastructure

Overview

A cloud-scale malware scanning platform built for the MAI Extensions Security team at Microsoft. It distributes the scan of a 30K+ extension catalogue across Azure and exposes the resulting verdicts through MCP tooling.

Problem

Scanning the extension catalogue serially took six hours for a complete pass. At that rate the catalogue is always behind reality — a malicious extension could sit unscanned for hours, and the security team had no way to query results programmatically.

Technical Approach

Designed a shard-based pipeline on Azure: partition the 30K+ extension catalogue into work units with consistent-hash affinity routing, schedule them across the compute pool with node-local SSD caching, aggregate the verdicts centrally, and surface the results through an MCP server so other teams could query them directly from their tooling.

Architecture

• C# / .NET scan workers distributed via Azure • Shard-based execution with consistent-hash affinity routing • Node-local SSD caching reaching 90% efficiency • Central coordinator for partitioning and aggregation • MCP server exposing scan tooling and verdicts • Failure-tolerant job retry and result caching • Reporting back into the extensions security pipeline

Highlights

  • Reduced a full catalogue scan from 6 hours to 2–5 minutes
  • Distributed execution across Azure compute pools
  • Tooling exposed to other teams through MCP
  • SDE Internship, Microsoft — May to July 2026

Context

Work completed during the SDE Internship at Microsoft, MAI Extensions Security.

Technologies

C#.NETAzureMCP