> 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-unmonitored-and-publicly-google-cloud-storage-bucket-e8f04e14.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 unmonitored and publicly... (Google Cloud Storage Bucket) (e8f04e14)

### Synopsis

| Field               | Value                                                                                                     |
| ------------------- | --------------------------------------------------------------------------------------------------------- |
| Rule Name           | AI model theft risk due to unmonitored and publicly exposed Storage Bucket containing GCP Vertex AI model |
| Rule Type           | Detection                                                                                                 |
| Finding Type        | AI model theft risk due to unmonitored and publicly exposed Storage Bucket containing GCP Vertex AI model |
| Finding ID          | 60001403                                                                                                  |
| 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

Unauthorized access to sensitive Vertex AI models stored in publicly exposed Google Cloud Storage (GCS) buckets poses a significant data breach risk. Attackers could exploit this attack path by directly accessing the bucket and downloading the models. This compromises the confidentiality and intellectual property of the AI models, potentially leading to financial loss and reputational damage.

The attack involves attackers discovering publicly accessible GCS buckets containing Vertex AI models. Lack of logging prevents detection of unauthorized access attempts, hindering incident response and investigation. Successful exploitation leads to model theft, enabling malicious use or replication. This also violates data privacy regulations if the models contain sensitive information.

Mitigate this risk by enforcing least privilege access and enabling both usage and storage logging for all GCS buckets storing Vertex AI models. Usage logs record all bucket requests, enabling timely detection of unauthorized access. Storage logs monitor storage consumption, helping identify unusual activity. Combining these logs facilitates comprehensive monitoring and rapid incident response.

Immediately enable usage and storage logging on all GCS buckets containing Vertex AI models. Regularly review access control lists (ACLs) to ensure only authorized entities can access these buckets. Proactive monitoring of these logs is crucial to identify and respond swiftly to any suspicious activity.

### 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]
   ```

Follow the steps mentioned in the below link to enable Access and Storage logs:

Reference : <https://cloud.google.com/storage/docs/access-logs>


---

# 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-unmonitored-and-publicly-google-cloud-storage-bucket-e8f04e14.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.
