cloud-iam-deep

Analyze exposed cloud credentials and map IAM privilege escalation paths.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/AKasem1/claude-bug-bounty --skill cloud-iam-deep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloud-iam-deep
Source: https://github.com/AKasem1/claude-bug-bounty/tree/main/skills/cloud-iam-deep
Command: npx skills add https://github.com/AKasem1/claude-bug-bounty --skill cloud-iam-deep

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

cloud-iam-deep eliminates guesswork after a cloud credential is exposed by quickly validating what the credential can access and mapping likely IAM privilege-escalation paths across AWS, Azure, and GCP.

Core Features & Use Cases

  • Credential validation in minutes: Verifies identity and enumerates what IAM permissions the exposed AWS key, Azure credential/managed identity context, or GCP service account can actually exercise.
  • External-only cloud attack chain analysis: Focuses on paths that start from externally reachable leakage (e.g., leaked key/JSON, SSRF reaching metadata/IMDS, exposed K8s tokens) and then reasons about post-credential discovery privilege analysis.
  • Privilege escalation pattern guidance: Provides structured escalation techniques (e.g., AWS STS chaining and IMDSv1/v2 SSRF considerations, Azure Managed Identity abuse, GCP service-account JSON abuse, Kubernetes SA token abuse) while emphasizing guardrails and audit awareness.

Quick Start

Use the cloud-iam-deep skill to validate the exposed AWS access key and summarize what actions it permits plus the highest-priority escalation patterns it enables.

Frequently Asked Questions about cloud-iam-deep

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze exposed cloud credentials for IAM privilege escalation paths?

To analyze exposed cloud credentials for IAM privilege escalation, you validate the leaked identity and enumerate its active AWS, Azure, GCP, or Kubernetes permissions to map external attack chains. This process identifies what actions the credential grants and highlights likely escalation techniques.

What is the best way to check permissions for a leaked AWS access key or GCP service account JSON?

Checking permissions for a leaked AWS access key or GCP service account JSON involves making identity verification calls and scoped permission enumeration. This determines the exact IAM permissions the exposed credential can exercise and reveals potential cross-account trust relationships.

How does SSRF reaching instance metadata services lead to cloud IAM abuse?

SSRF reaching instance metadata services like AWS IMDS leads to cloud IAM abuse by allowing attackers to extract credentials or managed identity tokens. Once extracted, these credentials can be validated to determine their control-plane access and identify plausible privilege escalation patterns.

Can I use this approach to validate a Kubernetes service account JWT token?

Yes, you can validate a Kubernetes service account JWT token by analyzing the exposed credential to determine its control-plane access. The process enumerates the token's scoped permissions and maps engagement-safe IAM privilege escalation patterns within the cluster.

What are the limitations when mapping external cloud attack chains from credential leaks?

Limitations when mapping external cloud attack chains include the need for frontloaded credential identification and strict audit awareness. The analysis focuses on least-destructive, engagement-safe escalation patterns with clear guardrails to avoid unintended side effects during permission enumeration.

How do I enumerate Azure managed identity permissions after a token leak?

To enumerate Azure managed identity permissions after a token leak, you analyze the exposed token context to verify the identity and list its actual IAM permissions. This identifies potential managed identity abuse paths and maps structured escalation techniques.