What 640,000 Cyberattacks in One Day Mean for Your Business
UAE authorities reported 640,000 cyberattacks in one day. Explore the threats facing UAE businesses and the cybersecurity measures that matter most.
An AI application can pass a conventional penetration test and still be vulnerable to malicious instructions embedded in a document, email or retrieved search result.
The risk becomes more serious when the application can access confidential records, invoke internal APIs or perform actions through AI agents.
For businesses deploying large language models (LLMs), retrieval-augmented generation (RAG) systems and AI-powered workflows, the security question extends beyond whether the infrastructure is protected.
It is whether the application continues to enforce access controls, protect sensitive information and restrict unauthorized actions when its inputs are deliberately manipulated.
AI red teaming and prompt injection testing evaluate these risks by simulating adversarial interactions against AI applications and their connected systems.
This guide explains how prompt injection attacks work, what AI red teaming should test, how businesses can reduce exposure and what evidence security teams should require from an assessment.
AI red teaming is a structured assessment in which security testers simulate adversarial behavior to identify weaknesses in AI models, applications, integrations and operational controls.
The objective is to determine whether an attacker can manipulate an AI system into producing unauthorized outcomes or crossing established security boundaries.
Unlike testing focused exclusively on conventional software vulnerabilities, AI red teaming also examines how applications respond to malicious instructions, manipulated context and unexpected interactions.
Depending on the system, an assessment may cover:
The assessment should extend beyond the model itself.
An AI assistant that only generates public information presents a different attack surface from an agent that can retrieve customer records, modify database entries or initiate operational workflows.
The relevant security boundary is determined by what the complete AI application can access and do.
The OWASP AI Testing Guide provides a structured framework for evaluating AI systems, including adversarial robustness and security-related behavior.
Prompt injection occurs when instructions introduced through an AI application's inputs influence its behavior in unintended or unauthorized ways.
The central weakness is the failure to maintain a reliable distinction between trusted instructions and untrusted content.
For example, an AI assistant may be instructed to summarize a document. If the document contains attacker-controlled instructions directing the assistant to perform another task, the system may be vulnerable if it follows those instructions.
The OWASP Top 10 for LLM Applications identifies prompt injection as a significant risk because manipulated inputs can influence model outputs, expose information and potentially trigger unauthorized actions.
Direct prompt injection occurs when malicious instructions are submitted directly through an application's user interface or another supported input channel.
An attacker interacting with a chatbot might attempt to override its instructions, extract information or cause it to use a connected function outside its intended purpose.
The result depends on the model's behavior and the controls surrounding it.
A model producing an unexpected response does not automatically mean a security boundary has been compromised.
Indirect prompt injection occurs when malicious instructions are embedded in content the AI system retrieves or processes.
Potential entry points include:
Consider an AI assistant that retrieves an internal policy document to answer an employee's question.
If an attacker can alter that document, the retrieved content may contain instructions intended to redirect the assistant toward an unauthorized action.
The application should treat those instructions as untrusted document content, not as commands.
MITRE documents this technique as Indirect Prompt Injection (T1698).
These terms overlap but are not interchangeable in every context.
Jailbreaking typically involves attempts to bypass a model's behavioral safeguards.
Prompt injection is broader in application security. It may involve manipulating instructions through external documents, retrieved information or tool responses.
A prompt injection attack can therefore create a security risk even when the resulting response does not resemble a conventional jailbreak.
For example, an AI agent may produce an ordinary-looking response while executing an unauthorized tool call in the background.
The following scenarios are illustrative attack paths, not reports of incidents involving specific UAE businesses.
A business deploys an AI assistant that searches internal documents and answers employee questions.
The application uses RAG to retrieve information from a document repository.
An attacker modifies a document that the assistant is likely to retrieve and embeds instructions intended to redirect its behavior.
If the application fails to enforce document-level permissions independently of the model, the assistant may retrieve or disclose information that the requesting employee is not authorized to access.
Security controls to validate:
The critical finding is not whether the model obeys malicious text. It is whether the attacker can use that behavior to access restricted information.
A financial institution uses AI to summarize customer documentation and assist compliance analysts.
An attacker submits a document containing malicious instructions designed to influence the AI-generated assessment.
The instructions attempt to suppress relevant information, misrepresent the document's contents or influence the recommendation presented to the analyst.
The risk depends on how the output is used.
If the AI-generated summary is independently verified against reliable evidence, the effect may be limited.
If the output directly influences an automated decision or is accepted without adequate review, the consequences may be more significant.
Security controls to validate:
A business deploys an AI agent capable of retrieving records, creating tickets and interacting with internal APIs.
An attacker embeds instructions in an external document or tool response processed by the agent.
The malicious content attempts to cause the agent to perform an action unrelated to the authorized user's request.
The potential impact depends on the permissions available to the agent.
An agent with read-only access has a substantially different risk profile from one capable of modifying records, sending confidential information or initiating financial operations.
Security controls to validate:
OWASP addresses these risks in its guidance on Excessive Agency, which identifies excessive functionality, permissions and autonomy as important sources of exposure.
Traditional penetration testing remains essential for identifying vulnerabilities in applications, APIs, infrastructure and access controls.
AI red teaming adds adversarial testing of model-driven behavior and AI-specific workflows.
The distinction depends on assessment scope. A penetration test can include AI-specific attack scenarios when these are explicitly incorporated into its methodology.
For example, a traditional penetration test may establish that an internal API requires valid authentication.
AI red teaming should additionally examine whether an AI agent can be manipulated into invoking that API using permissions beyond the requesting user's authority.
The API may be technically secure while the surrounding AI workflow remains vulnerable.
The two approaches are complementary, not substitutes for one another.
A meaningful AI security assessment should be based on the application's architecture, data exposure, integrations and business impact.
Testing a chatbot with a collection of generic jailbreak prompts is not sufficient to establish the security of a business-critical AI application.
The following matrix provides a practical starting point for scoping an assessment.
The matrix is recommended assessment guidance, not a universal regulatory testing standard.
Assessments should cover both direct and indirect injection through the input channels the application actually uses.
Testing should establish whether malicious instructions can alter model behavior and whether that alteration produces a meaningful security impact.
Representative variations may include instructions embedded in retrieved documents, altered tool responses, multi-turn interactions and manipulated source material.
LLM security testing should examine whether unauthorized users can access information through model responses, retrieval functions or connected tools.
For applications handling confidential records, testing should include cross-user and cross-tenant authorization boundaries.
A model refusing a direct request for sensitive information does not establish that the underlying retrieval system enforces appropriate permissions.
Retrieval-augmented generation introduces additional risks through document ingestion, retrieval and source interpretation.
Testing should establish whether attackers can influence retrieved information, manipulate document content or cause the application to treat untrusted source material as instructions.
Document access permissions should be enforced independently of the model.
Agents with tool access require additional attention because manipulated model behavior may lead to actions in external systems.
Assessments should evaluate whether agents can be induced to access restricted records, invoke unauthorized functions, modify information or transmit data to unintended destinations.
The permissions available to the agent are central to determining the severity of a finding.
AI-generated content may be passed to databases, scripts, APIs or automated workflows.
Testing should determine whether generated outputs are validated before downstream processing and whether manipulated content can influence sensitive operations.
A single unsuccessful prompt injection attempt does not demonstrate that an application is secure.
Testing should include representative attack variations, documented success criteria and retesting after remediation.
This is particularly important when models, prompts, permissions or integrations change.
Prompt injection cannot be reliably eliminated through system-prompt instructions alone.
Instructions telling a model to ignore malicious content may influence its behavior, but they do not replace secure application architecture.
The more effective approach is defense in depth: reduce the likelihood of successful manipulation while limiting the consequences if manipulation occurs.
Sensitive data requests and tool actions should be validated by trusted application components.
The model should not independently decide whether a user is authorized to access confidential records or perform privileged operations.
AI agents should receive only the capabilities required for their intended functions.
Where possible, separate read-only access from permissions that modify data or initiate transactions.
This limits the potential impact of a successful prompt injection.
Documents, emails, web pages and tool outputs should not be allowed to redefine an application's security instructions.
Maintain clear trust boundaries between externally supplied information and authorized application commands.
Model-generated outputs should be checked before they are used to execute commands, modify records or invoke sensitive APIs.
Validation should be performed by trusted application logic rather than relying solely on the model.
Sensitive operations should require appropriate authorization and, where necessary, human confirmation.
Approval mechanisms should not be bypassable through manipulated model outputs.
AI agents should only access the internal systems and external destinations required for their approved workflows.
Restricting network access can reduce the potential for unauthorized information transmission.
Security teams should retain sufficient evidence to reconstruct relevant AI interactions, tool invocations and authorization decisions.
Applications should be reassessed after material changes to models, permissions, retrieval sources or integrations.
These recommendations align with OWASP's guidance on prompt injection and excessive agency, as well as MITRE's mitigations for indirect prompt injection.
No single safeguard should be treated as a complete solution.
An AI risk assessment should examine the business impact of a security failure, not simply the presence of an AI model.
For UAE businesses, four areas are particularly important.
Determine which information the application processes, where it is stored, which providers receive it and whether prompts or responses are retained.
An internal AI assistant processing approved public information presents different risks from one handling confidential customer records.
Identify the systems an AI application can access and the actions it can perform.
Applications capable of modifying records or initiating operational workflows should receive greater scrutiny than read-only information assistants.
Establish whether access permissions and high-impact decisions are enforced through trusted controls.
Human review should be meaningful and supported by reliable evidence, particularly when AI-generated outputs influence sensitive business decisions.
Businesses operating in regulated sectors should assess how AI applications interact with their existing cybersecurity and technology risk obligations.
For example, VARA's Technology and Information Rulebook establishes technology governance, cybersecurity and testing requirements for VASPs within its scope.
Other businesses may be subject to applicable requirements from the CBUAE, DFSA, FSRA or relevant data protection authorities, depending on their activities and jurisdiction.
These obligations should not be interpreted as creating a universal requirement for every UAE business to conduct AI red teaming.
Instead, AI security testing should be evaluated within the organization's applicable regulatory framework, risk profile and technology architecture.
An effective assessment should provide evidence that technical teams can reproduce, prioritize and use to validate remediation.
A useful report should document:
Not every successful manipulation has the same security significance.
A practical distinction is:
Severity should reflect the exploit preconditions, permissions available and consequences of the demonstrated outcome.
For example, one reproducible unauthorized tool invocation may represent a more significant finding than numerous low-impact conversational deviations.
Attack success rates should therefore be accompanied by clearly defined success criteria, scenario descriptions and test counts.
AI security testing should be proportionate to the application's exposure and potential business impact.
For higher-risk applications, businesses should consider testing before production deployment and after significant changes.
Relevant changes include:
There is no universal testing frequency suitable for every AI application.
The assessment scope should reflect the system's capabilities, the sensitivity of the information involved and the consequences of compromise.
Before deploying a business-critical AI application, security teams should be able to answer the following questions:
This checklist is a starting point for risk-based evaluation. It does not replace application-specific threat modeling or a comprehensive assessment.
AI red teaming is adversarial security testing designed to identify weaknesses in AI models, applications and connected systems. It examines whether attackers can manipulate AI behavior, expose restricted information or trigger unauthorized actions.
A prompt injection attack introduces instructions intended to manipulate an AI application's behavior. These instructions may be submitted directly or embedded in documents, web pages and other content processed by the system.
Testing involves identifying the application's input channels, data sources, trust boundaries and available tools. Security testers then introduce representative adversarial inputs and examine whether they cause unauthorized behavior, information disclosure or tool execution.
Prompt injection risk can be reduced through independent authorization, least-privilege permissions, trusted execution controls, output validation and adversarial testing. No individual control guarantees complete protection.
AI red teaming focuses on adversarial manipulation of AI behavior and workflows. Traditional penetration testing focuses on exploitable vulnerabilities in software, APIs and infrastructure. The methodologies overlap, and AI-specific scenarios can be included in a suitably scoped penetration test.
Important risks include prompt injection, sensitive information disclosure, insecure output handling, excessive agent permissions and weaknesses in retrieval or tool integrations. The impact depends on the application's architecture and available capabilities.
There is no universal AI red teaming requirement for every UAE business. The need for testing should be determined by the application's risks, its access to sensitive information, the actions it can perform and any applicable regulatory obligations.
AI applications introduce security risks that extend beyond conventional software vulnerabilities.
Prompt injection, manipulated retrieval content, excessive agent permissions and insecure integrations can allow attackers to influence how AI systems access information and perform business operations.
For UAE businesses deploying LLM applications, RAG systems and AI agents, the priority is to establish whether existing security controls remain effective under realistic adversarial conditions.
AI red teaming provides a structured way to examine those controls.
The most important question is not whether an AI model can be persuaded to produce an unexpected response. It is whether the complete application continues to enforce authorization, protect sensitive information and prevent unauthorized actions when exposed to manipulated inputs.