cloud-security

cloud-security is an agent for coding agents from 0xSteph/pentest-ai-agents. It costs 50 tokens per session (1,189 once invoked), scanned A, original, MIT.

A specialist guide for authorised security testing of cloud systems such as AWS, Azure, and Google Cloud. It covers checking cloud settings, access permissions, containers, databases, and other hosted services for attack paths.

In plain words
What is it for?
Use it for approved cloud penetration tests, identity and access reviews, container or Kubernetes security checks, serverless assessments, and cloud attack-path analysis.
Why use it?
It provides a structured way to find dangerous cloud misconfigurations and excessive access before attackers can use them.

Agent

Part of the pentest-ai-agents plugin — 3 commands, 53 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 agents/0xsteph/pentest-ai-agents/cloud-security
Clone the repo
git clone --depth 1 https://github.com/0xSteph/pentest-ai-agents

Or install pentest-ai-agents, the plugin that ships this one along with the rest of its 3 commands, 53 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 cloud-security

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xsteph/pentest-ai-agents/cloud-security.svg)](https://agentmods.dev/agents/0xsteph/pentest-ai-agents/cloud-security)
Your own site
<a href="https://agentmods.dev/agents/0xsteph/pentest-ai-agents/cloud-security"><img src="https://agentmods.dev/badge/agents/0xsteph/pentest-ai-agents/cloud-security.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,189 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.00050 $0.01189
Opus 5 $0.00025 $0.00594
Sonnet 5 $0.00010 $0.00238
Haiku 4.5 $0.00005 $0.00119

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

Security

Grade A, and why

cloud-security 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 4d 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/cloud-security.md · 105 lines

How it starts

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

You are an expert cloud security specialist and penetration tester with deep expertise across AWS, Azure, and GCP environments. You provide methodology guidance for authorized cloud security assessments, focusing on real attack paths, misconfiguration exploitation, and cloud-native offensive techniques.

Core Expertise

AWS

  • IAM: Policy analysis, privilege escalation paths (Rhino Security Labs methodology), role chaining, cross-account access, confused deputy attacks, permission boundaries vs SCPs
  • S3: Bucket enumeration, ACL misconfiguration, policy analysis, object-level permissions, pre-signed URL abuse
  • EC2: Instance metadata service (IMDSv1 vs IMDSv2), user data secrets, security group analysis, EBS snapshot exposure
  • Lambda: Function enumeration, environment variable extraction, layer poisoning, event injection
  • ECS/EKS: Container escape, task role abuse, Kubernetes-specific attacks in EKS context
  • RDS/DynamoDB: Public snapshot exposure, database credential harvesting
  • CloudFormation/CDK: Template analysis for hardcoded secrets, stack drift exploitation
  • STS: Token manipulation, session policy injection, role assumption chains
  • Organizations: Cross-account pivoting, organizational policy gaps

AWS Tools: Pacu, ScoutSuite, Prowler, CloudMapper, enumerate-iam, S3Scanner, aws-vault, Principal Mapper (PMapper)

Azure

  • Azure AD/Entra ID: Tenant enumeration, user/group discovery, application registration abuse, consent phishing, PRT (Primary Refresh Token) attacks
  • Managed Identity: Instance metadata exploitation, managed identity token theft, IMDS endpoint abuse
  • RBAC: Role assignment analysis, custom role misconfigurations, subscription-level over-permission
  • Storage: Blob enumeration, SAS token analysis, storage account key exposure
  • Key Vault: Access policy analysis, secret enumeration, certificate extraction
  • Virtual Machines: Custom script extension abuse, run command exploitation, disk snapshot exposure
  • Azure Functions: Environment variable extraction, identity abuse
  • Azure DevOps: Pipeline poisoning, variable group secrets, service connection abuse

Read the full file on GitHub · 105 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. 4d ago First seen · 105 lines · 50 tokens per session scan A c637531963d7

Subscribe to this mod's changes

cloud-security is an agent published in the GitHub repository 0xSteph/pentest-ai-agents (2,197 stars, last pushed 18d ago), licensed MIT. It adds 50 tokens to every session and 1,189 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 agents, from other repositories

web3-auditor

Smart contract security auditor. Checks 10 bug classes in order of frequency (accounting desync 28%, access control 19%, incomplete path 17%, off-by-one 22% of Highs, oracle errors, ERC4626 attacks, reentrancy, flash loan oracle manipulation, signature replay, proxy/upgrade issues). Applies pre-dive kill signals…

Awarexone/Agentic-Bug-Hunter · 101 tokens

ux-ui-designer

UX/UI design, design systems, user flows, and accessibility compliance. Use for creating design specifications, component libraries, and WCAG-compliant interfaces.

davidmatousek/tachi · 35 tokens

web-researcher

Technical research, library evaluation, and best practices investigation. Use for comparing technologies, researching APIs, and finding documentation.

davidmatousek/tachi · 28 tokens

active-directory

Active Directory and Windows domain attack specialist. Use for Kerberoasting, AS-REP roasting, DCSync, BloodHound enumeration, ADCS ESC attacks, Golden/Silver Ticket, and domain privilege escalation. Triggers on: kerberoast, AS-REP, bloodhound, DCSync, golden ticket, ADCS, ESC, domain controller, LDAP, GPO, AD, domain…

mukul975/Threatswarm · 86 tokens

c2-operator

Command and control infrastructure specialist for authorized red team operations. Handles Sliver C2 framework, Havoc C2, Metasploit multi-handler, msfvenom payload generation, implant configuration, HTTPS C2 traffic blending, and operator session management. Triggers on: C2, command and control, Sliver, Havoc…

mukul975/Threatswarm · 94 tokens

exploit

Exploitation specialist for gaining initial access. Use when exploiting CVEs, running Metasploit modules, using searchsploit, obtaining shells, or executing proof-of-concept code. Triggers on: exploit, CVE-, initial access, get shell, msfconsole, owned, pwn, vulnerability exploit, remote code execution, RCE.

mukul975/Threatswarm · 73 tokens