# How Lineaje Policies Protect

### Stage 1 - AI Reconnaissance

**Primary Goal of Adversary**: Understand how the AI behaves

**Core Attack Surface**: Prompts, responses, refusals

<table><thead><tr><th width="319.66668701171875">Policy Name</th><th width="103.3333740234375">AI BOM Impacted</th><th width="227.99993896484375">How Lineaje Implements This Policy</th></tr></thead><tbody><tr><td>Use only LLMs from the organization’s approved list. See: <a href="#ai_app_sec_006">AI_APP_SEC_006</a></td><td>LLM, AI Agent</td><td>Restricts model usage to vetted LLMs, reducing the ability to probe or select models with weaker controls or governance.</td></tr><tr><td>Do not use LLMs from the organization's disallowed list. See: <a href="#ai_app_sec_028">AI_APP_SEC_028</a></td><td>LLM, AI Agent</td><td>Prevents reconnaissance, probing, or control attempts using unapproved or high-risk LLMs.</td></tr><tr><td>MCP clients must log all interactions with the MCP server. See: <a href="#ai_app_sec_022">AI_APP_SEC_022</a></td><td>MCP Server</td><td>Enables visibility into probing, boundary testing, and exploratory interactions without preventing them.</td></tr><tr><td>Do not send PII to LLMs. See: <a href="#ai_dat_sec_011">AI_DAT_SEC_011</a></td><td>AI Agent</td><td>Removes sensitive personal data from early AI interaction, limiting information exposure during exploratory use.</td></tr><tr><td>Mask PII on user interfaces. See: <a href="#ai_dat_sec_012">AI_DAT_SEC_012</a></td><td>AI Agent</td><td>Limits observable sensitive data that could be inferred or harvested during initial interaction.</td></tr><tr><td>Agent must log all interactions with the LLM. See: <a href="#ai_app_sec_035">AI_APP_SEC_035</a></td><td>LLM, AI Agent</td><td>Provides detection and forensic evidence of reconnaissance behavior without blocking it.    </td></tr></tbody></table>

### Stage 2 - Trust Establishment and Manipulation

**Primary Goal of Adversary**: Make the AI assume legitimacy

**Core Attack Surface**: Language, tone, authority cues

<table><thead><tr><th width="307.33331298828125">Policy Name</th><th>AI BOM Impacted</th><th width="262">How Lineaje Implements This Policy</th></tr></thead><tbody><tr><td>Use only LLMs from the organization’s approved list. See: <a href="#ai_app_sec_006">AI_APP_SEC_006</a></td><td>LLM, AI Agent</td><td>Reduces implicit trust in unvetted models.</td></tr><tr><td>Do not use LLMs from the organization's disallowed list. See: <a href="#ai_app_sec_028">AI_APP_SEC_028</a></td><td>LLM, AI Agent</td><td>Prevents trust in risky or malicious LLM endpoints.</td></tr><tr><td>MCP client must authenticate the MCP server. See: <a href="#ai_iac_002">AI_IAC_002</a></td><td>MCP Server, AI Agent</td><td>Prevents rogue servers from establishing false legitimacy and injecting trusted responses.</td></tr><tr><td>MCP server must authenticate the client. See: <a href="#ai_iac_006">AI_IAC_006</a></td><td>LLM, AI Agent</td><td>Prevents unauthorized or spoofed clients from gaining trusted access.</td></tr><tr><td>Inter-agent communication must be authenticated. See: <a href="#ai_iac_007">AI_IAC_007</a></td><td>AI Agent</td><td>Reduces implicit trust between agents and prevents impersonation.</td></tr></tbody></table>

### Stage 3 - Instruction and Input Weaponization

**Primary Goal of Adversary**: Deliver hidden malicious intent

**Core Attack Surface**: Prompts, documents, RAG inputs

<table><thead><tr><th width="305.6666259765625">Policy Name</th><th>AI BOM Impacted</th><th width="301.3333740234375">How Lineaje Implements This Policy</th></tr></thead><tbody><tr><td>Do not allow malicious content via hidden prompts. See: <a href="#ai_app_sec_001">AI_APP_SEC_001</a></td><td>LLM, AI Agent</td><td>Blocks hidden instructions from being interpreted as executable intent.</td></tr><tr><td>Do not allow malicious content via prompts encoded in Base64. See: <a href="#ai_app_sec_002">AI_APP_SEC_002</a></td><td>LLM, AI Agent</td><td>Prevents decoding and execution of obfuscated instructions.</td></tr><tr><td>Do not allow malicious content via hidden prompts written in leetspeak. See: <a href="#ai_app_sec_032-1">AI_APP_SEC_032</a></td><td>LLM, AI Agent</td><td>Stops obfuscation-based bypass of input filters.</td></tr><tr><td>MCP server must validate and sanitize all input. See: <a href="#ai_app_sec_014">AI_APP_SEC_014</a></td><td>MCP Server</td><td>Stops weaponized input at ingress.</td></tr><tr><td>LLM must validate and sanitize any input before processing. See: <a href="#ai_app_sec_038">AI_APP_SEC_038</a></td><td>LLM</td><td>Prevents malicious input from influencing reasoning.</td></tr></tbody></table>

### Stage 4 - Reasoning-Time Execution

**Primary Goal of Adversary**: Change the AI’s goal or logic

**Core Attack Surface**: Planning and reasoning process

<table><thead><tr><th width="273.00006103515625">Policy Name</th><th></th><th width="292.0001220703125">How Lineaje Implements This Policy</th></tr></thead><tbody><tr><td>MCP server must not interact directly with an LLM. See: <a href="#ai_app_sec_033">AI_APP_SEC_033</a></td><td>LLM, MCP Server</td><td>Prevents unsafe reasoning execution at the server layer.</td></tr><tr><td>Do not allow malicious content via hidden prompts. See: <a href="#ai_app_sec_001">AI_APP_SEC_001</a></td><td>LLM, AI Agent</td><td>Reduces likelihood of reasoning hijack.</td></tr><tr><td>Agent must validate, sanitize LLM output including for presence of eval or any dynamic code execution primitive in LLM output. See: <a href="#ai_app_sec_029">AI_APP_SEC_029</a></td><td>AI Agent</td><td>Limits unsafe reasoning outputs.</td></tr></tbody></table>

### Stage 5 - Tool and Environment Interaction

**Primary Goal of Adversary**: Act on real systems

**Core Attack Surface**: Tools, APIs, plugins, workflows

<table><thead><tr><th width="290.33331298828125">Policy Name</th><th>AI BOM Impacted</th><th width="268">How Lineaje Implements This Policy</th></tr></thead><tbody><tr><td>Agent must validate, sanitize LLM output including for presence of eval or any dynamic code execution primitive in LLM output. See: <a href="#ai_app_sec_029">AI_APP_SEC_029</a></td><td>AI Agent</td><td>Limits unsafe reasoning outputs.</td></tr><tr><td>Limit agent credentials to a maximum of three external systems. See: <a href="#ai_iac_008">AI_IAC_008</a></td><td>AI Agent</td><td>Prevents credential sprawl and limits unauthorized privilege escalation.</td></tr></tbody></table>

### Stage 6 - Privilege Escalation

**Primary Goal of Adversary**: Gain more authority

**Core Attack Surface**: Context, credentials, delegation

<table><thead><tr><th width="303.6666259765625">Policy Name</th><th>AI BOM Impacted</th><th width="265.3333740234375">How Lineaje Implements This Policy</th></tr></thead><tbody><tr><td>Do not store secrets in code. See: <a href="#ai_dat_sec_001">AI_DAT_SEC_001</a></td><td>LLM, AI Agent, MCP Server</td><td>Eliminates durable credential discovery.</td></tr><tr><td>Limit agent credentials to a maximum of three external systems. See: <a href="#ai_iac_008">AI_IAC_008</a></td><td>AI Agent</td><td>Prevents credential sprawl and limits unauthorized privilege escalation.</td></tr><tr><td>MCP server must not interact directly with an LLM. See: <a href="#ai_app_sec_033">AI_APP_SEC_033</a></td><td>LLM, MCP Server</td><td>Prevents implicit privilege delegation.</td></tr></tbody></table>

### Stage 7 - Lateral Movement

**Primary Goal of Adversary**: Spread the compromise

**Core Attack Surface**: Agents, workflows, shared memory

<table><thead><tr><th width="271.00006103515625">Policy Name</th><th>AI BOM Impacted</th><th width="328">How Lineaje Implements This Policy</th></tr></thead><tbody><tr><td>Client must validate and sanitize any output from an MCP server. See: <a href="#ai_app_sec_023">AI_APP_SEC_023</a></td><td>AI Agent, MCP Client</td><td>Breaks trust transitivity between services.</td></tr><tr><td>Inter-agent communication must be authenticated. See: <a href="#ai_iac_007">AI_IAC_007</a></td><td>AI Agent</td><td>Prevents agent impersonation and propagation.</td></tr><tr><td>Mask PII on user interfaces. See: <a href="#ai_dat_sec_012">AI_DAT_SEC_012</a></td><td>LLM, AI Agent</td><td>Prevents visual propagation of sensitive data.</td></tr></tbody></table>

### Stage 8 - Persistence

**Primary Goal of Adversary**: Make the compromise survive

**Core Attack Surface**: Memory, RAG, feedback, training

<table><thead><tr><th width="283">Policy Name</th><th>AI BOM Impacted</th><th width="294.666748046875">How Lineaje Implements This Policy</th></tr></thead><tbody><tr><td>Do not log PII. See: <a href="#ai_dat_sec_010">AI_DAT_SEC_010</a></td><td>LLM, AI Agent, MCP Server</td><td>Prevents durable storage of sensitive data.</td></tr><tr><td>Do not send PII to LLMs. See: <a href="#ai_dat_sec_011">AI_DAT_SEC_011</a></td><td>MCP Server</td><td>Prevents PII from entering persistent AI state.</td></tr><tr><td>MCP clients must log all interactions with the MCP server. See: <a href="#ai_app_sec_022">AI_APP_SEC_022</a></td><td>MCP Server</td><td>Enables detection of persistent behavior.</td></tr><tr><td>Agents must log all interactions with the LLM. See: <a href="#ai_app_sec_035">AI_APP_SEC_035</a></td><td>LLM, AI Agent</td><td>Supports forensic investigation.</td></tr></tbody></table>

### Stage 9 - Command & Control

**Primary Goal of Adversary**: Maintain influence over time

**Core Attack Surface**: Normal interaction, schedules

<table><thead><tr><th width="291.666748046875">Policy Name</th><th>AI BOM Impacted</th><th width="306">How Lineaje Implements This Policy</th></tr></thead><tbody><tr><td>Clear exit or termination criteria must exist for the agent to consider its task complete and stop executing. See: <a href="#ai_app_sec_034">AI_APP_SEC_034</a></td><td>AI Agent</td><td>Prevents sustained or looping agent control.</td></tr><tr><td>MCP clients must log all interactions with the MCP server. See: <a href="#ai_app_sec_022">AI_APP_SEC_022</a></td><td>MCP Server</td><td>Enables detection of persistent behavior.</td></tr><tr><td>Agents must log all interactions with the LLM. See: <a href="#ai_app_sec_035">AI_APP_SEC_035</a></td><td>LLM, AI Agent</td><td>Supports forensic investigation.</td></tr></tbody></table>

### Stage 10 - Actions on Objectives

**Primary Goal of Adversary**: Cause business impact

**Core Attack Surface**: Outputs, integrations, downstream systems

<table><thead><tr><th width="340.33331298828125">Policy Name</th><th></th><th width="217.3333740234375">How Lineaje Implements This Policy</th></tr></thead><tbody><tr><td>Encrypt PII when shared. See: <a href="#ai_dat_sec_009">AI_DAT_SEC_009</a></td><td>LLM, AI Agent, MCP Server</td><td>Prevents usable data disclosure.</td></tr><tr><td>Agent must validate, sanitize LLM output including for presence of eval or any dynamic code execution primitive in LLM output. See: <a href="#ai_app_sec_029">AI_APP_SEC_029</a></td><td>AI Agent</td><td>Reduces likelihood of high-impact actions.</td></tr></tbody></table>

### Lineaje Policies

### AI Threats and Exploits&#x20;

<details>

<summary>AI_APP_SEC_001</summary>

Do not allow malicious content via hidden prompts - Critical

**Violation Summary**

Hidden or non-visible prompts detected in the system introduce risks of prompt injection, bypass of safety controls, and untraceable model behavior.&#x20;

**Affected Assets**

* LLM
* AI Agent

**Technical Details**

Hidden prompts introduce several risks including:&#x20;

* Undetectable prompt injection&#x20;
* Unpredictable, unsafe or incorrect output&#x20;
* Bypass safety and governance controls&#x20;
* Unsafe or inconsistent agent behavior&#x20;
* Regulatory and Ethical exposure&#x20;

**Attack Vector**: Prompt&#x20;

**Attack Complexity**: Low&#x20;

**Privileges Required**: None&#x20;

**User Interaction**: None&#x20;

**Confidentially Impact**: High&#x20;

**Integrity Impact**: High&#x20;

**Availability Impact**: Low&#x20;

**Framework**

* **Nov 18, 2024 - OWASP-LLM**: LLM01, LLM02, LLM04, LLM08&#x20;
* **March 2025 - OWASP-ASI**: ASI-01, ASI-04, ASI-07, ASI-09&#x20;
* **Aug 1, 2024 - EU AI Act**: 1.11, 2.12, 3.13, 4.50&#x20;

**References**

<https://genai.owasp.org/llm-top-10/> &#x20;

<https://genai.owasp.org/initiatives/agentic-security-initiative/> &#x20;

<https://artificialintelligenceact.eu/ai-act-explorer/>  &#x20;

</details>

<details>

<summary>AI_APP_SEC_002</summary>

Do not allow malicious content via encoded prompts - Critical

**Violation Summary**

Encoded prompts are instructions hidden inside obfuscated text, Base64, hex, zero-width characters, steganographic patterns, metadata, or structured payloads. They allow attackers or internal actors to bypass oversight, evade filters, or manipulate an AI system without detection.&#x20;

**Affected Assets**

* LLM
* AI Agent

**Technical Details**&#x20;

Hidden prompts introduce several risks including:&#x20;

* Invisible prompt injection leading to unauthorized system behavior&#x20;
* Safety bypass (toxicity, policy evasion, jailbreaks)&#x20;
* Leakage of sensitive data or internal system instructions&#x20;
* Corruption of downstream workflows due to manipulated outputs&#x20;
* Violations of transparency, record-keeping, and explainability requirements&#x20;

**Attack Vector**: Prompt&#x20;

**Attack Complexity**: Low&#x20;

**Privileges Required**: None&#x20;

**User Interaction**: None&#x20;

**Confidentially Impact**: High&#x20;

**Integrity Impact**: High&#x20;

**Availability Impact**: Low&#x20;

**Framework**

* **Nov 18, 2024 - OWASP-LLM**: LLM01, LLM04, LLM05, LLM08&#x20;
* **March 2025 - OWASP-ASI**: ASI-01, ASI-04, ASI-07, ASI-09&#x20;
* **Aug 1, 2024 - EU AI Act**: 1.11, 2.12, 3.13, 4.50&#x20;

**References**&#x20;

<https://genai.owasp.org/llm-top-10/> &#x20;

<https://genai.owasp.org/initiatives/agentic-security-initiative/> &#x20;

<https://artificialintelligenceact.eu/ai-act-explorer/> &#x20;

</details>

<details>

<summary>AI_APP_SEC_006</summary>

Use only LLMs from the organization’s approved list – High/Critical

**Violation Summary** \
Using an LLM that is not on the organization’s approved list introduces uncontrolled security, privacy, compliance, and operational risks. Unapproved LLMs may have unknown data handling practices, insufficient security controls, unclear training or retention policies, weak contractual protections, or unvetted model behavior. This bypasses governance, procurement, and risk management processes, exposing the organization to data leakage, regulatory violations, vendor lock-in, and unpredictable AI behavior across agentic and automated workflows.&#x20;

**Affected Assets**

* LLM
* AI Agent

**Technical Details**

Using an unapproved LLM introduces several risks including:&#x20;

* Uncontrolled processing, retention, or reuse of sensitive data and prompts&#x20;
* Unknown security posture, access controls, and logging practices&#x20;
* Potential training on proprietary or regulated data without consent&#x20;
* Incompatibility with organizational guardrails, monitoring, or audit tooling&#x20;
* Increased exposure to prompt injection, data leakage, or unsafe outputs&#x20;
* Breach of contractual, legal, or regulatory obligations&#x20;
* Loss of centralized governance, visibility, and incident response capability&#x20;

**Attack Vector**: LLM selection / API usage outside approved platforms \
**Attack Complexity**: Low \
**Privileges Required**: None \
**User Interaction**: None \
**Confidentiality Impact**: Critical \
**Integrity Impact**: High \
**Availability Impact**: Medium (instability or service changes)&#x20;

**Frameworks**&#x20;

**Nov 18, 2024 – OWASP-LLM**: LLM03, LLM05, LLM08  \
**March 2025 – OWASP-ASI**: ASI-04, ASI-05, ASI-09, ASI-12 \
**Aug 1, 2024 – EU AI Act**: Articles 11, 12, 13, 50, obligations for GPAI risk management and provider accountability&#x20;

**References**

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com) \
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com) \
<https://artificialintelligenceact.eu/ai-act-explorer/>&#x20;

</details>

<details>

<summary>AI_APP_SEC_014</summary>

MCP server must validate and sanitize all input - Critical

**Violation Summary**&#x20;

If an MCP server accepts input from clients, agents, or LLMs without validation or sanitization, it becomes vulnerable to malformed payloads, injection attacks, unauthorized tool invocation, unsafe command execution, and data corruption. Because MCP servers often expose high-privilege operations (file access, API calls, system actions), unvalidated input can be weaponized to manipulate workflows, escalate privileges, or deliver malicious instructions that compromise both the server environment and downstream systems.&#x20;

**Affected Assets**&#x20;

MCP Server&#x20;

**Input Validation**&#x20;

Validation ensures that input conforms to expected structure, type, length, format, and policy constraints before it is processed by the LLM. It answers the question if the input is allowed to be processed.&#x20;

**Examples of Validation**&#x20;

* Rejecting prompts longer than a defined maximum length&#x20;
* Enforcing schema compliance (e.g., JSON with specific fields only)&#x20;
* Blocking inputs containing disallowed patterns (e.g., ignore previous instructions, system override)&#x20;
* Restricting input sources to authenticated or trusted origins&#x20;
* Ensuring prompts match an approved task or intent category&#x20;

**Input Sanitization**&#x20;

Sanitization transforms input to remove, neutralize, or normalize unsafe elements while preserving legitimate intent. Sanitization ensures that the input is made safe before processing. &#x20;

**Examples of Sanitization**&#x20;

* Normalizing Unicode to remove obfuscation (e.g., leetspeak, homoglyphs)&#x20;
* Stripping zero-width or invisible characters&#x20;
* Decoding and inspecting encoded content (Base64, hex) before use&#x20;
* Escaping or isolating untrusted text so it cannot be interpreted as instructions&#x20;
* Removing or redacting sensitive data (PII, secrets)&#x20;

**Technical Details**

Not validating or sanitizing MCP server input introduces several risks including:&#x20;

* Injection of malicious commands, payloads, or structured data into tools or system functions&#x20;
* Execution of unsafe or hallucinated instructions originating from LLM output&#x20;
* Unauthorized access or misuse of server-side capabilities and sensitive APIs&#x20;
* Corruption of data, resources, or operational workflows through malformed input&#x20;
* Increased attack surface for prompt-to-system escalation attacks&#x20;
* Loss of governance, auditability, and explainability of server-driven actions&#x20;
* Violations of integrity, safety, and regulatory obligations for high-risk functions&#x20;

**Attack Vector**: MCP client → server input channel \
**Attack Complexity**: Low \
**Privileges Required**: None \
**User Interaction**: None \
**Confidentiality Impact**: High \
**Integrity Impact**: Critical \
**Availability Impact**: Medium to High (depending on server capabilities)&#x20;

**Timeline**

* **Nov 18, 2024 – OWASP-LLM**: LLM01 (Prompt/Instruction Injection), LLM04 (Behavior Manipulation), LLM05 (Sensitive Information Disclosure), LLM06 (Hallucination Risks), LLM08 (Transparency & Audit Failures)&#x20;
* **March 2025 – OWASP-ASI**: ASI-01 (Input/Output Integrity), ASI-05 (Safe Handling), ASI-07 (Reliability), ASI-09 (Traceability), ASI-12 (Operational Monitoring)&#x20;
* **Aug 1, 2024 – EU AI Act**: Articles 11 (Documentation), 12 (Record-Keeping), 13 (Transparency), 50 (Transparency Obligations), plus Annex III robustness & safety requirements&#x20;

**References**&#x20;

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com) \
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com) \
<https://artificialintelligenceact.eu/ai-act-explorer/>&#x20;

&#x20;

</details>

<details>

<summary>AI_APP_SEC_022</summary>

MCP clients must log all interactions with the MCP server - Critical&#x20;

**Violation Summary**\
A missing or incomplete logging mechanism between the MCP client and MCP server creates a critical visibility and governance gap. MCP interactions often trigger high-privilege actions (tool execution, data access, workflow modification). Without proper logs, misuse, anomalies, attacks, or unauthorized system changes cannot be detected, investigated, or attributed. This results in opaque AI behavior, broken audit trails, and non-compliance with required traceability and transparency obligations.&#x20;

**Affected Assets**

* MCP Client
* MCP Server

**Technical Details**

Failure to log MCP interactions introduces several risks including:&#x20;

* Undetectable misuse or abuse of MCP server tools&#x20;
* Inability to perform forensic investigation during an incident&#x20;
* Loss of accountability for AI-driven actions and decisions&#x20;
* Exposure to covert prompt injection or unauthorized system manipulation&#x20;
* Violations of traceability, transparency, and record-keeping requirements&#x20;
* Difficulty detecting anomalous behavior or lateral movement&#x20;
* Corruption of downstream workflows due to hidden actions&#x20;

**Attack Vector:** MCP tool invocation / API interaction\
**Attack Complexity:** Low\
**Privileges Required:** None, when exploited via LLM-driven tool calls.\
**User Interaction:** None\
**Confidentiality Impact:** High\
**Integrity Impact:** High\
**Availability Impact:** Low&#x20;

**Framework**&#x20;

**Nov 18, 2024 – OWASP-LLM:** LLM01, LLM04, LLM05, LLM08\
**March 2025 – OWASP-ASI:** ASI-01, ASI-04, ASI-07, ASI-09\
**Aug 1, 2024 – EU AI Act:** 1.11, 2.12, 3.13, 4.50&#x20;

**References**&#x20;

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com)\
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com)\
<https://artificialintelligenceact.eu/ai-act-explorer/> &#x20;

</details>

<details>

<summary>AI_APP_SEC_023</summary>

Client must validate and sanitize any output from a MCP server - Critical

**Violation Summary**

When an MCP client consumes output from an MCP server without validation or sanitization, it exposes the AI system and downstream components to malformed data, malicious payloads, injection attacks, hallucinated instructions, and unsafe tool execution. MCP server output may include structured data, commands, untrusted text, or model-generated content. Without safeguards, unvalidated output can drive unsafe automated actions, corrupt workflows, or leak sensitive information.&#x20;

**Affected Assets**

* AI Agent
* MCP Client

**Input Validation**&#x20;

Validation ensures that input conforms to expected structure, type, length, format, and policy constraints before it is processed by the LLM. It answers the question if the input is allowed to be processed.&#x20;

**Examples of validation**&#x20;

* Rejecting prompts longer than a defined maximum length&#x20;
* Enforcing schema compliance (e.g., JSON with specific fields only)&#x20;
* Blocking inputs containing disallowed patterns (e.g., ignore previous instructions, system override)&#x20;
* Restricting input sources to authenticated or trusted origins&#x20;
* Ensuring prompts match an approved task or intent category&#x20;

**Input Sanitization**&#x20;

Sanitization transforms input to remove, neutralize, or normalize unsafe elements while preserving legitimate intent. Sanitization ensures that the input is made safe before processing. &#x20;

**Examples of sanitization**

* Normalizing Unicode to remove obfuscation (e.g., leetspeak, homoglyphs)&#x20;
* Stripping zero-width or invisible characters&#x20;
* Decoding and inspecting encoded content (Base64, hex) before use&#x20;
* Escaping or isolating untrusted text so it cannot be interpreted as instructions&#x20;
* Removing or redacting sensitive data (PII, secrets)&#x20;

**Affected Assets**&#x20;

* AI Agent&#x20;
* MCP Client&#x20;

**Technical Details**&#x20;

Lack of output validation introduces several risks including:&#x20;

* Execution of harmful or unintended actions triggered by malformed MCP output&#x20;
* Injection of unsafe code, commands, or control sequences into downstream systems&#x20;
* Propagation of hallucinated, incorrect, or manipulated data&#x20;
* Leakage of sensitive information through unfiltered server responses&#x20;
* Corruption of business workflows or agent decision chains&#x20;
* Evasion of safety controls due to unmonitored tool responses&#x20;
* Violations of auditability, reliability, and compliance requirements&#x20;

**Attack Vector**: MCP response / server-generated output \
**Attack Complexity**: Low \
**Privileges Required**: None \
**User Interaction**: None \
**Confidentiality Impact**: High \
**Integrity Impact**: High \
**Availability Impact**: Medium (via cascading workflow corruption)&#x20;

**Timeline**

* **Nov 18, 2024** – OWASP-LLM: LLM01, LLM03, LLM04, LLM06, LLM08&#x20;
* **March 2025** – OWASP-ASI: ASI-01, ASI-05, ASI-07, ASI-09&#x20;
* **Aug 1, 2024** – EU AI Act: 1.11, 2.12, 3.13, 4.50&#x20;

**References**&#x20;

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com) \
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com) \
<https://artificialintelligenceact.eu/ai-act-explorer/>&#x20;

</details>

<details>

<summary>AI_APP_SEC_028</summary>

Do not use LLMs from the organization's disallowed list - Critical

**Violation Summary** \
Using an LLM that is explicitly on the organization’s block list represents a deliberate bypass of governance, security, and risk controls. Block-listed LLMs are typically prohibited due to known deficiencies such as unsafe data handling, unacceptable training or retention practices, lack of contractual protections, regulatory exposure, weak security posture, or demonstrated unsafe behavior. Their use introduces severe security, privacy, compliance, and reputational risks and undermines centralized AI governance.&#x20;

**Affected Assets**

* LLM
* AI Agent

**Technical Details**

Using a block-listed LLM introduces several risks including:&#x20;

* Known or previously identified data leakage, retention, or misuse risks&#x20;
* Exposure of sensitive, proprietary, or regulated data to untrusted providers&#x20;
* Circumvention of organizational security, legal, and compliance controls&#x20;
* Lack of auditability, logging, or incident response visibility&#x20;
* Increased likelihood of unsafe, biased, or non-compliant model behavior&#x20;
* Breach of regulatory, contractual, or internal policy obligations&#x20;
* Loss of trust in AI governance and enforcement mechanisms&#x20;

**Attack Vector**: Unauthorized LLM selection / direct API or UI usage \
**Attack Complexity**: Low \
**Privileges Required**: None \
**User Interaction**: None \
**Confidentiality Impact**: Critical \
**Integrity Impact**: High \
**Availability Impact**: Medium&#x20;

**Frameworks**

* **Nov 18, 2024 – OWASP-LLM**: LLM03, LLM05, LLM08&#x20;
* **March 2025 – OWASP-ASI**: ASI-04, ASI-05, ASI-09, ASI-12&#x20;
* **Aug 1, 2024 – EU AI Act**: Articles 11, 12, 13, 50, GPAI risk-management and provider accountability requirements&#x20;

**References**&#x20;

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com) \
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com) \
<https://artificialintelligenceact.eu/ai-act-explorer/>&#x20;

</details>

<details>

<summary>AI_APP_SEC_029</summary>

Agent must validate, sanitize LLM output including for presence of eval or any dynamic code execution primitive in LLM output - Critical

**Affected Assets**

AI Agent

**Violation Summary**

When LLM outputs are consumed without validation or sanitization, the system becomes vulnerable to unsafe instructions, hallucinated commands, malicious payloads, and untrusted code. This risk becomes critical when the LLM output may contain eval, shell commands, SQL statements, or other dynamic execution primitives. If such outputs pass directly into an interpreter, agent tool, or workflow engine, they can lead to arbitrary code execution, data exfiltration, workflow corruption, or full system compromise.&#x20;

**Input Validation**&#x20;

Validation ensures that input conforms to expected structure, type, length, format, and policy constraints before it is processed by the LLM. It answers the question if the input is allowed to be processed.&#x20;

**Examples of Validation**&#x20;

* Rejecting prompts longer than a defined maximum length&#x20;
* Enforcing schema compliance (e.g., JSON with specific fields only)&#x20;
* Blocking inputs containing disallowed patterns (e.g., ignore previous instructions, system override)&#x20;
* Restricting input sources to authenticated or trusted origins&#x20;
* Ensuring prompts match an approved task or intent category&#x20;

**Input Sanitization**&#x20;

Sanitization transforms input to remove, neutralize, or normalize unsafe elements while preserving legitimate intent. Sanitization ensures that the input is made safe before processing. &#x20;

**Examples of Sanitization**&#x20;

* Normalizing Unicode to remove obfuscation (e.g., leetspeak, homoglyphs)&#x20;
* Stripping zero-width or invisible characters&#x20;
* Decoding and inspecting encoded content (Base64, hex) before use&#x20;
* Escaping or isolating untrusted text so it cannot be interpreted as instructions&#x20;
* Removing or redacting sensitive data (PII, secrets)&#x20;

**Affected Assets**&#x20;

AI Agent&#x20;

**Technical Details**&#x20;

Failure to validate LLM output introduces several risks including:&#x20;

* Accidental or malicious execution of model-generated code (e.g., eval, exec, Function, subprocess calls)&#x20;
* Injection of harmful commands or payloads into tools, agents, or downstream applications&#x20;
* Execution of hallucinated instructions that modify resources, corrupt data, or trigger destructive operations&#x20;
* Leakage of internal or sensitive information through improperly filtered responses&#x20;
* Exploitation of agents that automatically convert LLM output into actions (“AI code injection”)&#x20;
* Loss of safety, explainability, reliability, and auditability in automated pipelines&#x20;
* Violations of governance, logging, and traceability requirements&#x20;

**Attack Vector**: LLM output → downstream interpreter / agent tool \
**Attack Complexity**: Low (LLM can be tricked into generating dangerous primitives) \
Privileges Required: None \
**User Interaction**: None (fully autonomous execution paths are most at risk) \
**Confidentiality Impact**: High \
**Integrity Impact**: Critical \
**Availability Impact**: Medium to High&#x20;

**Timeline**

* **Nov 18, 2024 – OWASP-LLM**: LLM01, LLM03, LLM04, LLM06, LLM08&#x20;
* **March 2025 – OWASP-ASI**: ASI-01, ASI-05, ASI-07, ASI-09, ASI-12&#x20;
* **Aug 1, 2024 – EU AI Act**: 1.11, 2.12, 3.13, 4.50&#x20;

**References**&#x20;

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com) \
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com) \
<https://artificialintelligenceact.eu/ai-act-explorer/>&#x20;

</details>

<details>

<summary>AI_APP_SEC_032</summary>

Do not allow malicious content via hidden prompts written in leetspeak - High/Critical

**Violation Summary** \
Allowing prompts written in leetspeak (e.g., h4x0r, 3v4l, 1nj3ct, byp4ss) or similar obfuscated language enables attackers to evade input validation, safety filters, and policy enforcement mechanisms. Leetspeak transforms malicious intent into visually altered but semantically equivalent text, allowing prompt injection, jailbreak attempts, encoded instructions, and policy bypasses to slip past keyword-based detection and moderation layers. This weakens the integrity and reliability of LLM-driven systems, especially in agentic and autonomous workflows.&#x20;

**Affected Assets**

* LLM
* AI Agent

**Technical Details**&#x20;

Allowing leetspeak introduces several risks including:&#x20;

* Bypass of keyword-based safety, moderation, and policy filters&#x20;
* Injection of malicious or unsafe instructions disguised as benign input&#x20;
* Increased success of encoded or obfuscated prompt attacks&#x20;
* Manipulation of agent reasoning or tool invocation logic&#x20;
* Reduced auditability and explainability due to obfuscated intent&#x20;
* Amplification of downstream risks when leetspeak-generated outputs drive actions&#x20;

**Attack Vector**: LLM input prompt (user, agent, or external system) \
**Attack Complexity**: Low \
**Privileges Required**: None \
**User Interaction**: None (especially in automated or agent-driven scenarios) \
**Confidentiality Impact**: High \
**Integrity Impact**: High to Critical \
**Availability Impact**: Low&#x20;

**Reference Frameworks**

* **Nov 18, 2024 – OWASP-LLM**: LLM01, LLM04, LLM06, LLM08 &#x20;
* **March 2025 – OWASP-ASI**: ASI-01, ASI-04, ASI-07, ASI-09), ASI-12 &#x20;
* **Aug 1, 2024 – EU AI Act**: Articles 11, 12, 13, 50, plus Annex III robustness and risk-management requirements&#x20;

**References**&#x20;

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com) \
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com) \
<https://artificialintelligenceact.eu/ai-act-explorer/>&#x20;

</details>

<details>

<summary>AI_APP_SEC_033</summary>

MCP server must not directly interact with the LLM – Critical

**Violation Summary**\
When an MCP server directly interacts with the LLM—rather than operating only through an authenticated, validated, policy-enforcing MCP client—it collapses the trust boundary between system capabilities and untrusted model output. This allows the LLM to influence, manipulate, or trigger server-side actions without authorization or validation. Direct LLM-to-server interaction bypasses safety controls, authentication layers, input validation, output filtering, logging standards, and audit requirements. This exposes the environment to unbounded prompt injection, unsafe tool execution, data leakage, and full-system compromise.&#x20;

**Affected Assets**

* LLM
* MCP Server

**Technical Details**\
Allowing an MCP server to directly interact with an LLM introduces several risks including:&#x20;

* Execution of unsafe, hallucinated, or malicious LLM-generated instructions on high-privilege server tools&#x20;
* Prompt injection attacks gaining direct access to server capabilities&#x20;
* Bypassing client-side authentication, authorization, validation, and logging layers&#x20;
* Data leakage through uncontrolled LLM requests or responses&#x20;
* Inability to enforce least-privilege and zero-trust boundaries between model and system operations&#x20;
* Loss of auditability because actions occur without the MCP client as an intermediary&#x20;
* Violations of governance, safety, and regulatory obligations for high-risk AI systems&#x20;

**Attack Vector:** LLM output → server action path\
**Attack Complexity:** Low\
**Privileges Required:** None\
**User Interaction:** None\
**Confidentiality Impact:** High\
**Integrity Impact:** Critical\
**Availability Impact:** Medium to High&#x20;

**Framework**

* **Nov 18, 2024 – OWASP-LLM:** LLM01 (Prompt/Instruction Injection), LLM04 (Behavior Manipulation), LLM05 (Data Disclosure), LLM06 (Hallucination Risks), LLM08 (Transparency & Audit Failures)
* **Mar 2025 – OWASP-ASI:** ASI-01 (Input/Output Integrity), ASI-04 (Governance), ASI-05 (Safe Handling), ASI-09 (Traceability), ASI-12 (Monitoring)
* **Aug 1, 2024 – EU AI Act:** Articles 11 (Documentation), 12 (Record-Keeping), 13 (Transparency), 50 (Transparency Obligations), plus Annex III robustness & safety controls for high-risk systems&#x20;

**References**&#x20;

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com)\
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com)\
<https://artificialintelligenceact.eu/ai-act-explorer/> &#x20;

</details>

<details>

<summary>AI_APP_SEC_034</summary>

Clear exit or termination criteria must exist for the agent to consider its task complete and stop executing – High/Critical

**Violation Summary**\
When an AI agent is not given explicit, enforceable exit or termination criteria, it may continue executing indefinitely, escalate actions beyond intended scope, repeatedly invoke tools, consume excessive compute, or enter unsafe operational loops. Lack of defined stopping conditions increases the risk of runaway behavior, unintended system modifications, resource exhaustion, privacy violations, and unbounded interaction with external systems or MCP tools. Agents without termination logic become unpredictable, ungovernable, and potentially harmful. &#x20;

**Affected Assets**

AI Agent

**Technical Details**\
Missing termination criteria introduces several risks including:&#x20;

* Infinite or runaway task execution that triggers unnecessary or harmful actions&#x20;
* Repeated tool invocation (MCP or external APIs), leading to data exposure or workflow corruption&#x20;
* Accidental escalation of privileges as the agent searches endlessly for ways to complete the task
* Hallucination-driven decisions due to self-reinforcing reasoning loops&#x20;
* Excessive resource consumption or uncontrolled cost&#x20;
* Increased attack surface for prompt injection that pushes the agent into unsafe recursive behavior&#x20;
* Violations of safety, oversight, and accountability requirements&#x20;

**Attack Vector:** Agent reasoning cycle / task execution loop\
**Attack Complexity:** Low\
**Privileges Required:** None\
**User Interaction:** None\
**Confidentiality Impact:** Medium to High (depending on tool access)\
**Integrity Impact:** High\
**Availability Impact:** Medium to High&#x20;

**Framework**

* **Nov 18, 2024 – OWASP-LLM**: LLM01 (Injection), LLM04 (Behavior Manipulation), LLM06 (Hallucination Risks), LLM08 (Transparency & Audit Failures)
* **Mar 2025 – OWASP-ASI**: ASI-01 (Integrity), ASI-04 (Governance), ASI-07 (Reliability), ASI-09 (Traceability), ASI-12 (Monitoring)
* **Aug 1, 2024 – EU AI Act**: Articles 11 (Documentation), 12 (Record-Keeping), 13 (Transparency), 50 (Transparency Obligations), Annex III requirements for safe, predictable operation of high-risk systems&#x20;

**References**

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com)\
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com)\
<https://artificialintelligenceact.eu/ai-act-explorer/> &#x20;

</details>

<details>

<summary>AI_APP_SEC_035</summary>

Agents must log all interactions with the LLM - Critical

**Violation Summary**\
If agents do not log their interactions with the LLM, including prompts, responses, tool requests, and reasoning triggers, organizations lose visibility into how decisions were made, what data was exchanged, and whether harmful or unauthorized actions occurred. Missing LLM interaction logs break auditability, hinder incident response, obscure the source of incorrect or unsafe outputs, and prevent compliance verification. Lack of logging also enables attackers to exploit the agent–LLM channel without detection. &#x20;

**Affected Assets**

* LLM
* AI Agent

**Technical Details**\
Not logging agent ↔LLM interactions introduces several risks including:&#x20;

* Inability to reconstruct how the agent reached a decision or triggered an action&#x20;
* Loss of forensic evidence needed for incident response or regulatory review&#x20;
* Undetected prompt injection, harmful outputs, or unsafe tool invocations&#x20;
* Unmonitored leakage of sensitive data or PII through prompts or responses&#x20;
* Difficulty identifying hallucination-driven failures or behavioral drift&#x20;
* Loss of traceability required for governance, transparency, and safety assurance&#x20;
* Violations of logging, documentation, and accountability requirements&#x20;

**Attack Vector:** Agent ↔ LLM communication channel\
**Attack Complexity:** Low\
**Privileges Required:** None\
**User Interaction:** None\
**Confidentiality Impact:** High\
**Integrity Impact:** High\
**Availability Impact:** Low&#x20;

**Framework**

* **Nov 18, 2024 – OWASP-LLM**: LLM01 (Injection), LLM03 (Data Leakage), LLM04 (Behavior Manipulation), LLM08 (Transparency & Audit Failures)
* **Mar 2025 – OWASP-ASI**: ASI-01 (Integrity), ASI-05 (Data Handling), ASI-09 (Traceability), ASI-12 (Monitoring)
* **Aug 1, 2024 – EU AI Act**: Articles 11 (Documentation), 12 (Record-Keeping), 13 (Transparency), 50 (Transparency Obligations), with Annex III traceability requirements for high-risk systems&#x20;

**References**

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com)\
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com)\
<https://artificialintelligenceact.eu/ai-act-explorer/>  &#x20;

</details>

<details>

<summary>AI_APP_SEC_038</summary>

The LLM must validate and sanitize any input before processing - Critical

**Violation Summary**&#x20;

When a Large Language Model (LLM) accepts input without proper validation and sanitization, it becomes highly susceptible to prompt injection, encoded or hidden instructions, malicious payloads, and adversarial manipulation. Unsanitized inputs—originating from users, agents, tools, MCP servers, or external systems—can override system instructions, bypass guardrails, contaminate reasoning, and trigger unsafe downstream actions. This risk is amplified in agentic and tool-enabled environments where LLM output directly influences real systems.&#x20;

**Affected Assets**

LLM

**Input Validation**&#x20;

Validation ensures that input conforms to expected structure, type, length, format, and policy constraints before it is processed by the LLM. It answers the question if the input is allowed to be processed.&#x20;

**Examples of Validation**

* Rejecting prompts longer than a defined maximum length&#x20;
* Enforcing schema compliance (e.g., JSON with specific fields only)&#x20;
* Blocking inputs containing disallowed patterns (e.g., ignore previous instructions, system override)&#x20;
* Restricting input sources to authenticated or trusted origins&#x20;
* Ensuring prompts match an approved task or intent category&#x20;

**Input Sanitization**&#x20;

Sanitization transforms input to remove, neutralize, or normalize unsafe elements while preserving legitimate intent. Sanitization ensures that the input is made safe before processing. &#x20;

**Examples of Sanitization**

* Normalizing Unicode to remove obfuscation (e.g., leetspeak, homoglyphs)&#x20;
* Stripping zero-width or invisible characters&#x20;
* Decoding and inspecting encoded content (Base64, hex) before use&#x20;
* Escaping or isolating untrusted text so it cannot be interpreted as instructions&#x20;
* Removing or redacting sensitive data (PII, secrets)&#x20;

**Affected Assets**&#x20;

LLM&#x20;

**Technical Details**&#x20;

Failure to validate and sanitize LLM input introduces several risks including:&#x20;

* Prompt injection that overrides system and developer intent&#x20;
* Encoded, obfuscated, or hidden instructions bypassing safety controls&#x20;
* Injection of malicious content that manipulates tool usage or agent behavior&#x20;
* Leakage of sensitive data caused by adversarial prompt construction&#x20;
* Hallucination amplification driven by malformed or hostile inputs&#x20;
* Propagation of unsafe or untrusted instructions to downstream systems&#x20;
* Loss of transparency, auditability, and policy enforcement across AI workflows&#x20;

**Attack Vector**: LLM input channel (user, agent, tool, MCP, external system) \
**Attack Complexity**: Low \
**Privileges Required**: None \
**User Interaction**: None (especially in autonomous or agent-driven flows) \
**Confidentiality Impact**: High \
**Integrity Impact**: Critical \
**Availability Impact**: Medium&#x20;

**Timeline**&#x20;

* **Nov 18, 2024 – OWASP-LLM**: LLM01 (Prompt Injection), LLM04 (Model Behavior Manipulation), LLM05 (Sensitive Information Disclosure), LLM08 (Insufficient Transparency & Auditability)&#x20;
* **March 2025 – OWASP-ASI**: ASI-01 (Input Integrity), ASI-04 (Governance), ASI-07 (Reliability), ASI-09 (Traceability), ASI-12 (Operational Monitoring)&#x20;
* **Aug 1, 2024 – EU AI Act**: Articles 11 (Technical Documentation), 12 (Record-Keeping), 13 (Transparency), 50 (Transparency Obligations), plus Annex III robustness, safety, and risk-management requirements&#x20;

**References**

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com) \
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com) \
<https://artificialintelligenceact.eu/ai-act-explorer/>&#x20;

</details>

<details>

<summary>AI_APP_SEC_039</summary>

Sanitize and validate all input to the AI Model - Critical

**Violation Summary**\
If input sent to an LLM is not validated and sanitized, the system becomes vulnerable to prompt injection, obfuscated or encoded instructions, malformed payloads, and adversarial manipulation. Unchecked inputs originating from users, agents, tools, uploaded files, MCP services, or external systems can override system intent, bypass safety controls, contaminate reasoning, and trigger unsafe downstream actions. This risk is amplified in agentic, tool-enabled, and autonomous workflows where LLM output directly influences real systems.

**Affected Assets**

* LLM
* AI Agent

**Technical Details**

Failure to validate and sanitize input before sending it to an LLM introduces several risks including:

* Prompt injection that overrides system and developer intent
* Encoded, hidden, or obfuscated instructions (Base64, leetspeak, zero-width characters) bypassing guardrails
* Injection of malicious content that manipulates tool usage or agent behavior
* Leakage of sensitive data caused by adversarial prompt construction
* Hallucination amplification driven by malformed or hostile inputs
* Propagation of unsafe or untrusted instructions to downstream systems
* Loss of transparency, auditability, and policy enforcement across AI workflows

**Attack Vector**: Input channel → LLM (user, agent, tool, file ingestion, MCP, external system)\
**Attack Complexity**: Low\
**Privileges Required**: None\
**User Interaction**: None (especially in autonomous or agent-driven flows)\
**Confidentiality Impact**: High\
**Integrity Impact**: Critical\
**Availability Impact**: Medium

**Framework**

* OWASP-LLM: LLM01, LLM04, LLM05, LLM08
* OWASP-ASI: ASI-01 (Input Integrity), ASI-04, ASI-07, ASI-09, ASI-12
* EU AI Act: Articles 11, 12, 13, 50, plus Annex III robustness, safety, and risk-management requirements

**References**

<https://genai.owasp.org/llm-top-10/>\
<https://genai.owasp.org/initiatives/agentic-security-initiative/>\
<https://artificialintelligenceact.eu/ai-act-explorer/>

</details>

<details>

<summary>AI_APP_SEC_040</summary>

Do not allow malicious content via prompts included in uploaded files – Critical

**Violation Summary**\
If uploaded files (documents, PDFs, spreadsheets, images with OCR, code files, logs) are ingested by an LLM or agent without inspection for malicious prompts, attackers can embed hidden, encoded, or context-manipulating instructions that influence model behavior. These “prompt-in-files” attacks allow adversaries to bypass input controls, poison agent reasoning, extract sensitive data, or trigger unauthorized tool actions—often without any visible user prompt.

**Affected Assets**

AI Agent

**Technical Details**

Failing to scan uploaded files for malicious prompts introduces several risks including:

* Hidden prompt injection embedded in document text, comments, metadata, or OCR layers
* Encoded or obfuscated instructions (Base64, leetspeak, zero-width characters) evading detection  \
  Cross-context contamination where file content overrides system or developer instructions
* Unauthorized tool invocation or workflow manipulation driven by file-based prompts
* Leakage of sensitive data due to adversarial instructions embedded in files
* Loss of explainability when behavior is influenced by unseen file content
* Violations of transparency, auditability, and policy enforcement requirements

**Attack Vector**: File upload > document ingestion / OCR / parsing pipeline\
**Attack Complexity**: Low\
**Privileges Required**: None\
**User Interaction**: None, especially in automated ingestion or agent workflows.\
**Confidentiality Impact**: High\
**Integrity Impact**: Critical\
**Availability Impact**: Medium

**Framework**

* OWASP-LLM: LLM01, LLM04, LLM05, LLM08
* OWASP-ASI: ASI-01, ASI-04, ASI-07, ASI-09, ASI-12
* EU AI Act: Articles 11, 12, 13, 50, plus Annex III robustness, safety, and risk-management requirements

**References**

<https://genai.owasp.org/llm-top-10/>\
<https://genai.owasp.org/initiatives/agentic-security-initiative/>\
<https://artificialintelligenceact.eu/ai-act-explorer/>

</details>

### Data Security and Privacy

<details>

<summary>AI_DAT_SEC_001</summary>

Do not store secrets in code – Critical

**Violation Summary**\
Storing secrets, such as API keys, access tokens, service credentials, MCP tokens, encryption keys, or database passwords, directly in code, configuration files, or agent prompt templates introduces an immediate and critical security vulnerability. Hard-coded secrets are easily exposed through source control, logs, error messages, LLM interactions, and dependency analysis. Once leaked, these credentials can be used to impersonate services, manipulate AI agent behavior, exfiltrate data, or compromise entire environments.

**Affected Assets**

* LLM
* AI Agent
* MCP Server

**Technical Details**\
Storing secrets in code introduces several risks including:&#x20;

* Unauthorized access to internal systems, APIs, and third-party services&#x20;
* Full environment compromise if privileged keys (e.g., root tokens) are exposed&#x20;
* Impersonation of agents, MCP clients, or downstream services&#x20;
* Lateral movement enabled through leaked credentials&#x20;
* Leakage via LLM outputs, agent error messages, or repository scans&#x20;
* Irreversible compromise of production systems due to difficult secret rotation&#x20;
* Violations of governance, transparency, and credential-handling requirements&#x20;

**Attack Vector:** Source code / repository / agent configuration\
**Attack Complexity:** Low\
**Privileges Required:** None\
**User Interaction:** None\
**Confidentiality Impact:** Critical\
**Integrity Impact:** Critical\
**Availability Impact:** Medium&#x20;

**Framework**

* **Nov 18, 2024 – OWASP-LLM**: LLM01, LLM03, LLM05, LLM08
* **March 2025 – OWASP-ASI**: ASI-01, ASI-04, ASI-09, ASI-12
* **Aug 1, 2024 – EU AI Act**: 1.11, 2.12, 3.13, 4.50&#x20;

**References**

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com)\
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com)\
<https://artificialintelligenceact.eu/ai-act-explorer/> &#x20;

</details>

<details>

<summary>AI_DAT_SEC_009</summary>

If PII data must be shared, it must be encrypted - Critical

**Violation Summary**\
Transmitting personally identifiable information (PII) without encryption exposes sensitive user data to interception, tampering, unauthorized access, and regulatory non-compliance. Unencrypted PII flowing between AI agents, MCP clients and servers, microservices, or external APIs can be harvested by attackers or internal adversaries through network sniffing, logging systems, or compromised intermediaries. Such exposure creates severe privacy, legal, operational, and reputational risks.&#x20;

**Affected Assets**

* LLM
* AI Agent
* MCP Server

**Technical Details**\
Transmitting unencrypted PII introduces several risks including:&#x20;

* Exposure of sensitive user information through network interception&#x20;
* Unauthorized access to identity data, enabling fraud or impersonation&#x20;
* Regulatory violations (GDPR, EU AI Act, state privacy laws)&#x20;
* Inability to ensure integrity or authenticity of transmitted data&#x20;
* Leakage through LLM logs, telemetry, or debugging outputs&#x20;
* Lateral movement or privilege escalation through harvested identity data&#x20;
* Failure to meet encryption, security, and risk-management obligations&#x20;

**Attack Vector:** Network transit / API calls / agent communication\
**Attack Complexity:** Low\
**Privileges Required:** None\
**User Interaction:** None\
**Confidentiality Impact:** Critical\
**Integrity Impact:** High\
**Availability Impact:** Low&#x20;

**Framework**

* **Nov 18, 2024 – OWASP-LLM:** LLM03 (Data Leakage), LLM05 (Sensitive Information Disclosure), LLM08 (Insufficient Transparency & Auditability)
* **March 2025 – OWASP-ASI:** ASI-01 (Input/Output Integrity), ASI-05 (Data Security & Handling), ASI-09 (Audit & Traceability), ASI-12 (Operational Monitoring)
* **Aug 1, 2024 – EU AI Act:** Articles 1.11 (Technical Documentation), 2.12 (Record-Keeping), 3.13 (Transparency), 4.50 (General Transparency Obligations), plus GDPR-aligned data protection expectations reflected across the Act&#x20;

**References**

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com)\
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com)\
<https://artificialintelligenceact.eu/ai-act-explorer/> &#x20;

</details>

<details>

<summary>AI_DAT_SEC_010</summary>

Do not log PII – Critical

**Violation Summary**\
Logging personally identifiable information (PII) exposes sensitive user data to unauthorized access, replication, and long-term retention in unsecured or low-visibility systems. Log files are frequently accessible to broader engineering, operations, analytics, or third-party tools and often persist indefinitely. Once PII enters logs, it becomes extremely difficult to control, delete, audit, or protect—creating severe privacy, compliance, and security risks across all AI and MCP-enabled environments.&#x20;

**Affected Assets**

* LLM
* AI Agent
* MCP Server

**Technical Details**

Logging PII introduces several risks including:&#x20;

* Unauthorized internal access or external compromise of sensitive information&#x20;
* Accidental disclosure through debugging tools, telemetry pipelines, or log aggregators&#x20;
* Persistent exposure that violates data minimization and retention requirements&#x20;
* Inability to satisfy deletion, correction, or subject rights requests&#x20;
* Propagation of PII through downstream systems (LLM training data, observability tools, backups)&#x20;
* Legal and regulatory violations under GDPR, state privacy laws, and the EU AI Act&#x20;
* Loss of trust and reputational damage due to preventable data leakage&#x20;

**Attack Vector:** Logging systems / telemetry pipelines / observability tooling\
**Attack Complexity:** Low\
**Privileges Required:** None\
**User Interaction:** None\
**Confidentiality Impact:** Critical\
**Integrity Impact:** Medium\
**Availability Impact:** Low&#x20;

**Framework**&#x20;

* **Nov 18, 2024 - OWASP-LLM:** LLM03 (Data Leakage), LLM05 (Sensitive Information Disclosure), LLM08 (Insufficient Transparency & Auditability)
* **March, 2025 - OWASP-ASI:** ASI-01 (Integrity), ASI-05 (Data Handling), ASI-09 (Traceability), ASI-12 (Monitoring)
* **Aug, 1, 2024 - EU AI Act:** Articles 11 (Documentation), 12 (Record-Keeping), 13 (Transparency), 50 (Transparency Obligations), GDPR-aligned data-minimization principles&#x20;

**References**&#x20;

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com)\
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com)\
<https://artificialintelligenceact.eu/ai-act-explorer/> &#x20;

</details>

<details>

<summary>AI_DAT_SEC_011</summary>

Do not send PII to LLMs – Critical

**Violation Summary**\
Sending personally identifiable information (PII) to an LLM exposes sensitive data to uncontrolled processing, persistence, training retention, unauthorized internal access, and unintended disclosure. LLMs are not guaranteed to handle PII according to data-minimization or privacy-by-design principles, and model outputs may inadvertently reveal, transform, or propagate sensitive information. This creates severe privacy, regulatory, and security risks across all AI-driven workflows.&#x20;

**Affected Assets**

AI Agent

**Technical Details**\
Sending PII to an LLM introduces several risks including:

* Leakage of sensitive user information through outputs or indirect inference&#x20;
* Inclusion of PII in model logs, telemetry, or monitoring systems&#x20;
* Potential model retention or memorization of PII, enabling future extraction&#x20;
* Non-compliance with privacy regulations due to uncontrolled third-party processing&#x20;
* Exposure through prompt injection attacks that pull stored or inferred PII&#x20;
* Inability to enforce deletion, consent, or data subject rights&#x20;
* Violations of transparency, purpose limitation, and privacy-by-design obligations&#x20;

**Attack Vector:** LLM input channel\
**Attack Complexity:** Low\
**Privileges Required:** None\
**User Interaction:** None\
**Confidentiality Impact:** Critical\
**Integrity Impact:** Medium\
**Availability Impact:** Low&#x20;

**Framework**&#x20;

* **Nov 18, 2024 – OWASP-LLM:** LLM03 (Data Leakage), LLM05 (Sensitive Information Disclosure), LLM08 (Insufficient Transparency & Auditability)
* **Mar 2025 – OWASP-ASI:** ASI-01 (Integrity), ASI-05 (Data Handling), ASI-09 (Traceability), ASI-12 (Monitoring)
* **Aug 1, 2024 – EU AI Act:** Articles 11 (Documentation), 12 (Record-Keeping), 13 (Transparency), 50 (Transparency Obligations), plus GDPR-aligned data-minimization and purpose-limitation requirements&#x20;

**References**&#x20;

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com)\
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com)\
<https://artificialintelligenceact.eu/ai-act-explorer/> &#x20;

</details>

<details>

<summary>AI_DAT_SEC_012</summary>

Mask PII on user interfaces – Critical

**Violation Summary**\
Displaying unmasked personally identifiable information (PII) on user interfaces exposes sensitive data to unauthorized viewing, shoulder surfing, screen sharing leaks, and over-privileged internal access. Any UI that renders full PII—names, addresses, SSNs, phone numbers, emails, financial data, or identifiers—creates a high risk of accidental disclosure and non-compliance. Unmasked PII can also be captured in screenshots, monitoring tools, session replay systems, or logs, further amplifying exposure.&#x20;

**Affected Assets**

* LLM
* AI Agent

**Technical Details**\
Not masking PII on UI introduces several risks including:&#x20;

* Unauthorized access or accidental exposure of sensitive identity information&#x20;
* Violation of least-privilege and data-minimization principles&#x20;
* &#x20;Increased likelihood of data leakage via screenshots, video recordings, demos, or shared sessions&#x20;
* Compromise through malicious insiders or overexposed customer support tools&#x20;
* Replication of PII into frontend logs, browser telemetry, or third-party analytics&#x20;
* Regulatory violations related to privacy, transparency, and secure data handling&#x20;
* Loss of user trust and potential legal liability&#x20;

**Attack Vector:** User interface display layer\
**Attack Complexity:** Low\
**Privileges Required:** None (visual exposure requires only observation)\
**User Interaction:** None\
**Confidentiality Impact:** Critical\
**Integrity Impact:** Low\
**Availability Impact:** Low&#x20;

**Framework**&#x20;

* **Nov 18, 2024 – OWASP-LLM:** LLM03 (Data Leakage), LLM05 (Sensitive Information Disclosure), LLM08 (Insufficient Transparency & Auditability)
* **March 2025 – OWASP-ASI:** ASI-01 (Integrity), ASI-05 (Data Handling), ASI-09 (Traceability), ASI-12 (Monitoring)
* **Aug 1, 2024 – EU AI Act:** Articles 11 (Documentation), 12 (Record-Keeping), 13 (Transparency), 50 (Transparency Obligations), GDPR-aligned principles of data minimization and privacy-by-design&#x20;

**References**

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com)\
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com)\
<https://artificialintelligenceact.eu/ai-act-explorer/> &#x20;

</details>

<details>

<summary>AI_DAT_SEC_023</summary>

Redact PII from uploaded files - Critical

**Violation Summary**\
If uploaded files (documents, PDFs, spreadsheets, images with OCR, logs, archives) are ingested without redacting personally identifiable information (PII), sensitive data can be unintentionally exposed, propagated, or retained across AI systems. Unredacted PII may be processed by LLMs, logged, cached, embedded in prompts, or transmitted to external services—creating severe privacy, regulatory, and security risks that are difficult to detect and remediate after ingestion.

**Affected Assets**

AI Agent

**Technical Details**

Failing to redact PII from uploaded files introduces several risks including:

* Exposure of sensitive personal data through LLM processing, outputs, or logs
* Propagation of PII into prompts, embeddings, vector stores, and downstream systems
* Accidental disclosure via summaries, citations, or extracted insights
* Inability to honor data minimization, retention limits, or subject rights requests
* Increased blast radius when files are shared across agents or external tools
* Elevated risk of data leakage through prompt injection or model inference
* Violations of privacy-by-design, transparency, and record-keeping requirements

**Attack Vector**: File upload → parsing / OCR / document ingestion pipeline\
**Attack Complexity**: Low\
**Privileges Required**: None\
**User Interaction**: None, especially in automated ingestion or agent workflows.\
**Confidentiality Impact**: Critical\
**Integrity Impact**: Medium\
**Availability Impact**: Low

**Frameworks**

* OWASP-LLM: LLM03, LLM05, LLM08
* OWASP-ASI: ASI-01, ASI-05, ASI-09, ASI-12
* EU AI Act: Articles 11, 12, 13, plus GDPR-aligned data-minimization and privacy-by-design principles embedded across the Act

**References**

<https://genai.owasp.org/llm-top-10/>\
<https://genai.owasp.org/initiatives/agentic-security-initiative/>\
<https://artificialintelligenceact.eu/ai-act-explorer/>

</details>

<details>

<summary>AI_DAT_SEC_024</summary>

Uploaded files must not contain PII (Singapore) – Critical

**Violation Summary**\
This applies to the information that is considered PII in Singapore. If files uploaded to an AI agent are ingested without redacting PII, sensitive data can be unintentionally exposed, propagated, retained, or disclosed through agent reasoning, LLM prompts, logs, embeddings, or downstream tool calls. Because AI agents often summarize, transform, store, and share file contents across systems, unredacted PII significantly amplifies privacy, compliance, and security risks and makes post-incident remediation extremely difficult.&#x20;

**Affected Assets**&#x20;

AI Agent&#x20;

**Technical Details**&#x20;

Failing to redact PII from files uploaded to AI agents introduces several risks including:&#x20;

* Exposure of sensitive personal data through agent outputs, summaries, or citations&#x20;
* Propagation of PII into prompts, vector databases, caches, logs, and telemetry&#x20;
* Uncontrolled sharing of PII with external LLM providers or third-party tools&#x20;
* Inability to comply with data minimization, retention limits, or deletion requests&#x20;
* Increased risk of data leakage via prompt injection or inference attacks&#x20;
* Broader blast radius when agents reuse or redistribute file content&#x20;
* Violations of privacy-by-design, transparency, and record-keeping requirements&#x20;

**Attack Vector**: File upload → agent ingestion / parsing \
**Attack Complexity**: Low \
**Privileges Required**: None \
**User Interaction**: None (especially in automated or agent-driven workflows) \
**Confidentiality Impact**: Critical \
**Integrity Impact**: Medium \
**Availability Impact**: Low&#x20;

**Frameworks**&#x20;

* OWASP LLM: LLM03, LLM05, LLM08 &#x20;
* OWASP ASI: ASI-01, ASI-05, ASI-09, ASI-12 &#x20;
* Singapore PDPA: Section 11, 13, 18, 24&#x20;

**References**&#x20;

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com) \
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com) \
<https://artificialintelligenceact.eu/ai-act-explorer/>&#x20;

</details>

<details>

<summary>AI_DAT_SEC_025</summary>

No file should contain any PII – Critical

**Violation Summary**\
If files contain unredacted personally identifiable information (PII), there is risk of sensitive data access to unrestricted access, misuse, and downstream propagation. This increases the likelihood of data leakage, unauthorized scraping, AI training contamination, and regulatory violations. Once exposed, PII can be copied, indexed, cached, or redistributed beyond the organization’s control.&#x20;

**Technical Details**&#x20;

Failing to redact PII from publicly accessible files introduces several risks including:&#x20;

* Unrestricted access to sensitive personal data by internal users, contractors, or the public&#x20;
* Mass data harvesting, scraping, or indexing by automated tools and AI systems&#x20;
* Propagation of PII into LLM prompts, embeddings, search indexes, and external datasets&#x20;
* Inability to enforce consent, purpose limitation, or access controls&#x20;
* Permanent exposure due to caching, backups, screenshots, or mirrors&#x20;
* Increased insider threat and accidental disclosure risk&#x20;
* Severe regulatory, legal, and reputational impact&#x20;

**Attack Vector**: Public file access / shared repositories / collaboration platforms \
**Attack Complexity**: Low \
**Privileges Required**: None \
**User Interaction**: None \
**Confidentiality Impact**: Critical \
**Integrity Impact**: Medium \
**Availability Impact**: Low&#x20;

**Frameworks**&#x20;

* OWASP LLM: LLM03, LLM05, LLM08 &#x20;
* OWASP ASI: ASI-01, ASI-05, ASI-09, ASI-12 &#x20;
* EU AI Act: Article 11, Article 12, Article 13, Article 50, GDPR-aligned data minimization and privacy-by-design principles&#x20;

**References**

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com) \
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com) \
<https://artificialintelligenceact.eu/ai-act-explorer/>&#x20;

</details>

### Identity and Access Control

<details>

<summary>AI_IAC_002</summary>

MCP client must authenticate MCP server – Critical

**Violation Summary**\
If an MCP client does not authenticate the MCP server, it cannot verify the identity, legitimacy, or trustworthiness of the system providing tool responses, commands, or data. This creates an opportunity for attackers to impersonate the MCP server, intercept or modify traffic, inject malicious tool responses, or deliver falsified data that influences downstream agent reasoning. Without authentication, the MCP trust boundary collapses, enabling man-in-the-middle attacks, data manipulation, workflow corruption, and full compromise of AI-driven operations.&#x20;

**Affected Assets**

* MCP Server
* MCP Client
* AI Agent

**Technical Details**\
Not authenticating the MCP server introduces several risks including:&#x20;

* Server impersonation leading to injection of malicious or misleading responses&#x20;
* Man-in-the-middle interception and modification of MCP traffic&#x20;
* Unauthorized access to sensitive MCP capabilities, tools, and agent operations&#x20;
* Corruption of workflows through falsified output or manipulated data&#x20;
* Leakage of PII or sensitive context exchanged with the illegitimate server&#x20;
* Loss of integrity, trust, and accountability in MCP-driven decisions&#x20;
* Violations of transparency, security, and traceability requirements&#x20;

**Attack Vector:** Network/API communication between MCP client and server\
**Attack Complexity:** Low\
**Privileges Required:** None\
**User Interaction:** None\
**Confidentiality Impact:** High\
**Integrity Impact:** Critical\
**Availability Impact:** Medium&#x20;

**Framework**

* **Nov 18, 2024 – OWASP-LLM:** LLM01 (Prompt/Instruction Injection), LLM04 (Model Behavior Manipulation), LLM05 (Sensitive Information Disclosure), LLM08 (Insufficient Transparency & Auditability)
* **March 2025 – OWASP-ASI:** ASI-01 (Integrity), ASI-04 (Governance), ASI-09 (Traceability), ASI-12 (Monitoring)
* **Aug 1, 2024 – EU AI Act:** Articles 11 (Documentation), 12 (Record-Keeping), 13 (Transparency), 50 (Transparency Obligations), plus robustness and security obligations for high-risk systems&#x20;

**References**

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com)\
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com)\
<https://artificialintelligenceact.eu/ai-act-explorer/> &#x20;

</details>

<details>

<summary>AI_IAC_006</summary>

MCP server must authenticate all clients – Critical

**Violation Summary**\
If an MCP server does not authenticate the client making requests, any unauthorized entity—including compromised agents, external attackers, or untrusted processes—can impersonate a legitimate client. This allows attackers to invoke privileged tools, access sensitive data, manipulate workflows, or trigger system actions without detection. Lack of client authentication effectively removes all trust boundaries, enabling full compromise of server-side capabilities and AI-driven operations.&#x20;

**Affected Assets**

* LLM
* AI Agent

**Technical Details**\
Not authenticating the MCP client introduces several risks including:&#x20;

* Unauthorized invocation of high-privilege tools or system actions&#x20;
* Full impersonation of trusted agents, enabling malicious or deceptive requests&#x20;
* Data exposure through unrestricted access to server responses, APIs, or internal systems&#x20;
* Manipulation of downstream workflows via falsified or maliciously crafted requests&#x20;
* Escalation of privilege or lateral movement across connected systems&#x20;
* Loss of accountability, traceability, and auditability for all client-driven actions&#x20;
* Violations of integrity, transparency, and security obligations for regulated AI systems&#x20;

**Attack Vector:** Client → MCP server request path\
**Attack Complexity:** Low\
**Privileges Required:** None\
**User Interaction:** None\
**Confidentiality Impact:** High\
**Integrity Impact:** Critical\
**Availability Impact:** Medium&#x20;

**Framework (Compressed)**&#x20;

**Nov 18, 2024 – OWASP-LLM:** LLM01 (Instruction Injection), LLM04 (Behavior Manipulation), LLM05 (Sensitive Data Exposure), LLM08 (Transparency & Auditability Failures)\
**Mar 2025 – OWASP-ASI:** ASI-01 (Integrity), ASI-04 (Governance), ASI-09 (Traceability), ASI-12 (Monitoring)\
**Aug 1, 2024 – EU AI Act:** Articles 11 (Documentation), 12 (Record-Keeping), 13 (Transparency), 50 (Transparency Obligations), plus Annex III robustness & security requirements&#x20;

**References**&#x20;

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com)\
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com)\
<https://artificialintelligenceact.eu/ai-act-explorer/> &#x20;

</details>

<details>

<summary>AI_IAC_007</summary>

Inter-agent communication must be authenticated – Critical

**Violation Summary**\
If agents communicate without authentication, any unauthorized party—including rogue agents, compromised services, or external attackers—can impersonate a legitimate agent and issue commands, request data, or alter system behavior. Non-authenticated inter-agent communication destroys trust boundaries between autonomous components and enables impersonation, privilege escalation, data leakage, workflow manipulation, and full compromise of multi-agent systems. Without identity guarantees, agent-to-agent messaging becomes a high-risk attack surface.

**Affected Assets**

AI Agent

**Technical Details**\
Missing authentication between agents introduces several risks including:&#x20;

* Unauthorized agents impersonating trusted components to issue commands&#x20;
* Manipulation of agent workflows or decision chains through falsified messages&#x20;
* Leakage of sensitive data exchanged during inter-agent coordination&#x20;
* Injection of malicious instructions into distributed reasoning processes&#x20;
* Loss of accountability and inability to attribute harmful actions&#x20;
* Increased lateral movement risk across agent networks&#x20;
* Violations of integrity, trust, and regulatory controls for autonomous systems&#x20;

**Attack Vector:** Inter-agent message channel / network communication\
**Attack Complexity:** Low\
**Privileges Required:** None\
**User Interaction:** None\
**Confidentiality Impact:** High\
**Integrity Impact:** Critical\
**Availability Impact:** Medium&#x20;

**Framework**&#x20;

* **Nov 18, 2024 – OWASP-LLM:** LLM01 (Instruction Injection), LLM04 (Behavior Manipulation), LLM05 (Sensitive Data Disclosure), LLM08 (Transparency & Audit Failures)
* **March 2025 – OWASP-ASI:** ASI-01 (Integrity), ASI-04 (Governance), ASI-07 (Reliability), ASI-09 (Traceability), ASI-12 (Monitoring)
* **Aug 1, 2024 – EU AI Act:** Articles 11 (Documentation), 12 (Record-Keeping), 13 (Transparency), 50 (Transparency Obligations), plus Annex III security & robustness expectations for high-risk systems&#x20;

**References**&#x20;

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com)\
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com)\
<https://artificialintelligenceact.eu/ai-act-explorer/> &#x20;

</details>

<details>

<summary>AI_IAC_008</summary>

Agents must not hold excessive external system credentials – High/Critical

**Violation Summary**\
When agents are configured with credentials to access more than three external systems, the blast radius of a compromise dramatically increases. Each additional credential expands the agent’s privilege footprint and creates new pathways for lateral movement, data exfiltration, unauthorized actions, and multi-system compromise. Over-privileged agents become single points of systemic failure if the agent is hijacked, attacked, misconfigured, or manipulated by an LLM prompt, all connected external systems are at risk simultaneously.&#x20;

**Affected Assets**

AI Agent

**Technical Details**\
Allowing an agent to hold multiple (3+) external system credentials introduces several risks including:&#x20;

* Large blast radius: compromising the agent compromises all connected systems
* Increased likelihood of credential leakage through logs, LLM outputs, prompts, or tool interactions&#x20;
* Prompt injection enabling unauthorized use of high-privilege multi-system access&#x20;
* Lateral movement across different platforms (e.g., Jira → GitHub → AWS → Snowflake)&#x20;
* Violation of least-privilege and separation-of-duties principles&#x20;
* Difficulty revoking or rotating credentials in incident response&#x20;
* Loss of governance and traceability when many systems are accessed through one agent identity&#x20;

**Attack Vector:** Agent credential store / agent-initiated external API calls\
**Attack Complexity:** Low\
**Privileges Required:** None\
**User Interaction:** None\
**Confidentiality Impact:** Critical\
**Integrity Impact:** Critical\
**Availability Impact:** Medium to High&#x20;

**Framework**&#x20;

* **Nov 18, 2024 – OWASP-LLM:** LLM01 (Injection), LLM04 (Behavior Manipulation), LLM05 (Sensitive Data Disclosure), LLM08 (Transparency & Audit Failures)
* **Mar 2025 – OWASP-ASI:** ASI-01 (Integrity), ASI-04 (Governance), ASI-05 (Safe Handling), ASI-09 (Traceability), ASI-12 (Monitoring)
* **Aug 1, 2024 – EU AI Act:** Articles 11 (Documentation), 12 (Record-Keeping), 13 (Transparency), 50 (Transparency Obligations), Annex III controls emphasizing least privilege, system robustness, and secure integration&#x20;

**References**&#x20;

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com)\
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com)\
<https://artificialintelligenceact.eu/ai-act-explorer/> &#x20;

</details>

<details>

<summary>AI_IAC_009</summary>

LLM endpoints must require authentication – Critical

**Violation Summary**\
If an LLM endpoint allows unauthenticated access, any external party can invoke the model without identity verification, usage controls, or accountability. This exposes the LLM to abuse, data leakage, prompt injection, denial-of-service, and unauthorized use of compute resources. In agentic and tool-enabled environments, unauthenticated access can also enable attackers to manipulate downstream workflows, trigger unsafe actions, or extract sensitive information without detection.&#x20;

**Affected Assets**

LLM&#x20;

**Technical Details**&#x20;

Allowing unauthenticated access to an LLM endpoint introduces several risks including:&#x20;

* Unauthorized use of the model for malicious or abusive purposes&#x20;
* Prompt injection and adversarial inputs from unknown or untrusted actors&#x20;
* Leakage of sensitive context, system prompts, or embedded data&#x20;
* Abuse of compute resources leading to cost overruns or service degradation&#x20;
* Inability to enforce rate limits, quotas, or usage policies per identity&#x20;
* Loss of accountability, auditability, and forensic traceability&#x20;
* Circumvention of governance, approval, and access-control processes&#x20;

**Attack Vector**: Public or unauthenticated API endpoint \
**Attack Complexity**: Low \
**Privileges Required**: None \
**User Interaction**: None \
**Confidentiality Impact**: High \
**Integrity Impact**: High to Critical \
**Availability Impact**: High (due to abuse or denial-of-service)&#x20;

**Frameworks**&#x20;

Nov 18, 2024 – OWASP-LLM: LLM0, LLM03 LLM04, LLM08 \
Mar 2025 – OWASP-ASI: ASI-01, ASI-04, ASI-09, ASI-12 \
Aug 1, 2024 – EU AI Act: Articles 11, 12, 13, 50 and obligations for secure access control and robustness in high-risk and GPAI systems &#x20;

**References**

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com) \
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com) \
<https://artificialintelligenceact.eu/ai-act-explorer/>&#x20;

</details>

### Vulnerability

<details>

<summary>AI_VULN_SEC_001</summary>

Do not allow dependencies with critical or high severity vulnerabilities – Critical

**Violation Summary**\
Allowing AI agents to depend on libraries or packages with known critical or high-severity vulnerabilities introduces a direct and exploitable attack surface into the agent runtime. AI agents typically operate with elevated privileges, access sensitive data, invoke tools, and interact with external systems. Vulnerable dependencies can be exploited to execute arbitrary code, escalate privileges, leak secrets, poison agent behavior, or compromise downstream systems—often without direct interaction with the LLM itself.&#x20;

**Affected Assets**&#x20;

* AI Agent&#x20;
* MCP Server&#x20;
* LLM&#x20;

**Technical Details**&#x20;

Using dependencies with critical or high vulnerabilities introduces several risks including:&#x20;

* Remote code execution or arbitrary command execution within the agent environment&#x20;
* Credential theft, token leakage, or exposure of secrets used by the agent&#x20;
* Supply-chain attacks where malicious code is introduced via compromised packages&#x20;
* Manipulation or poisoning of agent logic, tool invocation, or decision flows&#x20;
* Lateral movement across systems accessed by the agent&#x20;
* Persistence mechanisms established through compromised libraries&#x20;
* Inability to trust agent outputs or actions due to compromised runtime integrity&#x20;
* Violations of secure development, patch management, and risk-management obligations&#x20;

**Attack Vector**: Vulnerable third-party dependency / supply-chain compromise \
**Attack Complexity**: Low \
**Privileges Required**: None (exploits often execute with agent privileges) \
**User Interaction**: None \
**Confidentiality Impact**: Critical \
**Integrity Impact**: Critical \
**Availability Impact**: Medium to High&#x20;

**Frameworks**&#x20;

* OWASP LLM: LLM05, LLM08&#x20;
* OWASP ASI: ASI-05 &#x20;
* NIST SSDF: Practice RV.1&#x20;

**References**

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com) \
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com) \
<https://csrc.nist.gov/pubs/sp/800/218/final> &#x20;

</details>

<details>

<summary>AI_VULN_SEC_002</summary>

Do not allow critical or high vulnerabilities in the code – Critical

**Violation Summary**\
The presence of vulnerabilities in application or agent code introduces direct security risks that can be exploited to compromise confidentiality, integrity, and availability. Vulnerable code paths—such as injection flaws, insecure deserialization, broken authentication, improper authorization, or unsafe file handling—can be abused by attackers to execute arbitrary code, access sensitive data, manipulate AI behavior, or disrupt operations. In AI and agent-based systems, these vulnerabilities are especially dangerous because compromised code can influence autonomous decisions and propagate impact across multiple systems.&#x20;

**Affected Assets**&#x20;

* AI Agent&#x20;
* MCP Server&#x20;
* LLM&#x20;

**Technical Details**&#x20;

Having vulnerabilities in code introduces several risks including:&#x20;

* Remote code execution or command injection through exploitable code paths&#x20;
* Unauthorized access to sensitive data, credentials, or internal APIs&#x20;
* Manipulation of AI agent logic, reasoning flows, or tool invocation&#x20;
* Privilege escalation or bypass of authorization controls&#x20;
* Lateral movement across integrated systems and services&#x20;
* Persistence mechanisms established through exploited vulnerabilities&#x20;
* Loss of trust in application outputs and automated decisions&#x20;
* Violations of secure development lifecycle and regulatory requirements&#x20;

**Attack Vector**: Vulnerable application or agent code \
Attack Complexity: Low to Medium (depending on vulnerability type) \
Privileges Required: None (for many common vulnerabilities) \
User Interaction: None or minimal \
Confidentiality Impact: Critical \
Integrity Impact: Critical \
Availability Impact: Medium to High&#x20;

**Frameworks**&#x20;

* OWASP LLM: LLM05, LLM08&#x20;
* OWASP ASI: ASI-05 &#x20;
* NIST SSDF: Practice RV.2&#x20;

**References**&#x20;

[https://genai.owasp.org/llm-top-10/](https://genai.owasp.org/llm-top-10/?utm_source=chatgpt.com) \
[https://genai.owasp.org/initiatives/agentic-security-initiative/](https://genai.owasp.org/initiatives/agentic-security-initiative/?utm_source=chatgpt.com) \
<https://csrc.nist.gov/pubs/sp/800/218/final&#x20>;

</details>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.veedna.com/ai-kill-chain/the-stages-of-kill-chain/how-lineaje-policies-protect.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
