03 · AI · Offensive
AI & LLM Security
We test AI assistants, agents and LLM-powered products as a live attack surface: how they take instructions, what they are allowed to do and which data they can reach.
Illustrative engagement · ACME-CORP employee assistant · OWASP Top 10 for LLM Applications 2026
7 stages
Stage 01 / 07
Scoping & authorization
We fix the AI surface in scope, here an employee assistant that answers from company email and files, calls tools through MCP connectors and can act for the user. We record the model providers behind it, the data classes it can reach, its role and risk tier under the EU AI Act, the test accounts we use and the safety limits the testing must respect.
- 01Scope set: the assistant, its knowledge, connectors and agents
- 02Model providers and the data classes in reach identified
- 03Role and risk tier under the EU AI Act recorded
AI Act Art. 6 - 04You set the features, data classes and safety limits in scope
- 05Test accounts issued at each permission level in scope
- 06Authorization signed; model providers notified where requiredScope, RoE and authorization
- You receive
- Scope statement, rules of engagement and a signed authorization letter, with notice to third-party model providers where it is required.
- You decide
- Which AI features, connectors, model providers and data classes are in scope, and the safety limits the testing must respect.
Identifiers
AI Act Art. 6Stage 02 / 07
Threat modeling & reach mapping
We map how each answer is built from the system prompt, conversation memory, retrieved email and files and the user's input, then which connectors, agents and identities sit around the model and what each one can read or do. Every route is matched to the risks that apply from the OWASP LLM and Agentic Top 10 lists, MITRE ATLAS and ATT&CK v20.0. At this stage the routes are modeled possibilities, not findings.
- 01Every source the assistant reads is mapped: mail, files, web
AI RMF MAP - 02Each connector's scopes and the identity it acts as are listed
ASI03 - 03Data classes each tool can reach are recorded
- 04Possible route modeled: outside content steering the assistant
ISO/IEC 23894:2023 - 05Threat model and reach map tied to OWASP, ATLAS and ATT&CKAI threat model and reach map
- 06You confirm the map and which risks are tested first
- You receive
- AI threat model and a reach map of data, tools and identities, mapped to the OWASP Top 10 for LLM Applications 2026, the Agentic Top 10, ATLAS and ATT&CK v20.0.
- You decide
- Confirm the map reflects how the assistant really works, and which risks are tested first.
Identifiers
AI RMF MAPISO/IEC 23894:2023ASI03Stage 03 / 07
Prompt & injected-instruction testing
We test whether instructions hidden in content the assistant reads, such as an incoming email, a shared file or a fetched web page, can change what it does, alongside direct injection and jailbreak attempts through the chat and attempts to draw out the system prompt. This is the pattern behind the zero-click assistant flaws disclosed in 2025 and the web-based injections now observed in the wild.
- 01Direct injection attempts made through the employee's chat
T1699 - 02A test email with hidden instructions reaches the index
T1698 - 03Fetched web pages and shared files tested as the same channel
AITG-APP-02 - 04Guardrails and model tested for resistance to jailbreaks
AML.T0054 - 05System prompt tested for exposure through the conversation
LLM08:2026 - 06Finding: the assistant followed an instruction hidden in email
LLM01:2026
- You receive
- Validated findings with reproducible evidence, triaged with the product team as they emerge.
Identifiers
T1698T1699LLM01:2026LLM08:2026AML.T0051AML.T0054CWE-1427AITG-APP-02Stage 04 / 07
Agent, connector & permission testing
We test whether model output can trigger actions the user was never entitled to: the scopes each MCP connector holds, the identity each agent acts as, whether sending, sharing or deleting needs a person's approval, and how downstream systems treat what the model returns. Logs are checked so that every tool call can be traced to the person behind it.
- 01Model output followed into the tool calls it can trigger
AML.T0053 - 02Agent identity checked: user's rights or a broad service account
ASI03 - 03MCP connectors reviewed for tool poisoning and scope creep
MCP03:2025 - 04Actions tested: can it send, share or delete without approval
ASI02 - 05Finding: mail-sending rights far wider than the task needs
LLM03:2026 - 06Logs checked: every tool call traceable to the person behind it
DE.CM
- You receive
- Findings on agency, permissions, action approval and output handling, mapped to the Agentic Top 10 and the OWASP MCP Top 10.
Identifiers
LLM03:2026LLM10:2026ASI02ASI03AML.T0053MCP03:2025DE.CMStage 05 / 07
Data leakage & supply-chain testing
We test whether sensitive data can leave through answers, links or agent actions, whether the knowledge index returns files a user could not open directly, whether outside content can poison what the assistant retrieves, and how far the provenance of the models, plugins and MCP packages it trusts can be verified.
- 01Answers and tool results tested for sensitive data disclosure
LLM02:2026 - 02Finding: the index returns HR files the user cannot open
LLM09:2026 - 03Exfiltration route tested: data carried out by an agent action
T1700 - 04Knowledge index tested for poisoning by outside content
AML.T0070 - 05Models, plugins and MCP packages checked for provenance
LLM04:2026 - 06Findings on leakage, oversharing, poisoning and provenanceData and supply-chain findings
- You receive
- Findings on data leakage, oversharing through the knowledge index, retrieval poisoning exposure, and model and plugin provenance.
Identifiers
LLM02:2026LLM04:2026LLM05:2026LLM09:2026T1700AML.T0057AML.T0070AML.T0010Stage 06 / 07
Analysis & reporting
Every finding is mapped to its LLM Top 10, Agentic Top 10, ATLAS, ATT&CK v20.0 and CWE identifier, rated with CVSS v4.0 or the OWASP Risk Rating Methodology, and translated into risk per AI feature and data type. Where it applies, results are also linked to the controls of an ISO/IEC 42001 AI management system and to EU AI Act duties: transparency duties under Article 50 apply since 2 August 2026, and high-risk obligations from 2 December 2027 (Annex III) or 2 August 2028 (Annex I).
- 01Each finding mapped to OWASP LLM, Agentic, ATLAS and ATT&CK ids
- 02Severity rated with CVSS v4.0 or the OWASP Risk Rating method
CVSS v4.0 - 03Results linked to ISO/IEC 42001 and the AI Act duties that apply
ISO/IEC 42001:2023 - 04Risk translated per AI feature and per data type it touchesRisk per AI feature and data
OWASP Risk Rating - 05Report, PoC evidence under NDA and an executive readoutLLM Top 10 2026 report
- 06You set fix priority and the residual risk per AI feature
- You receive
- Report aligned to the OWASP Top 10 for LLM Applications 2026, working PoC evidence per exploitable vector held under NDA, risk per AI feature and data type, links to ISO/IEC 42001 and AI Act duties where relevant, and an executive readout.
- You decide
- Which findings are fixed first, and the residual risk each AI feature can carry.
Identifiers
CVSS v4.0OWASP Risk RatingCWE-1426ISO/IEC 42001:2023AI Act Art. 50Stage 07 / 07
Remediation support & retest
Findings become guardrail and architecture changes: content screening, retrieval that respects each user's permissions, connector scopes cut to the task, a person's approval before an agent sends or shares, output validation, and logging that alerts on misuse. Once fixes land, we retest every finding, including the original email route end to end.
- 01Each finding turned into a guardrail or architecture changeGuardrail recommendations
AI RMF MANAGE - 02You pick the changes to adopt before the retest
- 03Connector scopes cut, sending needs approval, retrieval fixed
- 04Retest: the email instruction is now blocked, nothing leaves
- 05Every finding retested; misuse now raises an alert in the logs
SSDF RV.2 - 06Status of every finding reported; attestation letter on requestRetest report
- You receive
- Guardrail and architecture recommendations, a retest report with the status of every finding, and an attestation letter on request.
- You decide
- Which guardrail and architecture changes to adopt before the retest.
Identifiers
AI RMF MANAGESSDF RV.2
Deliverables
- Report aligned to the OWASP Top 10 for LLM Applications 2026
- Working PoC per exploitable vector
- AI threat model and reach map of data, tools and identities
- Risk per AI feature and data type
- Links to ISO/IEC 42001 and EU AI Act duties where relevant
- Guardrail and architecture recommendations
- Executive summary and readout
- Retest report, with an attestation letter on request
Frameworks
- OWASP Top 10 for LLM Applications 2026
- OWASP Top 10 for Agentic Applications 2026
- OWASP MCP Top 10 (2025 beta)
- MITRE ATLAS 2026.09
- MITRE ATT&CK v20.0 (AI techniques)
- OWASP AI Testing Guide v1
- OWASP GenAI Red Teaming Guide v1.0
- NIST AI RMF 1.0
- ISO/IEC 42001:2023
- Regulation (EU) 2024/1689 (AI Act), as amended in 2026
- CVSS v4.0
The illustrative environment
ACME-CORP employee assistant with company knowledge, connectors and agents (illustrative)
INPUT · UNTRUSTED people · email · web and files
- Employee CHAT · INTRANET
- Incoming email EXTERNAL SENDER
T1698 - Web pages and files FETCHED CONTENT
LLM01:2026
ASSISTANT app · model · guardrails · knowledge
- Assistant app ORCHESTRATOR · MEMORY
CWE-1427 - System prompt HIDDEN CONTEXT
LLM08:2026 - AI model PROVIDER API
AML.T0051 - Guardrails INPUT · OUTPUT POLICY
AML.T0054 - Company knowledge RAG INDEX
LLM09:2026 - Logs and monitoring PROMPT · TOOL LOGS
DE.CM
REACH connectors · identity · data · supply chain
- Connectors MCP SERVERS
MCP03:2025 - Agent actions SEND · SHARE · UPDATE
LLM03:2026 - Identity and access SSO · OAUTH SCOPES
ASI03 - Sensitive data HR · CRM · CONTRACTS
LLM02:2026 - Data leaving AI-ENABLED EXFIL
T1700 - AI supply chain MODELS · PLUGINS · MCP
LLM04:2026
Tell us about your project
For: AI & LLM SecurityTell us which AI features are in scope: models, tools, agents, data sources and who can reach them. A senior operator replies within one business day with next steps.
- Confidential by default. We sign NDAs before scoping.
- A fixed quote before any testing begins, no surprises.
- A retest of your fixes is always included.
Prefer email? contact@dlglabs.io