> 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-5da90e83.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) (5da90e83)

### Synopsis

| Field               | Value                                                                                                                              |
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| Rule Name           | AI model theft risk due to unmonitored and publicly exposed Storage Bucket containing GCP Vertex AI training pipeline output model |
| Rule Type           | Detection                                                                                                                          |
| Finding Type        | AI model theft risk due to unmonitored and publicly exposed Storage Bucket containing GCP Vertex AI training pipeline output model |
| Finding ID          | 60001402                                                                                                                           |
| 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 Google Cloud Storage (GCS) buckets storing Vertex AI training pipeline output models pose a significant risk of AI model theft. Attackers could exploit this attack path by directly accessing the bucket and downloading the model, leading to intellectual property loss and potential misuse.

Compromise occurs when a GCS bucket containing a Vertex AI model lacks appropriate access controls and logging. Without logging, unauthorized access goes undetected, hindering investigation and remediation efforts. The stolen model could be used for malicious purposes or provide competitors with a significant advantage.

Mitigate this risk by implementing strong access controls, restricting bucket permissions to only authorized users and services. Enable both usage and storage logging on the bucket; this provides detailed audit trails of all access attempts, facilitating detection and response to unauthorized access.

Immediately review and restrict access permissions on all GCS buckets containing Vertex AI models. Enable usage and storage logging to monitor access and detect potential breaches. Regularly audit access controls and logs to maintain a secure environment.

### 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-5da90e83.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.
