Cloud Pivot Finder logo

Cloud Pivot Finder

Organization
Orizon-eu
cloud-pivot-finder

Maps cloud infrastructure from domains and identifies pivot paths from external to cloud internals. Detects cloud providers, enumerates S3/GCS/Azure storage, finds subdomain takeover opportunities, discovers serverless functions, CI/CD exposure, and IaC leaks. Use when user asks for "cloud security", "S3 enumeration", "subdomain takeover", "cloud recon", "bucket enumeration", "cloud pivot", or provides domains hosted on AWS/GCP/Azure. For authorized testing only.

Overview

PublisherOrizon-eu
Repositoryclaude-code-pentest
Skill namecloud-pivot-finder
Stars
32
Forks
7
Bundled files
7
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 7 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Orizon-eu on GitHub. Read the source before you install it.

Installation

Install the Cloud Pivot Finder AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Orizon-eu/claude-code-pentest/tree/main/cloud-pivot-finder
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Orizon-eu/claude-code-pentest.git /tmp/claude-code-pentest
mkdir -p .claude/skills
cp -r /tmp/claude-code-pentest/cloud-pivot-finder .claude/skills/cloud-pivot-finder
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cloud Pivot Finder in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cloud Pivot Finder on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cloud Pivot Finder is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

bash
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

bash
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

bash
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

For each dangling CNAME:

  1. Verify the target is actually unclaimed
  2. Determine the takeover method
  3. Assess impact (cookie scope, same-origin policy implications)
  4. Generate takeover PoC instructions

Step 4: Serverless and Container Discovery

bash
python scripts/serverless_finder.py --domain {target_domain}

Discover:

  • Lambda Function URLs: {function-id}.lambda-url.{region}.on.aws
  • API Gateway: {api-id}.execute-api.{region}.amazonaws.com
  • Cloud Functions: {region}-{project}.cloudfunctions.net
  • Cloud Run: *.run.app
  • Azure Functions: {app}.azurewebsites.net/api/
  • Container registries: ECR, GCR, ACR public images

Test each for:

  • Unauthenticated access
  • Error messages revealing internal details
  • Excessive function output (debug mode)

Step 5: CI/CD and IaC Exposure

bash
python scripts/cicd_finder.py --domain {target_domain}

Search for:

  • Exposed CI/CD: Jenkins, GitLab CI, GitHub Actions artifacts
  • Terraform state files: .tfstate files on S3/GCS/HTTP
  • CloudFormation templates: Exposed template files
  • Docker/K8s configs: docker-compose.yml, kubernetes manifests
  • Helm charts: values.yaml with secrets
  • Environment files: .env files with cloud credentials

Step 6: Cloud Metadata Pivot Paths

bash
python scripts/metadata_paths.py --recon-data {recon_json}

For each web application on cloud infrastructure:

  1. Identify potential SSRF vectors (URL parameters, PDF generators, webhooks)
  2. Map the SSRF -> metadata -> credential chain
  3. Assess what the IAM role/service account can access
  4. Document the complete pivot path

Step 7: Report Generation

bash
python scripts/cloud_report.py --project {name}

Output:

  1. Cloud infrastructure map
  2. Accessible storage buckets with content inventory
  3. Subdomain takeover opportunities
  4. Serverless/container exposure
  5. CI/CD and IaC exposure
  6. Pivot paths from web to cloud
  7. Prioritized remediation plan

Error Handling

Rate Limiting on Cloud APIs

  1. S3 listing: Built-in exponential backoff
  2. DNS resolution: Use multiple resolvers
  3. If blocked: Reduce concurrency with --threads 5

No Cloud Infrastructure Detected

If domain appears to be on-premise:

  1. Still check for cloud storage buckets (may use S3 for backups)
  2. Check for CI/CD exposure (GitHub Actions, etc.)
  3. Inform user and suggest alternative approaches

Examples

Example 1: Full Cloud Assessment

User says: "Map the cloud infrastructure for example.com"

Actions:

  1. Detect cloud providers
  2. Enumerate storage buckets
  3. Check for subdomain takeover
  4. Find serverless endpoints
  5. Check CI/CD exposure
  6. Map pivot paths
  7. Generate comprehensive report

Example 2: S3 Bucket Hunt

User says: "Find S3 buckets for example.com"

Actions:

  1. Generate naming patterns from domain/company name
  2. Test each pattern for existence
  3. Check permissions on found buckets
  4. List accessible contents
  5. Report findings

Example 3: Subdomain Takeover Scan

User says: "Check for subdomain takeover on these 50 subdomains"

Actions:

  1. Resolve CNAME for each subdomain
  2. Check each CNAME against takeover fingerprints
  3. Verify dangling references
  4. Generate takeover PoC for confirmable targets

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Cloud Pivot Finder AI skill do?

Maps cloud infrastructure from domains and identifies pivot paths from external to cloud internals. Detects cloud providers, enumerates S3/GCS/Azure storage, finds subdomain takeover opportunities, discovers serverless functions, CI/CD exposure, and IaC leaks. Use when user asks for "cloud security", "S3 enumeration", "subdomain takeover", "cloud recon", "bucket enumeration", "cloud pivot", or provides domains hosted on AWS/GCP/Azure. For authorized testing only.

Why use Cloud Pivot Finder on TypingMind?

Because you install it once and use it with any model. Cloud Pivot Finder is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cloud Pivot Finder in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Orizon-eu/claude-code-pentest/tree/main/cloud-pivot-finder. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Cloud Pivot Finder?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cloud Pivot Finder?

As many as you like. As long as a model supports skills, you can use Cloud Pivot Finder with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cloud Pivot Finder AI skill free?

Yes. It is published on GitHub by Orizon-eu under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇