azure-security-baseline

azure-security-baseline is a skill for Claude Code, Codex from AgenticPawan/FullStack-Pilot. It costs 82 tokens per session (1,293 once invoked), scanned A, original, MIT.

A checker for Azure Bicep files, which describe cloud infrastructure, based on Microsoft security controls. It checks areas such as public storage, private network access, identity, secrets, permissions, and threat logging.

In plain words
What is it for?
Use it to find public blob storage, missing private endpoints, connection-string authentication, inline secrets, excessive Owner or Contributor roles, and missing Defender plans.
Why use it?
It helps catch insecure cloud settings before infrastructure is deployed.

Skill for Claude CodeCodex

Part of the pilot-azure plugin — 15 skills, 3 agents shipped together

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.

agentmods
npx agentmods add skills/agenticpawan/fullstack-pilot/azure-security-baseline
Any agent
npx skills add AgenticPawan/FullStack-Pilot --skill azure-security-baseline
Clone the repo
git clone --depth 1 https://github.com/AgenticPawan/FullStack-Pilot

Made for: Claude Code, Codex.

Or install pilot-azure, the plugin that ships this one along with the rest of its 15 skills, 3 agents.

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-baseline

README.md
[![agentmods](https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/azure-security-baseline.svg)](https://agentmods.dev/skills/agenticpawan/fullstack-pilot/azure-security-baseline)
Your own site
<a href="https://agentmods.dev/skills/agenticpawan/fullstack-pilot/azure-security-baseline"><img src="https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/azure-security-baseline.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,293 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00082 $0.01293
Opus 5 $0.00041 $0.00647
Sonnet 5 $0.00016 $0.00259
Haiku 4.5 $0.00008 $0.00129

Measured 3d ago against content hash 02012862867b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

azure-security-baseline 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 3d 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.

plugins/pilot-azure/skills/azure-security-baseline/SKILL.md · 147 lines

How it starts

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

Standard IDs

ID Benchmark control Severity
ASB-NS-1 Network Security NS-1: no public access to storage P0
ASB-NS-2 Network Security NS-2: use private endpoints for PaaS P1
ASB-IM-1 Identity Management IM-1: managed identity over keys P0
ASB-IM-2 Identity Management IM-2: Key Vault for secrets, not inline P0
ASB-PA-1 Privileged Access PA-1: no Owner/Contributor at subscription P1
ASB-LT-1 Logging & Threat LT-1: Defender plan enabled P2

Check A — Public storage access (ASB-NS-1)

P0: exploitable now — unauthenticated data read.

// BAD: allowBlobPublicAccess enables anonymous blob read
resource sa 'Microsoft.Storage/storageAccounts@2023-01-01' = {
  properties: {
    allowBlobPublicAccess: true   // ASB-NS-1: P0
  }
}

// BAD: container-level public access
resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2023-01-01' = {
  properties: {
    publicAccess: 'Blob'          // ASB-NS-1: P0
    // or publicAccess: 'Container'
  }
}

// GOOD
properties: {
  allowBlobPublicAccess: false
  publicNetworkAccess: 'Disabled'
}

Detection rule: scan .bicep files for allowBlobPublicAccess: true or publicAccess: 'Blob' or publicAccess: 'Container'.


Check B — Private endpoints for PaaS (ASB-NS-2)

Flag SQL Server, Storage, Key Vault, Service Bus, and Container Registry resources that have publicNetworkAccess: 'Enabled' without a corresponding privateEndpoints resource.

// BAD: SQL Server open to public network
resource sql 'Microsoft.Sql/servers@2023-02-01-preview' = {
  properties: {
    publicNetworkAccess: 'Enabled'   // ASB-NS-2: P1
  }
}

// GOOD: public access disabled, private endpoint defined elsewhere
properties: {
  publicNetworkAccess: 'Disabled'
}

Check C — Managed identity over connection-string keys (ASB-IM-1)

P0: key rotation failure = immediate credential exposure.

Scan .bicep files for:

  • listKeys( function calls assigned to outputs or stored as secrets
  • storageAccountKey / primaryKey / secondaryKey references in connection-string outputs

Read the full file on GitHub · 147 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. 3d ago First seen · 147 lines · 82 tokens per session scan A 02012862867b

Subscribe to this mod's changes

azure-security-baseline is a skill published in the GitHub repository AgenticPawan/FullStack-Pilot (2 stars, last pushed 1mo ago), licensed MIT. It adds 82 tokens to every session and 1,293 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

subdomain-takeover-hunt

Detect and verify subdomain takeover via dangling CNAME to unclaimed services.

uphiago/recon-skills · 23 tokens

apim-terraform

Guide for creating Terraform files for Azure API Management (APIM) and related Azure services. Use when users want to create, modify, or understand Terraform configurations for APIM instances, APIs, backends, subscriptions, policies, products, loggers, diagnostics, and supporting infrastructure using the azurerm…

Azure-Samples/AI-Gateway · 87 tokens

apim-bicep

Guide for building Bicep files for Azure API Management (APIM) and related Azure services. Use when users want to create, modify, or understand Bicep templates for APIM instances, APIs, backends, subscriptions, policies, products, loggers, diagnostics, and MCP servers. This skill provides Bicep syntax, patterns from…

Azure-Samples/AI-Gateway · 86 tokens

awesome-azd-template-submit

Submit an azd template to the awesome-azd gallery. Use when asked to submit, add, or contribute a template to awesome-azd. Requires only a GitHub repository URL — all metadata (title, description, languages, frameworks, Azure services, IaC) is auto-detected by the submission pipeline.

Azure/awesome-azd · 72 tokens

drawio-aws

Use when the user asks for an AWS architecture diagram — VPC/networking, event-driven, landing zone, multi-AZ, serverless pipeline, or any diagram built with AWS service icons. Builds with the declarative layout engine using ground-truth mxgraph.aws4 stencils, validates (stencils/colors/nesting/geometry), runs a…

sparklabx/drawio-ai-kit · 94 tokens

cloud-iam-deep

GCP/AWS/Azure cloud exploitation -- Cloud Functions, Firestore, Cloud Run, S3, MinIO, Blob Storage, SA keys.

uphiago/recon-skills · 35 tokens