cloud-pivot-finder

cloud-pivot-finder is a skill for Claude Code, Codex from Orizon-eu/claude-code-pentest. It costs 104 tokens per session (1,428 once invoked), scanned A, original, MIT.

A cloud-security discovery tool that maps cloud services connected to a domain and looks for possible routes from public systems to internal cloud resources.

In plain words
What is it for?
Use it during authorized cloud assessments to inspect AWS, Google Cloud, or Azure exposure, including storage buckets and possible takeover paths.
Why use it?
It brings cloud providers, storage, serverless functions, deployment systems, and infrastructure-code exposures into one security review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it during authorized cloud assessments to inspect AWS, Google Cloud, or Azure exposure, including storage buckets and possible takeover paths.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orizon-eu/claude-code-pentest/cloud-pivot-finder
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 Orizon-eu/claude-code-pentest --skill cloud-pivot-finder
Clone the repo
git clone --depth 1 https://github.com/Orizon-eu/claude-code-pentest

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 cloud-pivot-finder

README.md
[![agentmods](https://agentmods.dev/badge/skills/orizon-eu/claude-code-pentest/cloud-pivot-finder.svg)](https://agentmods.dev/skills/orizon-eu/claude-code-pentest/cloud-pivot-finder)
Your own site
<a href="https://agentmods.dev/skills/orizon-eu/claude-code-pentest/cloud-pivot-finder"><img src="https://agentmods.dev/badge/skills/orizon-eu/claude-code-pentest/cloud-pivot-finder.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,428 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.00104 $0.01428
Opus 5 $0.00052 $0.00714
Sonnet 5 $0.00021 $0.00286
Haiku 4.5 $0.00010 $0.00143

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

Security

Grade A, and why

cloud-pivot-finder 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 8d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/bucket_enum.py, scripts/cicd_finder.py, scripts/cloud_detector.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

cloud-pivot-finder/SKILL.md · 179 lines

How it starts

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

Cloud Pivot Finder

From external domains to cloud infrastructure compromise paths.

Important

CRITICAL: Only test cloud infrastructure you have explicit authorization to test. Unauthorized access to cloud resources is a criminal offense.

Instructions

Step 1: Cloud Provider Detection

python scripts/cloud_detector.py --domain {target_domain}

Identify cloud hosting:

  1. IP range analysis: Match IPs against AWS, GCP, Azure published IP ranges
  2. DNS analysis: CNAME patterns (*.amazonaws.com, *.googleusercontent.com, *.azurewebsites.net)
  3. Header analysis: Server headers, X-Amz-, X-GUploader-, x-ms-* headers
  4. Certificate analysis: Issuer and SAN entries pointing to cloud services
  5. CDN detection: CloudFront, Cloud CDN, Azure CDN distributions

Output: Map of domain -> cloud provider -> service type.

Step 2: Storage Bucket Enumeration

python scripts/bucket_enum.py --domain {target_domain} --provider {aws|gcp|azure|all}

Naming pattern brute-force:

  • {domain}, {domain}-backup, {domain}-dev, {domain}-staging
  • {company}-assets, {company}-uploads, {company}-data
  • {project}-{env} combinations

Per-provider testing:

  • S3: Check for public ListBucket, GetObject, PutObject
  • GCS: Check for allUsers/allAuthenticatedUsers permissions
  • Azure Blob: Check for public container access

For each accessible bucket:

  1. List contents (if ListBucket allowed)
  2. Check for sensitive files (.env, credentials, backups, database dumps)
  3. Test write access (attempt to upload test file, delete immediately)
  4. Check bucket policy for overly permissive configurations

Step 3: Subdomain Takeover Detection

python scripts/takeover_scanner.py --subdomains {subdomain_list}

Check every subdomain's CNAME for dangling references:

  • AWS: S3, CloudFront, Elastic Beanstalk, ELB
  • Azure: Azure Websites, Traffic Manager, CDN, Blob
  • GCP: Cloud Storage, App Engine, Firebase
  • Other: Heroku, GitHub Pages, Fastly, Shopify, Zendesk, Unbounce, Surge.sh

Read the full file on GitHub · 179 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 179 lines · 104 tokens per session scan A 2ba7eb5d3e6b

Subscribe to this mod's changes

cloud-pivot-finder is a skill published in the GitHub repository Orizon-eu/claude-code-pentest (24 stars, last pushed 6mo ago), licensed MIT. It adds 104 tokens to every session and 1,428 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-30.

Related

Other skills, from other repositories

cloud-iam-deep

Cloud IAM red-team attack chain across AWS, Azure, GCP — focused on EXTERNAL exploitation paths and post-credential-discovery privilege analysis. Covers IAM enumeration (aws iam, az role, gcloud iam), STS/AssumeRole chaining, Azure Managed Identity abuse (via SSRF/leak), GCP service account JSON abuse, IMDSv1/v2…

elementalsouls/Claude-BugHunter · 238 tokens

cloud-security-engineer

Cloud Security Engineer role bundle for cloud security posture management, IaC review, container security, and identity governance across AWS, Azure, and GCP. Orchestrates cloud-specific posture reviews and zero trust program assessments. Auto-invoked when the user needs help with cloud security configuration, IaC…

UnitOneAI/SecuritySkills · 79 tokens

azure-review

Performs an Azure security posture review against the CIS Microsoft Azure Foundations Benchmark v2.1.0. Auto-invoked when reviewing Azure infrastructure, Entra ID configurations, NSG rules, Defender for Cloud settings, or Key Vault access policies. Walks through all nine benchmark sections, evaluates each…

UnitOneAI/SecuritySkills · 81 tokens

gcp-review

Performs a GCP security posture review against the CIS Google Cloud Platform Foundation Benchmark v2.0.0. Auto-invoked when reviewing GCP infrastructure, IAM bindings, VPC firewall rules, Cloud Audit Logs, or GCS bucket security. Walks through all seven benchmark sections, evaluates each recommendation, and produces a…

UnitOneAI/SecuritySkills · 83 tokens

auditing-machine-identity-issuance

Audit how a platform issues machine and workload identities (certificate authorities, workload-identity federation, service-mesh identity, attestation-based credentialing) for trust misplaced in the thing asking for one: a credential issued on a weak or forgeable proof (a self-asserted name, an unvalidated label, a…

UnboundCompute/security-agent-skills · 210 tokens

auditing-cross-account-role-trust-boundaries

Audit cross-account IAM role assumption for trust policies that let the wrong principal assume a role: a trust policy with a wildcard or overbroad principal, a missing or unverifiable external ID on a third-party role, a confused-deputy path where a vendor assumes your role on any customer's behalf, and a role chain…

UnboundCompute/security-agent-skills · 173 tokens