Skip to content
Skillpedia
Testing35k · #6071

performing-gcp-penetration-testing-with-gcpbucketbrute

Lets your agent test Google Cloud security, looking for exposed buckets and improper permissions.

What it does

This tool helps test the security of Google Cloud projects. It looks for 'buckets' (storage locations) that might be publicly accessible and checks if access permissions are too open, and also searches for exposed service account keys.

When to use it

  • ✓When testing the security of a Google Cloud project.
  • ✓When investigating a potential data leak in Google Cloud 'buckets'.
  • ✓When verifying if access permissions to Google Cloud resources are correct.

Example of what to ask your AI

“Check the security of my Google Cloud 'buckets' and look for unauthorized access.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-gcp-penetration-testing-with-gcpbucketbrute/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-gcp-penetration-testing-with-gcpbucketbrute/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool uses a program called GCPBucketBrute to find open 'buckets' and then uses other Google Cloud tools to see who has permission to access them and if it's possible to gain more privileges.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill performing-gcp-penetration-testing-with-gcpbucketbrute

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/performing-gcp-penetration-testing-with-gcpbucketbrute/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Performing GCP Penetration Testing with GCPBucketBrute

Overview

This skill covers Google Cloud Platform security testing using GCPBucketBrute for storage bucket enumeration and access permission testing, combined with gcloud CLI IAM enumeration to identify privilege escalation paths. The approach tests for publicly accessible buckets, overly permissive IAM bindings, and service account key exposure.

When to Use

  • When conducting security assessments that involve performing gcp penetration testing with gcpbucketbrute
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Python 3.8+ with google-cloud-storage library
  • GCPBucketBrute installed from RhinoSecurityLabs GitHub
  • gcloud CLI authenticated with test credentials
  • Authorized penetration testing scope for target GCP project
  • google-api-python-client and google-auth libraries

Steps

  1. Enumerate Storage Buckets — Use GCPBucketBrute with keyword permutations to discover accessible GCP storage buckets
  2. Test Bucket Permissions — Call TestIamPermissions API on each discovered bucket to determine read/write/admin access levels
  3. Audit IAM Bindings — Enumerate project-level IAM policies to identify overly permissive role bindings
  4. Check Service Account Keys — Identify service accounts with user-managed keys and test for privilege escalation via impersonation
  5. Test Privilege Escalation Paths — Check for iam.serviceAccounts.actAs, setIamPolicy, and other privilege escalation vectors
  6. Generate Findings Report — Produce a structured security assessment with risk severity ratings

Expected Output

  • JSON report of discovered buckets with permission levels
  • IAM privilege escalation path analysis
  • Service account security assessment
  • Risk-scored findings with remediation recommendations
FAQ

What are 'buckets' in Google Cloud?

They are like folders or locations where you can store files and data in Google's cloud.

What is 'privilege escalation'?

It's when someone with limited access manages to gain greater permissions than they should have, like getting a master key without authorization.

Do I need technical knowledge to use it?

The tool is for security testing, so some familiarity with Google Cloud is recommended, but the description explains what it does simply.

Details

Original description by the author

Performs authorized GCP security testing using GCPBucketBrute to enumerate publicly accessible storage buckets, combined with gcloud CLI IAM enumeration to find privilege escalation paths and audit service account permissions. Use when penetration testing a GCP project for exposed buckets, overly permissive IAM bindings, or service account key exposure.

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#6071
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills