defender-for-cloud-ai

defender-for-cloud-ai is a skill for Claude Code, Codex from vinayaklatthe/microsoft-security-skills. It costs 239 tokens per session (2,026 once invoked), scanned A, original, MIT.

A guide to Microsoft Defender for Cloud’s protection for generative-AI workloads, including Azure OpenAI, Azure AI Foundry, Amazon Bedrock, and Google Vertex AI. It covers finding these deployments, checking their security posture, and detecting runtime threats.

In plain words
What is it for?
Use it to discover AI resources across supported clouds, review AI security posture, and monitor running AI applications for security threats.
Why use it?
It helps teams see where AI is deployed, identify exposed data and configuration problems, and detect attacks such as prompt injection, jailbreaks, and sensitive-data leakage.

Skill for Claude CodeCodex

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

Good fit Use it to discover AI resources across supported clouds, review AI security posture, and monitor running AI applications for security threats.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vinayaklatthe/microsoft-security-skills/defender-for-cloud-ai
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 defender-for-cloud-ai
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 defender-for-cloud-ai

README.md
[![agentmods](https://agentmods.dev/badge/skills/vinayaklatthe/microsoft-security-skills/defender-for-cloud-ai/github.svg)](https://agentmods.dev/skills/vinayaklatthe/microsoft-security-skills/defender-for-cloud-ai)
Your own site
<a href="https://agentmods.dev/skills/vinayaklatthe/microsoft-security-skills/defender-for-cloud-ai"><img src="https://agentmods.dev/badge/skills/vinayaklatthe/microsoft-security-skills/defender-for-cloud-ai/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 defender-for-cloud-ai

Your own site · 80×15
<a href="https://agentmods.dev/skills/vinayaklatthe/microsoft-security-skills/defender-for-cloud-ai"><img src="https://agentmods.dev/badge/skills/vinayaklatthe/microsoft-security-skills/defender-for-cloud-ai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 239 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,026 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.00239 $0.02026
Opus 5 $0.00120 $0.01013
Sonnet 5 $0.00048 $0.00405
Haiku 4.5 $0.00024 $0.00203

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

Security

Grade A, and why

defender-for-cloud-ai 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/defender-for-cloud-ai/SKILL.md · 145 lines

How it starts

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

Microsoft Defender for Cloud — AI Workload Protection

Defender for Cloud's AI plan protects the AI workloads themselves — the Azure OpenAI, Azure AI Foundry, Amazon Bedrock, and Google Vertex AI deployments your organization runs. Two capabilities:

  • AI Security Posture Management (AI-SPM): agentless discovery and posture (where AI is deployed, what grounding data is exposed, what misconfigurations exist).
  • Runtime threat protection for AI workloads: detections on Azure OpenAI for prompt injection, jailbreaks, sensitive-data leakage, wallet abuse, and credential leakage, integrating Azure AI Content Safety Prompt Shields.

When to use

You build or operate generative AI applications on Azure OpenAI / Azure AI Foundry (and optionally Bedrock/Vertex), and need posture + runtime detection on the workload side.

Do not use this skill for end-user-side AI governance (purview-ai-hub), Content Safety policy authoring (azure-ai-content-safety), or M365 Copilot rollout (copilot-for-m365-readiness).

What you get

Capability Scope
Multicloud AI discovery Azure (OpenAI, Foundry), AWS Bedrock, GCP Vertex AI (via existing multicloud connectors)
Sensitive grounding data exposure Identifies grounding storage with sensitive data + public/over-permissive access
Attack path analysis "Internet-exposed AI endpoint with sensitive grounding + over-privileged identity"
Runtime detections (Azure OpenAI) Prompt injection, jailbreak, sensitive data leakage in prompts/responses, suspicious access patterns, wallet abuse
Prompt Shields integration Detections leverage Content Safety prompt-shield signals
Alerts in Defender XDR Correlated incidents alongside cloud and identity signals

Approach

  1. Prereqs. Defender for Cloud enabled at subscription scope. Defender CSPM plan on (provides AI-SPM via attack path analysis). Defender for AI Services runtime plan on for Azure OpenAI workloads. For non-Microsoft clouds, the AWS/GCP connector must already be in place.

Read the full file on GitHub · 145 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 · 145 lines · 239 tokens per session scan A 3a9be716adc5

Subscribe to this mod's changes

defender-for-cloud-ai is a skill published in the GitHub repository vinayaklatthe/microsoft-security-skills (173 stars, last pushed 2mo ago), licensed MIT. It adds 239 tokens to every session and 2,026 once invoked, about $0.0012 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

deepspeed

Expert guidance for distributed training with DeepSpeed - ZeRO optimization stages, pipeline parallelism, FP16/BF16/FP8, 1-bit Adam, sparse attention.

davila7/claude-code-templates · 38 tokens

skill-meta-prompt

Craft better prompts using proven optimization techniques — use when your prompt needs refinement.

nyldn/claude-octopus · 19 tokens

dashscope

DashScope (Alibaba Cloud Bailian / 阿里云百炼) integration — image generation (qwen-image-2.0-pro), text-to-speech (qwen3-tts-flash), and ASR with word-level timestamps (qwen3-asr-flash-filetrans). Use when generating images via Qwen-Image, narrating via Qwen-TTS, or transcribing with word-level timestamps via Qwen-ASR.

calesthio/OpenMontage · 93 tokens

session-rag-eval

Run and debug Chatbox session attachment RAG model evaluation with synthetic and real long-file fixtures.

chatboxai/chatbox · 25 tokens

microsoft-extensions-ai

Build provider-agnostic .NET AI integrations with Microsoft.Extensions.AI, IChatClient, embeddings, middleware, structured output, vector search, and evaluation. USE FOR: building or reviewing .NET code that uses Microsoft.Extensions.AI, Microsoft.Extensions.AI.Abstractions, IChatClient, IEmbeddingGenerator…

managedcode/dotnet-skills · 128 tokens

semantic-kernel

Build AI-enabled .NET applications with Semantic Kernel using services, plugins, prompts, and function-calling patterns that remain testable and maintainable. USE FOR: adding AI-driven prompts, plugins, or orchestration to a .NET app; reviewing kernel construction, service registration, or plugin usage; building…

managedcode/dotnet-skills · 116 tokens