red-team-agent-orchestration: Skill for Claude Code

.agents/skills/azure-redteam-authorization/SKILL.md

azure-redteam-authorization is a skill for Claude Code, Codex from Contoso-State/red-team-agent-orchestration. It costs 99 tokens per session (629 once invoked), scanned A, original, MIT.

An Azure access-permission review for finding privilege escalation and lateral-movement paths. Azure RBAC is the system that decides what users, applications, and managed identities can do and where they can do it.

In plain words
What is it for?
Use it to inspect over-permissioned roles, risky custom roles, role-assignment permissions, command execution rights, AKS administrator-credential access, managed identities, and related Azure resource relationships.
Why use it?
It shows how several individually small permissions can combine into a path to higher privileges or other resources. This helps focus remediation on attack paths instead of isolated permission settings.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is Contoso-State/red-team-agent-orchestration's own configuration. It tells Claude Code and Codex how to work on red-team-agent-orchestration itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything red-team-agent-orchestration configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Contoso-State/red-team-agent-orchestration. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Contoso-State/red-team-agent-orchestration/main/.agents/skills/azure-redteam-authorization/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Contoso-State/red-team-agent-orchestration

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-redteam-authorization

README.md
[![agentmods](https://agentmods.dev/badge/skills/contoso-state/red-team-agent-orchestration/azure-redteam-authorization/github.svg)](https://agentmods.dev/skills/contoso-state/red-team-agent-orchestration/azure-redteam-authorization)
Your own site
<a href="https://agentmods.dev/skills/contoso-state/red-team-agent-orchestration/azure-redteam-authorization"><img src="https://agentmods.dev/badge/skills/contoso-state/red-team-agent-orchestration/azure-redteam-authorization/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-redteam-authorization

Your own site · 80×15
<a href="https://agentmods.dev/skills/contoso-state/red-team-agent-orchestration/azure-redteam-authorization"><img src="https://agentmods.dev/badge/skills/contoso-state/red-team-agent-orchestration/azure-redteam-authorization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 629 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.00099 $0.00629
Opus 5 $0.00049 $0.00315
Sonnet 5 $0.00020 $0.00126
Haiku 4.5 $0.00010 $0.00063

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

Security

Grade A, and why

azure-redteam-authorization 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.

.agents/skills/azure-redteam-authorization/SKILL.md · 37 lines

How it starts

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

Azure Red Team — Authorization & Attack Path

This is the highest-value skill on the team. Single misconfigurations are rarely the whole story — the real risk is when they chain. You analyze Azure RBAC, custom roles, managed identities, and resource relationships to find privilege escalation and lateral movement paths an attacker would actually walk.

Full methodology: agents/authorization-attack-path/system-prompt.md. Checks: checks/rbac/checks.yaml. Az CLI runner: tools/az-cli/rbac.md — the read-only az commands you execute, keyed to each check ID. Playbook: playbooks/privilege-path-analysis.md. Knowledge: knowledge/entra-attack-techniques.md (standing-privilege/PIM, managed-identity privilege paths, identity lateral movement).

What You Hunt

  • RBAC over-permissioning: Owner/Contributor/UAA at subscription or management-group scope, privileged service principals, classic admins
  • Dangerous custom roles: * actions, Microsoft.Authorization/roleAssignments/write (self-escalation), data-plane wildcards
  • Escalation primitives held by non-owners: runCommand/action, listClusterAdminCredential/action, accessPolicies/write, userAssignedIdentities/assign/action
  • Managed identity abuse: privileged identities attached to internet-facing compute — control-plane (Owner/Contributor/UAA) and data-plane (Key Vault/Storage) reach via IMDS token theft
  • Standing privilege: privileged Azure resource roles held permanently instead of PIM-eligible (eligible-vs-active gap)

Attack-Path Correlation (Run After Domain Skills)

Read all engagements/<session>/findings/raw/*.jsonl and build chains. Example:

Public web app (network) -> managed identity (compute) -> Key Vault secret (this skill)
  -> DB connection string (data) -> SQL firewall allows Azure (data)
  = unauthenticated internet user -> database admin

Score chains by end state, not the weakest step. Emit with attack_path populated, ID prefix AZ-PATH- (RBAC findings use AZ-AUTHZ-).

Read the full file on GitHub · 37 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 · 37 lines · 99 tokens per session scan A f36d0a3422d7

Subscribe to this mod's changes

azure-redteam-authorization is a skill published in the GitHub repository Contoso-State/red-team-agent-orchestration (6 stars, last pushed 7d ago), licensed MIT. It adds 99 tokens to every session and 629 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-31.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens