> 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/sensitive-ai-model-endpoint-is-publicly-accessible.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Sensitive AI Model Endpoint Is Publicly Accessible

### Synopsis

| Field             | Value                                                      |
| ----------------- | ---------------------------------------------------------- |
| Rule Type         | Detection                                                  |
| Severity          | Low                                                        |
| Category          | POSTURE                                                    |
| Cloud Providers   | AZURE, GCP                                                 |
| Platform Module   | AISPM                                                      |
| Asset Types       | AZURE\_OPEN\_AI\_DEPLOYMENT, VERTEX\_AI\_AIPLATFORM\_MODEL |
| ATT\&CK Tactic    | TA0010 (TA0010)                                            |
| ATT\&CK Technique | T1030 (T1030)                                              |

### Description

The AI model endpoint, trained on sensitive data, has been identified as open to the world without any network restrictions. This misconfiguration poses a severe security risk, as it could allow unauthorized access to the endpoint, potentially leading to the exposure of sensitive data, model misuse, or exploitation. Implementing appropriate network controls and access restrictions is critical to safeguarding sensitive AI resources and preventing data leakage. This exposure enables a model hijacking attack. Model hijacking occurs when an attacker gains unauthorized access to a deployed AI model. This unauthorized access enables the attacker to manipulate the model's functionality, compromise its performance, or extract proprietary information, leading to intellectual property theft. If the compromised model is hosted on cloud infrastructure, this could also result in maliciously increased model usage, causing significant cost escalations in cloud service billing.

### Remediation

**Manual steps:**

GCP Vertex AI Model - Delete the Vertex AI Endpoint:

Navigate to the Vertex AI section in the Google Cloud Console.

In the left navigation pane, click on Online prediction under the Deploy and use section.

Select the endpoint `{entity}` to enter its details page.

For each model under Deployed models, click on the three buttons and select Undeploy model from endpoint.

Return to the online prediction page, tick the box next to the endpoint `{entity}`, and select Delete.

Azure Open AI Deployment - Delete the Azure Open AI Deployment:

Sign in to the Azure portal.

Under the AI Foundry panel, navigate to Azure OpenAI.

Select the deployment `{entity}`.

Click Delete.

Azure Open AI Deployment - Change the deployment settings to private:

Sign in to the Azure portal.

Under the AI Foundry panel, navigate to Azure OpenAI.

Select the deployment `{entity}`.

On the left panel, select Networking under Resource Management.

Under Allow access from, select Disabled or Selected Networks and Private Endpoints and choose the relevant networks and IP ranges.


---

# 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/sensitive-ai-model-endpoint-is-publicly-accessible.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.
