Skip to content
Security
Skill

/cloud-audit

Audit cloud infrastructure (AWS, GCP, Azure) and PaaS deployment platforms (Vercel, Netlify, Heroku, Render, Railway, Fly) for misconfigurations, excessive permissions, stale or manual production deploys, and security gaps. Use when the user mentions 'cloud security,' 'cloud

From plugin
cybersecurity-skills
53442 skills1 agent

Claude Code

$ npx -y skills add briiirussell/cybersecurity-skills --skill cloud-audit --agent claude-code

SKILL.md

cloud-audit.SKILL.md
name: cloud-audit
description: "Audit cloud infrastructure (AWS, GCP, Azure) and PaaS deployment platforms (Vercel, Netlify, Heroku, Render, Railway, Fly) for misconfigurations, excessive permissions, stale or manual production deploys, and security gaps. Use when the user mentions 'cloud security,' 'cloud audit,' 'AWS security,' 'GCP security,' 'Azure security,' 'IAM audit,' 'S3 bucket,' 'cloud misconfiguration,' 'cloud hardening,' 'Vercel security,' 'Heroku audit,' 'Render audit,' 'PaaS security,' 'is production built from main,' 'old vercel.app still live,' 'preview deployments exposed,' 'Supabase RLS,' 'Postgres on 0.0.0.0,' 'Redis exposed on a VPS,' 'Tailscale ACL,' 'private overlay ACL,' or needs to review cloud or deployment-platform security."
allowed-tools: Read, Grep, Glob, WebSearch, Bash(aws iam get-account-summary:*), Bash(aws iam list-users:*), Bash(aws iam get-credential-report:*), Bash(aws s3api list-buckets:*), Bash(aws s3api get-public-access-block:*), Bash(aws s3api get-bucket-policy:*), Bash(aws s3api get-bucket-encryption:*), Bash(gcloud projects get-iam-policy:*), Bash(gcloud iam service-accounts list:*), Bash(az role assignment list:*), Bash(az ad user list:*)

Cloud Audit — Cloud Infrastructure Security Review

Audit cloud infrastructure configurations for misconfigurations, excessive permissions, public exposure, and compliance gaps. Covers AWS, GCP, and Azure, plus the PaaS deployment platforms many small teams run everything on (Vercel, Netlify, Heroku, Render, Railway, Fly).

Cross-references: `iam-audit` for the consultant-style IAM deep-dive (design / audit / migrate across identity providers and federation patterns) — this skill includes an IAM section but stays at the cloud-posture level; for role design, JIT access, workload identity federation, and migration plans, invoke `iam-audit`. `container-audit` for Kubernetes-specific posture sitting on top of cloud. `secrets-audit` for secrets-manager hygiene and rotation. `patch-sweep` for responding to a CVE wave across a fleet of PaaS apps (this skill's PaaS section is the posture half of that). `scanner-pipeline` for running Supabase's security advisor and the other scanners on a schedule.

Findings are recorded in the shared `findings.json` format (see [Verify, then record](#verify-then-record)). Dispositions, usually set later by `finding-triage`: Fixed / Deferred / Accepted Risk / Mitigated (platform/config) / Requires major migration.

Authorization

Audit only cloud accounts, projects, subscriptions and PaaS teams the user owns or is authorized to review, with credentials provided for that purpose. The pre-approved commands are read-only lists and describes. Never change a policy, rotate a key, delete a resource or redeploy as part of the audit: recommend it and let the owner run it. If the audit credentials grant more than read access, report that as a finding of its own.

Scope the Audit

Identify: 1. Cloud provider(s) and account(s) 2. Regions in use 3. Whether CLI tools are available (`aws`, `gcloud`, `az`, `vercel`, `heroku`, `netlify`, `fly`, `railway`, `gh`) or reviewing IaC files (Terraform, CloudFormation, Pulumi) 4. For PaaS: every team/account and GitHub owner/org in scope, and which of them belong to clients or other maintainers

Audit Categories

Identity and Access Management

**AWS:**

aws iam get-account-summary
aws iam list-users
aws iam generate-credential-report && aws iam get-credential-report --output text --query Content | base64 -d

Check for: root account usage without MFA, access keys older than 90 days, unused credentials, wildcard permissions (`"Action": "*"`), overprivileged roles.

**GCP:**

gcloud projects get-iam-policy $PROJECT_ID
gcloud iam service-accounts list

Check for: primitive roles (Owner/Editor) on too many principals, unused service accounts, service account keys instead of workload identity.

**Azure:**

az role assignment list --all
az ad user list

Check for: excessive Owner/Contributor assignments, guest users with high privileges.

**IaC review:** Grep Terraform/CloudFormation files for `"Action": "*"`, `"Resource": "*"`, hardcoded secrets, overly broad trust policies.

Network Security

Check for:

  • Security groups or firewall rules allowing `0.0.0.0/0` ingress
  • Unrestricted SSH (port 22) or RDP (port 3389) from the internet
  • VPC flow logs disabled
  • Databases in public subnets
  • Missing network segmentation between tiers

Databases

**DB6 — How admins reach the port is the path, not the privilege model.** Do not open `5432`, `6379`, `3306`, or `27017` to the internet. Reach them over an SSH tunnel or a private network (a VPC, Tailscale, or WireGuard). A leaked `DATABASE_URL` or `REDIS_URL` still works from every node that can join a default-open overlay: a laptop, a CI runner, a teammate's phone. Public `0.0.0.0/0` on these ports is also caught under Network Security above. This check does not replace a public-ingress or spend-cap review.

**DB7 — A private overlay is not least privilege.** If Postgres, Redis, or a similar store is reachable over Tailscale or another overlay or VPC, read the ACL or grants policy. For Tailscale that is the policy file or the admin ACL editor. For a VPC it is the security group or network policy. Default-deny, then allow only the service identity and named admin users or devices to that port. A source of `*` or `autogroup:member` to `tag:db:*` or `*://*:5432` is not least privilege.

On a tailnet the owner authorized:

tailscale status
# Policy lives in the admin console or a Git-synced policy file (ACLs / grants).
# Look for overly broad destinations to :5432, :6379, :3306, :27017.

| Result | What to record | |---|---| | Overlay-reachable database, default-open or overly broad ACL | Finding. Medium. High if a leaked `DATABASE_URL` would work from any node on the overlay | | Policy allows only the service identity and named admins | A note, not a f

Read more
@briiirussell
Ships withcybersecurity-skills

A collection of cybersecurity skills for AI coding agents. The AI does the heavy lifting; you bring the context about your stack and your priorities.

53442 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
534
Star history of briiirussell/cybersecurity-skills on GitHub, a chart by star-history.com

Other skills on cybersecurity-skills.

More skills from other plugins.

api-security

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…

@zhaoxuya520@zhaoxuya520Install Skill
nemoclaw-user-guide

nemoclaw-user-guide

Find official NemoClaw documentation for installation, configuration, operation, or troubleshooting. Also handles requested docs…

@nvidia@nvidiaInstall Skill

Questions about cloud-audit.

Which coding agents can use cloud-audit?
cloud-audit installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.