cloud-pentest
Skill by awarexone
Guides post-access cloud exploitation on AWS, GCP and Azure once credentials or a metadata endpoint are obtained. It covers IAM privilege escalation, IMDS credential theft, storage checks and secrets harvesting. It is written for authorized engagements only.
Install cloud-pentest
Built from the published package, never by AI.
git clone --depth 1 https://github.com/awarexone/Agentic-Bug-Hunter /tmp/Agentic-Bug-Hunter && mkdir -p ~/.claude/skills && cp -r /tmp/Agentic-Bug-Hunter/skills/cloud-pentest ~/.claude/skills/cloud-pentestRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/awarexone/Agentic-Bug-Hunter /tmp/Agentic-Bug-Hunter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Agentic-Bug-Hunter/skills/cloud-pentest ~/.gemini/antigravity-cli/skills/cloud-pentestAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
cloud-pentest is a skill for AI assistants that covers what to do after access to a cloud account is obtained. It starts by identifying the identity behind leaked AWS keys, GCP service-account JSON, Azure tokens or metadata credentials. It then walks through enumeration, privilege escalation paths, storage checks and secrets harvesting on AWS, GCP and Azure.
The source states that it assumes authorized scope only and requires read-only enumeration before any state change. It asks testers to prove impact with benign or own-account objects rather than real customer data. It is intended for security testers on authorized engagements who hold cloud keys, a metadata endpoint reached through SSRF, or a token. Bucket discovery is referred to the separate cloud-recon skill.
Written from the project's SKILL.md and checked against it.
What it can do
- AWS enumeration and privescLists identity details and IAM policies, then maps common privilege escalation permissions.
- Metadata credential theftCovers IMDSv1 and IMDSv2 requests and GCP and Azure metadata token endpoints.
- GCP impersonationDescribes service account impersonation, key creation and custom role abuse on GCP.
- Azure managed identity and RBACLists role assignments and resource access paths for Azure managed identities.
- Storage checksOutlines checks for public, writable and cross-account S3, GCS and Blob storage.
- Secrets harvestLists places to look for secrets after access, such as env vars, parameter stores and Terraform state.
- Finding report templateProvides a per-finding report format covering entry, escalation, impact and fix.
What you need
- AWS CLI, gcloud CLI or Azure CLI, as used in the commands
- Explicit written authorization for the target cloud account
- Cloud credentials such as AWS keys, GCP service-account JSON or an Azure token
Try asking
- Enumerate what this AWS access key can do and list possible privilege escalation paths
- Check whether this GCP service account can impersonate a higher-privilege account
- Show what this Azure managed identity can access and which role assignments it has
Good to know
- Assumes authorized scope only.
- Requires read-only enumeration before any state change.
- Discovered accounts or roles are not automatically authorized and need scope confirmation.
- Real customer data must not be exfiltrated; proof uses canary or own-account objects.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cloud-pentest/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to cloud-pentest
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
cloud-pentest: common questions
When should I use cloud-pentest instead of cloud-recon?
The source says to use cloud-pentest after you have credentials or reached a metadata endpoint. Use cloud-recon first to find buckets and origins.
Does cloud-pentest cover the SSRF entry point?
It covers metadata endpoints such as 169.254.169.254 and metadata.google.internal once reached. The source refers the SSRF entry point itself to web2-vuln-classes.
Which cloud providers does it cover?
It covers AWS, GCP and Azure, with specific sections for IAM, service accounts and managed identities on each.
How do I install cloud-pentest?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is cloud-pentest free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is cloud-pentest safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to cloud-pentest?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
