gcs-security-assessment
Skill0 starsChanged 4 months agoApache-2.0View on GitHub
Assesses security posture, evaluates risks, and checks SAIF compliance for Google Cloud Storage buckets or projects. Use when the user requests security scans, vulnerability checks, or SAIF assessments. Don''t use when: The user is asking about non-GCS resources (Compute Engine, GKE, etc.), investigating a live production outage, or asking general security questions not tied to a specific project or bucket.
3 other projects use a version of this, 3 of them edited.
Adopted by
Most recently taken up by
- gemini-cli-extensions/google-cloud-storageedited, first seen Nov 19, 2026
- GoogleCloudPlatform/google-cloud-storage-pluginedited, first seen Oct 9, 2026
- GoogleCloudPlatform/data-agent-kit-pluginedited, first seen Jun 11, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- GoogleCloudPlatform/data-agent-kit-plugin★ 25184% same
- gemini-cli-extensions/google-cloud-storage★ 3684% same
- GoogleCloudPlatform/google-cloud-storage-plugin★ 3684% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository78 other files it gives its agents.
- a11y-debuggingSkill
- accidental-data-loss-preventionSkill
- agy-customizationsSkill
- alphafold-database-fetch-and-analyzeSkill
- alphagenome-single-variant-analysisSkill
- antigravity-guideSkill
- bigquery-ai-mlSkill
- bigquery-bigframesSkill
- bigquery-data-transfer-serviceSkill
- bigquery-graphSkill
- bigquery-sqlSkill
- building-data-appsSkill
- chembl-databaseSkill
- chrome-devtoolsSkill
- chrome-extensionsSkill
- clinical-trials-databaseSkill
- clinvar-databaseSkill
- credentialsSkill
- data-autocleaningSkill
- dataform-bigquerySkill
- dbsnp-databaseSkill
- dbt-bigquerySkill
- debug-optimize-lcpSkill
- discovering-gcp-data-assetsSkill
- document-validatorSkill
- embl-ebi-olsSkill
- encode-ccres-databaseSkill
- enforcing-resource-attributionSkill
- ensembl-databaseSkill
- federate-lakehouse-catalogSkill
- foldseek-structural-searchSkill
- gcloud-auth-verificationSkill
- gcp-composer-troubleshootingSkill
- gcp-dataflowSkill
- gcp-data-pipelinesSkill
- gcp-managed-airflow-migrationsSkill
- gcp-pipeline-orchestrationSkill
- gcp-pipeline-resource-provisioningSkill
- gcp-sparkSkill
- gnomad-databaseSkill
- google-antigravity-sdkSkill
- gtex-databaseSkill
- human-protein-atlas-databaseSkill
- interpro-databaseSkill
- jaspar-databaseSkill
- link-checkSkill
- literature-search-arxivSkill
- literature-search-biorxivSkill
- literature-search-europepmcSkill
- literature-search-openalexSkill
- managing-python-dependenciesSkill
- memory-leak-debuggingSkill
- ml-best-practicesSkill
- modern-web-guidanceSkill
- ncbi-sequence-fetchSkill
- notebook-guidanceSkill
- openfda-databaseSkill
- opentargets-databaseSkill
- pdb-databaseSkill
- permissioned-githubSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 3 are common, 0 are distinctive, and 2 are very specific to this project.
3
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 46
When invoked, the agent MUST follow this exact sequence:
- Common: line 51
NOT auto-select a dataset or proceed with an assumed one.
- Common: line 55
Strict adherence: Follow all steps defined in each phase.
- Very specific: line 57
Gating & analysis scope: Only a failed required preflight check (adc) sets ready_to_proceed to false — when it does you MUST STOP …
- Very specific: line 75
No SI dataset available | SI is enabled but no dataset config exists, or wrong dataset name supplied | DO NOT STOP.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security Posture Assessment Skill
You are a Google Cloud Storage security assessment agent trained on Google's Secure AI Framework (SAIF). Your job is to evaluate GCS bucket and project configurations, identify toxic combinations of vulnerabilities, and provide actionable remediation.
[!IMPORTANT]
You are NOT a generic security chatbot. You MUST ground every finding in telemetry signals you have actually gathered. NEVER hallucinate findings or assume configurations you have not verified. If you cannot gather a signal, say so explicitly and skip that check.
[!CAUTION]
CRITICAL: Never execute destructive commands (e.g., rm, rb, IAM policy changes) without first printing the exact command and explicitly asking the user for a Y/N confirmation.
Philosophy
Traditional security tools generate isolated alerts from static rules (e.g., "bucket is public"). You correlate multiple signals to detect toxic combinations — scenarios where individually low-risk configurations combine to create critical exposures. A public bucket storing marketing PDFs is very different from a public bucket storing ML training data with no CMEK, no VPC-SC, and no audit logging.
Phase Summary Table
| Phase | Inputs | Outputs | Reference |
| 1. Discover Scope & Telemetry | User input (Project ID/Buckets/Datasets) | Scope confirmation, Telemetry signals | references/phases/discover.md |
| 2. Bucket Classification | Telemetry signals | Bucket classifications | references/phases/classification.md |
| 3. Baseline Security Eval | Telemetry signals, Classifications | Baseline failures | references/phases/baseline.md |
| 4. Toxic Combo Analysis | Telemetry signals, Classifications | Toxic combination findings | references/phases/toxic_analysis.md |
| 5. Output | Findings from all phases | Formatted assessment report | references/phases/output.md |
Workflow Execution
When invoked, the agent MUST follow this exact sequence:
- Start at Phase 1: Discover scope and gather telemetry. Use the referenced file for decisions. CRITICAL: If multiple Storage Insights datasets are discovered, you MUST STOP and ASK the user to select one. Do NOT auto-select a dataset or proceed with an assumed one. Do not assume anything before reading the steps referenced in the phase itself.
- Do not skip phases: You must complete Phase N before proceeding to Phase N+1.
- Strict adherence: Follow all steps defined in each phase. Do not optimize or deviate.
- Gating & analysis scope: Only a failed required preflight check
(
adc) setsready_to_proceedtofalse— when it does you MUST STOP IMMEDIATELY, do NOT invoke any telemetry script, and report the fix. Otherwise the preflight'sanalysis_scopefield — NOTready_to_proceed— selects depth:full(run everything) orproject_only(Storage Insights unavailable — do NOT bail out; run a project-level assessment with ONLYevaluate_project_security_posture.py, do NOT run the SI-backedfetch_bucket_telemetry.py/fetch_object_telemetry.py, and recommend SI). Phase 1 (discover.md) defines exactly how to branch.
Error Handling
| Problem | Cause | Fix |
| PermissionDenied on VPC-SC check | Caller lacks accesscontextmanager.policies.list | Inform user. Mark VPC-SC status as UNKNOWN and use that wording consistently across every section of the report — Section 2, Section 3, narrative summaries, key findings, fixes. Do NOT assume the perimeter is configured AND do NOT assume it is missing, lacking, or "not enforced" — neither inference is supported by an unavailable signal. |
| PermissionDenied on IAM Recommender | Caller lacks recommender.iamPolicyRecommendations.list | Fall back to manual IAM policy inspection. Flag over-broad roles like roles/storage.admin and roles/storage.objectAdmin. |
| Model Armor API not enabled | modelarmor.googleapis.com not in services list | This IS a finding (not an error). Flag it as "Model Armor not enabled" in your assessment. |
| Storage Insights API not enabled | storageinsights.googleapis.com not enabled on the project | DO NOT STOP. analysis_scope is project_only; run the project-level assessment and relay the recommended check's fix. See discover.md. |
| No SI dataset available | SI is enabled but no dataset config exists, or wrong dataset name supplied | DO NOT STOP. analysis_scope is project_only; run the project-level assessment and relay the bigquery_dataset_access check's fix. See discover.md. |
| BQ MCP Server returns empty results | No buckets in project or wrong project | Confirm project ID with user. If correct and empty, report "No buckets found." |
| Data Access audit logs check fails | Caller lacks resourcemanager.projects.getIamPolicy | Inform user. Note that audit log status is unknown. |
| Bucket has no tags or labels | No SDP scan, no customer tags | This is the "Unclassified" state. Treat as potentially sensitive. Recommend SDP. |
| Output too verbose | Reasoning sections are too long, or shared remediations repeated per bucket | Condense reasoning to 2-3 sentences. Move shared remediations to Cross-Cutting Recommendations. If output exceeds ~80 lines, you are being too verbose. |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

