> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/ai-model-theft-risk-due-to-publicly-exposed-storage-bucket-containing-gcp-vertex-ai-model.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AI model theft risk due to publicly exposed Storage Bucket containing GCP Vertex AI model

### Synopsis

| Field               | Value                                                                                     |
| ------------------- | ----------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                                 |
| Finding Type        | AI model theft risk due to publicly exposed Storage Bucket containing GCP Vertex AI model |
| Finding ID          | 60001387                                                                                  |
| Generates a Finding | This detection rule also generates a finding                                              |
| Severity            | High                                                                                      |
| Category            | POSTURE                                                                                   |
| Cloud Providers     | GCP                                                                                       |
| Platform Module     | CSPM                                                                                      |
| Asset Types         | GOOGLE\_CLOUD\_STORAGE\_BUCKET                                                            |

### Description

Publicly exposed GCP storage buckets containing GCP Vertex AI models pose a significant risk of intellectual property theft and data breaches. Unauthorized access to these buckets exposes sensitive model artifacts, potentially leading to the misuse or replication of valuable AI models.

Attackers could exploit this attack path by directly accessing the publicly exposed storage bucket. This exposes the AI model to download, analysis, and replication, resulting in the loss of competitive advantage and potential financial damage. Compromised models may also be used maliciously.

Mitigate this risk by implementing robust access controls. Restrict bucket access to only authorized users and services using appropriate Identity and Access Management ('IAM') roles. Regularly review and audit bucket permissions to ensure adherence to the principle of least privilege.

Immediately remediate by setting appropriate access controls on the storage bucket. Adopt a least privilege approach, granting only necessary permissions to authorized entities. Regularly scan for publicly accessible storage buckets and enforce strong access control policies for all storage resources.

### Remediation

```
[PUBLIC_ACCESS]
```

To remove public access from a bucket, either enable "Public access prevention" or edit/remove any permissions granted to 'allUsers' and 'allAuthenticatedUsers' on a bucket.

To edit/remove permissions granted over the bucket, follow the instructions below:

1. Login to GCP Portal
2. Go to the Cloud Storage Buckets page.
3. Go to Buckets
4. Click on the Storage bucket for which alert has been generated
5. Select the Permissions tab near the top of the page.
6. Edit/remove any permissions granted to 'allUsers' and 'allAuthenticatedUsers'

To prevent public access over the bucket, follow the instructions below:

1. Login to GCP Portal
2. Go to the Cloud Storage Buckets page.
3. Go to Buckets
4. Click on the Storage bucket for which alert has been generated
5. Select the Permissions tab near the top of the page.
6. In the Public access card, click 'Prevent public access' to enforce public access prevention.

   ```
   [MISCONFIGURATION]
   ```

Review and validate that the Vertex AI models are stored in the right Storage buckets. Move and/or delete the model and other related artifacts if they are found in an unexpected location. Review how the model was uploaded to an unauthorized/unapproved storage bucket.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/ai-model-theft-risk-due-to-publicly-exposed-storage-bucket-containing-gcp-vertex-ai-model.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
