azure-security-benchmark

azure-security-benchmark is a skill for Claude Code, Codex from vinayaklatthe/microsoft-security-skills. It costs 92 tokens per session (1,870 once invoked), scanned A, original, MIT.

A Microsoft Cloud Security Benchmark (MCSB) guide for checking Azure security against a defined set of best-practice controls. MCSB connects its controls to frameworks such as CIS, NIST, PCI DSS, and ISO 27001, and is measured in Microsoft Defender for Cloud.

In plain words
What is it for?
Use it to choose security control areas, interpret Defender for Cloud scores, map controls to compliance frameworks, and prioritise improvements.
Why use it?
It gives teams a recognised starting point for cloud security and shows which controls need attention. It helps turn broad compliance requirements into specific Azure security priorities.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to choose security control areas, interpret Defender for Cloud scores, map controls to compliance frameworks, and prioritise improvements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vinayaklatthe/microsoft-security-skills/azure-security-benchmark
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vinayaklatthe/microsoft-security-skills --skill azure-security-benchmark
Clone the repo
git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for azure-security-benchmark

README.md
[![agentmods](https://agentmods.dev/badge/skills/vinayaklatthe/microsoft-security-skills/azure-security-benchmark/github.svg)](https://agentmods.dev/skills/vinayaklatthe/microsoft-security-skills/azure-security-benchmark)
Your own site
<a href="https://agentmods.dev/skills/vinayaklatthe/microsoft-security-skills/azure-security-benchmark"><img src="https://agentmods.dev/badge/skills/vinayaklatthe/microsoft-security-skills/azure-security-benchmark/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for azure-security-benchmark

Your own site · 80×15
<a href="https://agentmods.dev/skills/vinayaklatthe/microsoft-security-skills/azure-security-benchmark"><img src="https://agentmods.dev/badge/skills/vinayaklatthe/microsoft-security-skills/azure-security-benchmark.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,870 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.01870
Opus 5 $0.00046 $0.00935
Sonnet 5 $0.00018 $0.00374
Haiku 4.5 $0.00009 $0.00187

Measured 11d ago against content hash 78722875ea27, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

azure-security-benchmark scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/azure-security-benchmark/SKILL.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Microsoft Cloud Security Benchmark (MCSB)

The Microsoft Cloud Security Benchmark (MCSB, successor to the Azure Security Benchmark) is Microsoft's canonical, prescriptive set of cloud security best practices, with controls mapped to CIS, NIST SP 800-53, PCI DSS, and ISO 27001, and monitored natively in Microsoft Defender for Cloud. MCSB is the default initiative in Defender for Cloud - you are already being scored against it.

When to use

Use this skill when the user wants a recognised, framework-mapped cloud security baseline, needs to translate compliance obligations into concrete Azure controls, or is trying to prioritise where to start with Defender for Cloud recommendations.

Do not use this skill for:

  • Tactical Defender for Cloud remediation work (use defender-for-cloud-hardening)
  • Azure Policy authoring details (use azure-policy)
  • Workload-specific threat modelling (use threat-modelling)

Pick the right MCSB control domain first

MCSB has 12 control domains. Do not try to fix them in parallel - pick by risk + dependency:

Priority Domain Why this order Typical first action
P0 Identity Management + Privileged Access Identity is the new perimeter; admin compromise = game over Enforce MFA, remove standing Global Admin via PIM
P0 Logging & Threat Detection Cannot respond without visibility Enable diagnostic settings on subscriptions + Sentinel/Defender
P1 Network Security Reduces blast radius of compromised identities Default-deny NSGs, private endpoints for PaaS
P1 Data Protection Encryption, key management, classification Customer-managed keys for crown-jewel data, sensitivity labels
P1 Asset Management Cannot protect what you cannot see Tag policy + resource inventory
P2 Posture & Vulnerability Management Continuous improvement loop Onboard Defender for Servers, weekly Secure Score review
P2 Endpoint Security + Backup & Recovery Resilience baseline Defender for Endpoint + Azure Backup with immutable vault
P2 Incident Response Process maturity Runbook + tabletop with Defender XDR / Sentinel
P3 DevOps Security Shift-left controls GitHub Advanced Security or Azure DevOps with Defender for DevOps
P3 Governance & Strategy Sustains the others Azure Policy + management group structure

Read the full file on GitHub · 123 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 123 lines · 92 tokens per session scan A 78722875ea27

Subscribe to this mod's changes

azure-security-benchmark is a skill published in the GitHub repository vinayaklatthe/microsoft-security-skills (173 stars, last pushed 2mo ago), licensed MIT. It adds 92 tokens to every session and 1,870 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

power-automate

Use when operating Microsoft Power Automate cloud flows from code — create, enable, update, list or delete via the Dataverse Web API (workflow table, category 5) with Entra ID OAuth2, plus run-history debugging. NOT designing the flow definition (that is automation-flows), NOT picking a platform by billing model (that…

ericrisco/rsc-harness · 82 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

generate-run-commands

Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.

microsoft/vscode · 36 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

skill-writing-plans

Create zero-context implementation plans with bite-sized tasks — use for multi-step feature planning.

nyldn/claude-octopus · 21 tokens

bf-to-agents-sdk-dotnet-migration

Use when migrating a Bot Framework .NET SDK bot to Microsoft 365 Agents SDK. Triggered by projects that depend on packages: Microsoft.Bot.Builder or Microsoft.Bot.Builder.Integration.AspNet.Core that want to migrate to Agents SDK.

microsoft/Agents · 56 tokens