skills/mukul975/anthropic-cybersecurity-skills/performing-gcp-penetration-testing-with-gcpbucketbrute/Gen Agent Trust Hub
performing-gcp-penetration-testing-with-gcpbucketbrute
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/agent.pyscript executes system commands viasubprocess.runto interact withgcloudandgsutil. These calls are used for legitimate discovery tasks such as listing buckets, retrieving IAM policies, and auditing service account configurations. - [EXTERNAL_DOWNLOADS]: The documentation in
references/api-reference.mdprovides instructions to download theGCPBucketBrutesecurity tool from Rhino Security Labs' official GitHub repository. - [INDIRECT_PROMPT_INJECTION]: The skill processes output from external cloud resources (bucket listings and IAM policies) which could potentially contain adversarial content intended to influence downstream agent behavior.
- Ingestion points: Data enters the environment via
subprocess.runcalls togsutil lsandgcloud projects get-iam-policyinscripts/agent.py. - Boundary markers: None are present in the script to distinguish between system output and potentially malicious cloud resource names.
- Capability inventory: The skill has the capability to execute shell commands via
subprocess.runand write to the local file system usingjson.dump. - Sanitization: While command output is truncated for display, no validation or escaping is performed on the data retrieved from the GCP environment before it is stored or processed.
Audit Metadata