cloud-iam-deep

cloud-iam-deep is a skill for Claude Code from Zyrexnn/Cybermes. It costs 238 tokens per session (6,774 once invoked), scanned B, a copy of cloud-iam-deep, Apache-2.0.

A guide to investigating cloud identity and access permissions across AWS, Azure, and Google Cloud after an external credential or token is found. It covers checking permissions, assuming roles, and analyzing possible privilege increases.

In plain words
What is it for?
Use it during an authorized external assessment when cloud credentials, metadata access, exposed storage, Kubernetes tokens, or a cloud-hosted system foothold are in scope.
Why use it?
A discovered cloud key or service token may provide more access than is immediately obvious. The guide helps trace what that credential can reach and whether it can lead to greater privileges.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the Claude-BugHunter plugin — 11 skills, 15 commands shipped together

Good fit Use it during an authorized external assessment when cloud credentials, metadata access, exposed storage, Kubernetes tokens, or a cloud-hosted system foothold are in scope.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zyrexnn/cybermes/cloud-iam-deep
About the project

Cybermes is an automation framework for authorized offensive-security work, including bug-bounty hunting, reconnaissance, vulnerability research, and structured reporting. Security practitioners use it through AI coding environments with modular playbooks, command-line tools, and Model Context Protocol support. The catalogue entries provide its commands, skills, plugin, instruction, and rule for agent-assisted security workflows.

Zyrexnn/Cybermes · 1,059 stars · on GitHub

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 Zyrexnn/Cybermes --skill cloud-iam-deep
Clone the repo
git clone --depth 1 https://github.com/Zyrexnn/Cybermes

Made for: Claude Code.

Or install Claude-BugHunter, the plugin that ships this one along with the rest of its 11 skills, 15 commands.

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-iam-deep

README.md
[![agentmods](https://agentmods.dev/badge/skills/zyrexnn/cybermes/cloud-iam-deep/github.svg)](https://agentmods.dev/skills/zyrexnn/cybermes/cloud-iam-deep)
Your own site
<a href="https://agentmods.dev/skills/zyrexnn/cybermes/cloud-iam-deep"><img src="https://agentmods.dev/badge/skills/zyrexnn/cybermes/cloud-iam-deep/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 cloud-iam-deep

Your own site · 80×15
<a href="https://agentmods.dev/skills/zyrexnn/cybermes/cloud-iam-deep"><img src="https://agentmods.dev/badge/skills/zyrexnn/cybermes/cloud-iam-deep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 238 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,774 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00238 $0.06774
Opus 5.5 $0.00095 $0.02710
Sonnet 5.5 $0.00048 $0.01355
Haiku 4.5 $0.00024 $0.00677

Measured 3mo ago against content hash d495d06f4039, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

cloud-iam-deep scanned grade B with 2 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 3mo 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.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

curl http://169.254.169.254/latest/meta-data/iam/security-credentials/

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl http://169.254.169.254/latest/meta-data/iam/security-credentials/
Origin

This is a copy

100% identical to cloud-iam-deep — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

knowledge/Claude-BugHunter/skills/cloud-iam-deep/SKILL.md · 522 lines

How it starts

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

When to use

Trigger when:

  • A cloud credential surfaces (key, secret, token, JSON file)
  • SSRF chain reaches IMDS / metadata endpoint
  • APK / git-leak reveals embedded cloud key
  • Recon shows public S3/GCS/Azure-blob with permissions you can verify
  • A Kubernetes API or service-account token is exposed
  • Post-RCE on a cloud-hosted instance — pivot to cloud control plane

Do NOT use for:

  • On-prem-only environments (use AD attack skills — but those are out of scope per external-only boundary)
  • Web2 vulns that happen to be on AWS — use the relevant hunt-* skill

Credential identification (first 60 seconds)

# AWS access key patterns
AKIA[0-9A-Z]{16}                # IAM user access key (long-term)
ASIA[0-9A-Z]{16}                # STS temporary credential
AGPA[0-9A-Z]{16}                # IAM group
AIDA[0-9A-Z]{16}                # IAM user (user-id)
AROA[0-9A-Z]{16}                # IAM role
ANPA[0-9A-Z]{16}                # Managed policy

# AWS secret pattern (40-char base64-ish — context required)
[A-Za-z0-9/+=]{40}              # AWS secret access key

# Azure
AccountKey=[A-Za-z0-9+/=]{86}   # Storage account key
client_secret pattern + UUID    # Azure AD app credential

# GCP service account JSON
{
  "type": "service_account",
  "project_id": "...",
  "private_key_id": "...",
  "private_key": "-----BEGIN PRIVATE KEY-----..."
}

# K8s SA token (JWT format — decode to confirm)
eyJhbGciOiJSUzI1...     # decode kid claim to see issuer

AWS — read-only validation (the safe first step)

# Set credential
export AWS_ACCESS_KEY_ID="AKIA..."
export AWS_SECRET_ACCESS_KEY="..."

# 1. WHO am I?
aws sts get-caller-identity
# Returns: UserId, Account, Arn
# Arn tells you: IAM user vs role, account ID, name

# 2. WHAT can I do? (the privesc question)
# Try common read-only first — failures still inform you
aws iam list-users 2>&1 | head -5
aws iam list-roles 2>&1 | head -5
aws iam list-policies 2>&1 | head -5
aws iam list-groups 2>&1 | head -5

# 3. WHAT policies are attached to me?
aws iam list-attached-user-policies --user-name <self>
aws iam list-user-policies --user-name <self>          # inline policies
aws iam list-groups-for-user --user-name <self>

# 4. Service-by-service surface
aws ec2 describe-instances --max-items 1 2>&1 | head
aws s3 ls 2>&1 | head -10
aws lambda list-functions --max-items 5 2>&1 | head
aws rds describe-db-instances --max-items 5 2>&1 | head
aws secretsmanager list-secrets --max-results 5 2>&1 | head
aws ssm describe-parameters --max-results 5 2>&1 | head

# 5. Audit any cross-account / external trust
aws iam list-roles --query 'Roles[?contains(AssumeRolePolicyDocument.Statement[0].Principal.AWS, `arn:aws:iam::`)]' 2>&1 | head -20

Read the full file on GitHub · 522 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. 3mo ago First seen · 522 lines · 238 tokens per session scan B d495d06f4039

Subscribe to this mod's changes

cloud-iam-deep is a skill published in the GitHub repository Zyrexnn/Cybermes (1,059 stars, last pushed 19d ago), licensed Apache-2.0. It adds 238 tokens to every session and 6,774 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it B with 2 findings (cloud metadata endpoint, makes network calls). It is 100% identical to cloud-iam-deep, differing in 0 lines, and is treated as a copy.

Related

cloud-iam-deep compared with skills from other repositories

cloud-iam-deep next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cloud-iam-deepZyrexnn/CybermesSkill1.1k19d agoApache-2.0B238Claude Code
forensics-kitFrancescoStabile/numasecSkill8587mo agoAGPL-3.0A101Claude Code, Codex
passive-osintFrancescoStabile/numasecSkill8587mo agoAGPL-3.0A99Claude Code, Codex
authz-recipetr4m0ryp/shorSkill141mo agononeA62Claude Code, Codex
jwt_tooltr4m0ryp/shorSkill141mo agononeA52Claude Code, Codex
git-security-historytr4m0ryp/shorSkill141mo agononeA86Claude Code, Codex
playwrighttr4m0ryp/shorSkill141mo agononeA53Claude Code, Codex