azure-security-audit

azure-security-audit is a skill for Claude Code, Codex from automateyournetwork/netclaw. It costs 57 tokens per session (1,000 once invoked), scanned A, original, Apache-2.0.

A read-only auditor for Azure network security groups, which are rule lists controlling traffic to cloud resources.

In plain words
What is it for?
Use it to audit NSGs, find overly permissive rules, inspect the effective rules on network interfaces, detect unused NSGs, and review flow-log and firewall context.
Why use it?
It checks whether these rules follow selected CIS Azure Foundations Benchmark recommendations and highlights exposed or unconnected security controls.

Skill for Claude CodeCodex

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

Good fit Use it to audit NSGs, find overly permissive rules, inspect the effective rules on network interfaces, detect unused NSGs, and review flow-log and firewall context.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/automateyournetwork/netclaw/azure-security-audit
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 automateyournetwork/netclaw --skill azure-security-audit
Clone the repo
git clone --depth 1 https://github.com/automateyournetwork/netclaw

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/automateyournetwork/netclaw/azure-security-audit/github.svg)](https://agentmods.dev/skills/automateyournetwork/netclaw/azure-security-audit)
Your own site
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/azure-security-audit"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/azure-security-audit/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-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/azure-security-audit"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/azure-security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,000 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00057 $0.01000
Opus 5 $0.00028 $0.00500
Sonnet 5 $0.00011 $0.00200
Haiku 4.5 $0.00006 $0.00100

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

Security

Grade A, and why

azure-security-audit 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 10d 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.

workspace/skills/azure-security-audit/SKILL.md · 88 lines

How it starts

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

Azure Security Audit

MCP Server

  • Server: azure-network-mcp (shared with azure-network-ops)
  • Command: python mcp-servers/azure-network-mcp/azure_network_mcp_server.py (stdio transport)
  • Requires: AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID
  • Read-only: All operations are observation-only

Relevant Tools

Primary Audit Tools

Tool What It Does
azure_audit_nsg_compliance Run CIS Azure Foundations Benchmark against all or specific NSGs
azure_list_nsgs List all NSGs with orphan detection (no subnet/NIC associations)
azure_get_nsg_rules Full rule list sorted by priority for a specific NSG
azure_get_effective_security_rules Effective aggregated rules on a NIC (all NSGs combined)

Supporting Context Tools

Tool What It Does
azure_get_network_watcher_status Flow log configuration and retention checks
azure_get_vnet_details Subnet-to-NSG associations for VNet topology context
azure_list_firewalls Azure Firewall policies for layered security context

CIS Azure Foundations Benchmark Rules

The compliance audit checks these rules from the CIS Azure Foundations Benchmark:

Rule Severity What It Checks
6.1 Critical RDP (port 3389) not open to 0.0.0.0/0 from internet
6.2 Critical SSH (port 22) not open to 0.0.0.0/0 from internet
6.3 High No unrestricted UDP (all ports) from internet
6.4 Medium NSG flow logs enabled with >= 90 day retention

Workflow: Full NSG Compliance Audit

When asked "audit NSG compliance" or "check Azure security posture":

  1. Discover: azure_list_nsgs -- get all NSGs, note orphaned ones
  2. Audit: azure_audit_nsg_compliance -- run CIS checks against all NSGs
  3. Deep dive: For each Critical/High finding:
    • azure_get_nsg_rules -- review the full rule set for context
    • Identify which subnets/NICs are affected via associations
  4. Effective rules: For critical NICs:
    • azure_get_effective_security_rules -- verify aggregated effective rules
  5. Flow logs: azure_get_network_watcher_status -- check flow log coverage
  6. Report: Summarize by severity, list affected resources, provide remediation steps

Read the full file on GitHub · 88 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. 10d ago First seen · 88 lines · 57 tokens per session scan A d5e9f276d786

Subscribe to this mod's changes

azure-security-audit is a skill published in the GitHub repository automateyournetwork/netclaw (652 stars, last pushed 3d ago), licensed Apache-2.0. It adds 57 tokens to every session and 1,000 once invoked, about $0.0003 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

implementing-aws-security-hub-compliance

Implementing AWS Security Hub to aggregate security findings across AWS accounts, enable compliance standards like CIS AWS Foundations and PCI DSS, configure automated remediation with EventBridge and Lambda, and create custom security insights for organizational risk management.

xalgorix/xalgorix · 53 tokens

performing-kubernetes-cis-benchmark-with-kube-bench

Audit Kubernetes cluster security posture against CIS benchmarks using kube-bench with automated checks for control plane, worker nodes, and RBAC.

xalgorix/xalgorix · 40 tokens

azure-review

Performs an Azure security posture review against the CIS Microsoft Azure Foundations Benchmark v2.1.0. Auto-invoked when reviewing Azure infrastructure, Entra ID configurations, NSG rules, Defender for Cloud settings, or Key Vault access policies. Walks through all nine benchmark sections, evaluates each…

UnitOneAI/SecuritySkills · 81 tokens

implementing-aws-security-hub-compliance

Implementing AWS Security Hub to aggregate security findings across AWS accounts, enable compliance standards like CIS AWS Foundations and PCI DSS, configure automated remediation with EventBridge and Lambda, and create custom security insights for organizational risk management.

Njones17/AI-agent-master-cyber-skills-list · 53 tokens

performing-kubernetes-cis-benchmark-with-kube-bench

Audit Kubernetes cluster security posture against CIS benchmarks using kube-bench with automated checks for control plane, worker nodes, and RBAC.

Njones17/AI-agent-master-cyber-skills-list · 40 tokens

Aws Compliance Checker

Automated compliance checking against CIS, PCI-DSS, HIPAA, and SOC 2 benchmarks.

mayurrathi/awesome-agent-skills · 23 tokens