Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cloud-audit

БесплатноЗапускает вложенные скриптыНе проверен

Audit cloud infrastructure (AWS, GCP, Azure) and PaaS deployment platforms (Vercel, Netlify, Heroku, Render, Railway, Fly) for misconfigurations, excessive…

briiirussellот briiirussell★ 541 звезда на GitHub

Об этом скилле

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). 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 finding

Tailscale ACLs are deny-by-default once a policy is specified (ACL docs). Until a policy is set, the stock policy allows every member to reach every port. [Grants]

Полный SKILL.md на GitHub

Установить cloud-audit в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

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:*)

Вложенные файлы

references/findings-format.mdreferences/findings.schema.jsonreferences/paas.mdreferences/self-hosted-vps.mdreferences/severity-calibration.mdreferences/to-sarif.mjsreferences/validate-findings.mjsreferences/verification.md

FAQ

Что делает скилл 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 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.

Как установить скилл cloud-audit?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cloud-audit запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить cloud-audit с