/viperclaw:viper-gcp-azure-cloud-auditfrom viperclaw
Audits GCP and Azure security posture against CIS benchmarks, covering Workload Identity, Service Accounts, Managed Identities, and NSGs. Modeled on ScoutSuite and Prowler.
Ships in viperclaw. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
viper-gcp-azure-cloud-audit)ScoutSuite, Prowler GCP/Azure.flowchart LR
Workload["CI / Pod Workload"] --> WIF["Workload Identity Federation / Managed ID"] --> IAM["Dedicated SA (No allUsers / Editor)"] --> VPC["Private Service Connect + NSG Lockdown"]
viperclaw taint . --db .viperclaw/graph.db
allUsers, allAuthenticatedUsers, iam.serviceAccountTokenCreator, iam.serviceAccountUser, google_service_account_key.allow_blob_public_access, enable_rbac_authorization, source_address_prefix = "*", UserAssigned, SystemAssigned.google_service_account_key and Azure Service Principal client secrets; migrate CI/CD and multi-cloud workloads to Workload Identity Federation (OIDC) and GKE Workload Identity / Azure Managed Identities.[email protected] account with cloud-platform full access scope; create dedicated least-privilege service accounts.allUsers / allAuthenticatedUsers / Anonymous Blob): Audit Cloud Storage, BigQuery datasets, Cloud Run services, and Azure Storage Accounts to ensure allUsers, allAuthenticatedUsers, and allow_nested_items_to_be_public are disabled unless explicitly intended for public static assets.roles/iam.serviceAccountTokenCreator, roles/iam.serviceAccountKeyAdmin, roles/deploymentmanager.editor, and Azure Owner / User Access Administrator at the subscription/project root.0.0.0.0/0 ingress to management ports (22, 3389, 6443) or internal VPC subnets; enforce Cloud IAP / Azure Bastion and Private Service Connect / Private Endpoints.# ❌ VULNERABLE: Exports static GCP service account JSON key & binds Editor role
resource "google_service_account_key" "ci_key" {
service_account_id = google_service_account.ci.name
}
resource "google_project_iam_member" "ci_editor" {
project = var.project_id
role = "roles/editor"
member = "serviceAccount:${google_service_account.ci.email}"
}
# ✅ HARDENED: Keyless Workload Identity Pool + granular artifact registry role
resource "google_project_iam_member" "ci_Artifact_writer" {
project = var.project_id
role = "roles/artifactregistry.writer"
member = "principalSet://iam.googleapis.com/${google_iam_workload_identity_pool.gh.name}/attribute.repository/${var.github_repo}"
}
CIS GCP & Azure Benchmarks, ScoutSuite, CWE-269, CWE-284| Severity Tier | Baseline CVSS v3.1 Vector | Qualifying Security Impact |
|---|---|---|
| CRITICAL (9.0–10.0) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | Unauthenticated remote code execution, cross-tenant authentication or isolation gap, or direct theft of funds/keys. |
| HIGH (7.0–8.9) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | Authenticated privilege escalation, unauthorized sensitive data exposure, or single-request service outage. |
| MEDIUM (4.0–6.9) | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | Scoped information disclosure, non-admin state mutation, or configuration weakness requiring user interaction. |
| LOW (0.1–3.9) | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N | Defense-in-depth hardening gap requiring high precondition complexity and minimal direct impact. |
viperclaw taint . --db .viperclaw/graph.db and viperclaw verify to record the verified state in .viperclaw/graph.db.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cloud-security, gcp-audit, azure-audit, iam-review, cis-benchmarks
npx claudepluginhub zahidoverflow/viperclaw --plugin viperclaw72 skills in this plugin
/viper-agent-skill-supplychainAI Agent Skill, Plugin & MCP Config Supply-Chain Auditor (modeled on NVIDIA SkillSpector & OWASP Agentic Skills Top 10). Audits SKILL.md bundles and MCP JSON configs./viper-ai-llm-guardrailsAI, LLM & MCP Application Security & Guardrails Auditor (OWASP LLM Top 10). Reviews prompt boundaries, RAG data isolation, tool-call authorization, and output sanitization./viper-api-gateway-apigee-kongAPI Gateway, BFF & Rate-Tier Policy Auditor (Kong, AWS API Gateway, Apigee, Envoy Gateway). Reviews JWT authorizers, backend origin lockdown, and route-level quotas./viper-auth-oauth-jwtAuthentication, OAuth 2.0 / OIDC & JWT Security Auditor. Reviews token verification, algorithm allowlisting, claim validation, and OAuth redirect_uri configurations./viper-aws-iam-cloud-auditAWS IAM, STS, S3, KMS & Lambda Security Auditor (modeled on Prowler, Parliament & CloudSplaining). Reviews iam:PassRole escalation, STS ExternalId, S3 policies, and IMDSv2./viper-bola-idorObject & Function-Level Authorization (BOLA / BFLA) Audit Skill. Reviews resource access controls, tenant scoping, and ownership checks across API endpoints and controllers.Other plugins' skills for the same job