cloud-lateral

cloud-lateral is a skill for Claude Code from ogrodev/fsociety. It costs 374 tokens per session (4,120 once invoked), scanned D, original, MIT.

A cloud security guide for authorized testing across AWS, Azure, and Google Cloud. Cloud services use accounts, roles, and permissions to control access instead of relying mainly on network boundaries.

In plain words
What is it for?
Use it for cloud penetration tests involving services such as virtual machines, storage, serverless functions, identity systems, audit logs, and secret stores.
Why use it?
It provides an organized way to examine how an attacker could move between cloud resources or gain higher permissions after an initial foothold.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the elliot plugin — 9 skills, 24 commands, 2 agents, 4 hooks shipped together

Good fit Use it for cloud penetration tests involving services such as virtual machines, storage, serverless functions, identity systems, audit logs, and secret stores.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add ogrodev/fsociety
Claude Code
/plugin install elliot

Made for: Claude Code.

Or install elliot, the plugin that ships this one along with the rest of its 9 skills, 24 commands, 2 agents, 4 hooks.

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-lateral

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ogrodev/fsociety/cloud-lateral"><img src="https://agentmods.dev/badge/skills/ogrodev/fsociety/cloud-lateral.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 374 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,120 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 4 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.00374 $0.04120
Opus 5.5 $0.00150 $0.01648
Sonnet 5.5 $0.00075 $0.00824
Haiku 4.5 $0.00037 $0.00412

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

Security

Grade D, and why

cloud-lateral scanned grade D with 4 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 2mo 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.

Harvests environment variablesmediumData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

3. **Container escape -> node creds -> cluster admin -> secrets**: Break out of container, access node IMDS, escalate to cluster admin, dump all secrets

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

Reaches for credential filesmediumPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

terraform state, cloud credentials file, .aws/credentials, gcloud auth,

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

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

IMDS, metadata service, 169.254.169.254, metadata.google.internal,

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 -s http://169.254.169.254/latest/meta-data/iam/security-credentials/
elliot/skills/cloud-lateral/SKILL.md · 342 lines

How it starts

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

Cloud Lateral Movement

Cloud environments expose a fundamentally different attack surface from traditional networks. Identity IS the network -- IAM policies, service accounts, and managed identities replace firewalls and VLANs. A single misconfigured permission can grant access to every resource in an organization. This skill covers the full cloud attack lifecycle across AWS, Azure, and GCP for authorized penetration testing.

Attack Lifecycle

Follow this sequence. Each phase feeds the next -- credential harvesting enables escalation, escalation enables lateral movement, lateral movement discovers new targets.

Initial Access --> Credential Harvesting --> Permission Enumeration --> Privilege Escalation
     |                                                                        |
     v                                                                        v
Data Exfiltration <-- Persistence <-- Lateral Movement <-- Service Abuse

Phase 1 -- Initial Access and Cloud Fingerprinting

Before attacking, determine the cloud provider, account structure, and available attack surface.

Cloud provider indicators:

  • AWS: amazonaws.com domains, X-Amz-* headers, arn:aws: patterns, .aws/credentials, 169.254.169.254 IMDS
  • Azure: azure.com/windows.net/core.windows.net domains, X-Ms-* headers, Entra ID endpoints, 169.254.169.254 with Metadata: true
  • GCP: googleapis.com domains, metadata.google.internal, service account JSON files, X-Goog-* headers

Log detected cloud info immediately:

node "${CLAUDE_PLUGIN_ROOT}/scripts/target-intel.js" add "<target>" "tech-stack" "cloud-provider" "<aws|azure|gcp>" --source scan
node "${CLAUDE_PLUGIN_ROOT}/scripts/target-intel.js" add "<target>" "tech-stack" "cloud-account-id" "<account/subscription/project>" --source scan

Common initial access vectors:

  1. SSRF to metadata service (most common cloud-specific vector)
  2. Exposed credentials in repos, environment variables, CI/CD pipelines
  3. Misconfigured storage buckets (public S3/Blob/GCS)
  4. Compromised web application running on cloud compute
  5. Leaked AWS keys in GitHub, terraform state, Docker images
  6. Cloud-init / user-data containing plaintext secrets

Read the full file on GitHub · 342 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. 2mo ago First seen · 342 lines · 374 tokens per session scan D fde4a0cbae0c

Subscribe to this mod's changes

cloud-lateral is a skill published in the GitHub repository ogrodev/fsociety (20 stars, last pushed 7mo ago), licensed MIT. It adds 374 tokens to every session and 4,120 once invoked, about $0.0015 per session on Opus 5.5. A static security scan graded it D with 4 findings (harvests environment variables, reaches for credential files, cloud metadata endpoint). 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

mks

MKS (Metasploit-Kali Server) tool preference guide. Mount in Phase 0/1 alongside the primary skill. Provides URL resolution, REST endpoint patterns, response parsing, error handling, and fallback rules for all MKS-backed Kali tools.

Stickman230/claude-pentest · 54 tokens

pentest

Penetration testing orchestrator that coordinates specialized attack agents. Provides attack indexes, methodology frameworks, and documentation. Execution delegated to specialized agents (SQL Injection, XSS, SSRF, etc.). Use for engagement planning and attack coordination.

Stickman230/claude-pentest · 50 tokens

authenticating

Authentication testing skill - automates signup, login, 2FA bypass, CAPTCHA solving, and bot detection evasion using Playwright MCP. Tests authentication security controls. Includes behavioral biometrics simulation, OTP handling, and automated account creation for security assessments.

Stickman230/claude-pentest · 54 tokens

common-appsec-patterns

Application security testing coordinator for common vulnerability patterns including XSS, injection flaws, and client-side security issues. Orchestrates specialized testing agents to identify and validate common application security weaknesses.

Stickman230/claude-pentest · 42 tokens

web-application-mapping

Comprehensive web application reconnaissance and mapping coordinator that orchestrates passive browsing, active endpoint discovery, attack surface analysis, and headless browser automation for complete application coverage.

Stickman230/claude-pentest · 38 tokens

cve-testing

CVE vulnerability testing coordinator that identifies technology stacks, researches known vulnerabilities, and tests applications for exploitable CVEs using public exploits and proof-of-concept code.

Stickman230/claude-pentest · 36 tokens