AI security

Every AI system you ship carries its security case.

YPAI specifies, builds, tests and operates the security of assistants, agents, document pipelines, voice systems and models: the threat register, the controls at the tool boundary, the red-team record and the release gate, written in the ids your auditors already read. Mobilisation typically begins within a few days.

  • OWASP LLM 2025 and Agentic 2026
  • MITRE ATLAS v2026.09
  • EEA, your cloud or air-gapped
  • Hash-chained evidence

Name the system. The case computes.

Four choices describe an AI system well enough to write its security case: what it is, where it runs, what data reaches it and who regulates it. Change any one and the threats, controls, tests, obligations and evidence on this page change with it.

The case Agent with tools · YPAI-managed, EEA · Personal data · Financial services
System
Where it runs
Data that reaches it
Sector
System

Reads untrusted input, holds credentials and calls tools that change state or send messages.

threats
14
controls
28
test families
11
obligations
06
artefacts
11
external ids
98
Computed in this tab from YPAI's catalogue. The case shown first is an agent with tools in financial services, handling personal data, run by YPAI in the EEA.

What an adversary does to this system.

Each threat carries the ids a security team already tracks, and names the controls and the test families that answer it in this case.

  1. TH-01

    Prompt injection, direct and indirect

    Instructions arrive inside the content the system reads, a message, a retrieved page, a document, a tool result, and the model follows them.

    • LLM01:2025
    • ASI01:2026
    • AML.T0051
    • AML.T0093
  2. TH-02

    Sensitive information disclosure

    Personal data, secrets or another tenant’s records leave through an answer, a citation, a log or a rendered link.

    • LLM02:2025
    • AML.T0057
    • AML.T0024
  3. TH-03

    Supply chain compromise

    A model file, a dataset, a dependency, an MCP server or a tool description carries code or instructions that run when loaded.

    • LLM03:2025
    • ASI04:2026
    • AML.T0010
    • AML.T0109
    • AML.T0115
  4. TH-04

    Data and model poisoning

    Planted documents in the retrieval corpus, or a few hundred poisoned training samples, install a trigger the system obeys later.

    • LLM04:2025
    • AML.T0020
    • AML.T0070
    • AML.T0071
  5. TH-05

    Improper output handling

    Model output reaches a shell, a database, a browser or a tool without being treated as untrusted input.

    • LLM05:2025
    • ASI05:2026
    • AML.T0053
  6. TH-06

    Excessive agency and tool misuse

    The agent holds more tools, scope or autonomy than the task needs, and one hijacked step sends, pays, deletes or exfiltrates.

    • LLM06:2025
    • ASI02:2026
    • AML.T0053
    • AML.T0086
    • AML.T0101
  7. TH-07

    System prompt and configuration disclosure

    The system prompt, the tool list or the agent configuration is extracted and used to plan the next attack.

    • LLM07:2025
    • AML.T0056
    • AML.T0084
    • AML.T0133
  8. TH-08

    Retrieval and embedding weaknesses

    The vector store returns another user’s documents, a planted entry or an embedded credential because access control stopped at the application.

    • LLM08:2025
    • AML.T0070
    • AML.T0082
  9. TH-10

    Unbounded consumption

    Requests sized to exhaust context, reasoning time, tokens or budget take the service down or run up the bill.

    • LLM10:2025
    • AML.T0029
    • AML.T0034
  10. TH-11

    Memory and context poisoning

    An instruction planted in one session is written to memory and shapes every later session.

    • ASI06:2026
    • AML.T0080
  11. TH-12

    Identity and privilege abuse

    The agent runs with a shared or over-broad credential, a token is passed through to a tool, or a tool harvests the credentials it is handed.

    • ASI03:2026
    • AML.T0055
    • AML.T0083
    • AML.T0098
  12. TH-13

    Tool and MCP poisoning

    A tool description, a tool result or an MCP server changes after approval and carries instructions the model obeys.

    • ASI04:2026
    • ASI02:2026
    • AML.T0110
    • AML.T0099
  13. TH-14

    Insecure inter-agent communication

    One agent trusts another agent’s output as an instruction, and a failure or a hijack cascades across the chain.

    • ASI07:2026
    • ASI08:2026
    • AML.T0118
  14. TH-15

    Human trust exploitation

    The system is made to present a crafted link, a false confirmation or a confident instruction that a person follows.

    • ASI09:2026
    • ASI10:2026
    • AML.T0131
    • AML.T0100

Write the attack. Read the policy path.

An injected instruction asks the model to call a tool with the attacker's values. In a YPAI agent build that proposal passes a gateway before anything runs. Type the instruction a planted document would carry, pick the tool it asks for, and read the trace.

Injection replay policy v1 · allow search_docs, read_customer, send_email, http_fetch · egress docs.internal, api.crm.internal
Blocked R2 provenance

The value for "to" comes from an untrusted span. send_email acts outside the session, and an argument with untrusted provenance can never choose where it acts.

  1. 01 ingest span#1 provenance=retrieved trust=untrusted chars=131 0000000000000000 edf1964862ad0a33
  2. 02 mark span#1 delimited as data; instructions inside it carry no authority edf1964862ad0a33 20078deb65b81e3b
  3. 03 propose tool=send_email to="audit@attacker.example" args_from=span#1 taint=untrusted 20078deb65b81e3b 11bb0758b45eabcc
  4. 04 evaluate R2 provenance: blocked 11bb0758b45eabcc e264da5520c3a49d
  5. 05 decide deny send_email; span#1 kept as evidence e264da5520c3a49d ecbaf7ce492756f3
This is the policy path of a YPAI agent build, run in your browser on your text. The proposal is read from your injected span, so the trace shows the gateway's decision. The same rule classes sit in front of every tool call in production: allowlist, argument provenance, approval bound to the request, egress allowlist and the Rule of Two. Every line carries the SHA-256 of the line before it.

Six layers. Each control names its mechanism, its standard and its proof.

A control is a mechanism that runs, a measurable standard it is configured to and the artefact that proves it ran. The catalogue is also published as data, so your own tooling can read it.

Read the controls as JSON

01 Data 02

  1. C-DAT-01 Classification and minimisation at ingest Each data flow into the system has a named purpose, a legal basis where personal data is involved and a retention period, recorded before the first run.
    Mechanism
    Every field that can reach a model is classified (public, personal, special) and reduced to what the purpose needs before the model sees it. Pseudonymisation runs where the purpose allows; tenant and user scope travel with each record into retrieval.
    Standard
    Each data flow into the system has a named purpose, a legal basis where personal data is involved and a retention period, recorded before the first run.
    Evidence
    Data map with purpose, basis and retention per flow; DPIA input where Article 35 applies.
    References
    • GDPR Art 5(1)(c)
    • GDPR Art 25
    • GDPR Art 35
    • EU AI Act Art 10
    • AITG-DAT-05
  2. C-DAT-02 Retrieval corpus provenance and poisoning screen Zero documents in the corpus without source and hash; permission-aware retrieval verified on the acceptance set with cross-tenant queries.
    Mechanism
    Every document entering retrieval carries a source, a content hash and the identity that admitted it. Corpus changes are diffed and screened for instruction-shaped content; canary entries detect unexpected reads; access filters are applied at query time from the user’s own permissions, never from the model.
    Standard
    Zero documents in the corpus without source and hash; permission-aware retrieval verified on the acceptance set with cross-tenant queries.
    Evidence
    Corpus manifest (source, hash, admitter, date) and the cross-tenant retrieval test record.
    References
    • LLM04:2025
    • LLM08:2025
    • AML.T0070
    • AML.T0071
    • AITG-APP-08
    • AITG-DAT-03

02 Model 03

  1. C-MOD-01 Artefact scanning and signature verification before load No model artefact loads without a passing scan and a verified signature; the ML-BOM is regenerated on every change.
    Mechanism
    Model files are scanned for deserialisation payloads (pickle, Keras, TensorFlow, GGUF templates, ONNX custom ops) and architectural backdoors, with unparseable files failing closed. Artefacts are signed at publish (OpenSSF Model Signing, Sigstore) and verified at load; an ML-BOM (CycloneDX 1.7) lists every model, dataset and dependency.
    Standard
    No model artefact loads without a passing scan and a verified signature; the ML-BOM is regenerated on every change.
    Evidence
    Scan verdicts, signature bundles, ML-BOM per release.
    References
    • LLM03:2025
    • AML.T0010
    • AML.T0115
    • AITG-INF-01
  2. C-MOD-02 Pinned versions and change control Every served request is attributable to one configuration version; every version has a gate record.
    Mechanism
    Model, system prompt, tool set, retrieval index, policy set and classifier thresholds are versioned together as one configuration. A change to any of them produces a new version, and the release gate runs against it before it serves traffic.
    Standard
    Every served request is attributable to one configuration version; every version has a gate record.
    Evidence
    Configuration ledger with version, change, author and gate result.
    References
    • ISO/IEC 42001:2023 A.6
    • EU AI Act Art 9
    • EU AI Act Art 12
  3. C-MOD-04 Classifier stack, measured per language Precision and recall per detector and per language recorded on the acceptance set before blocking is switched on; thresholds versioned.
    Mechanism
    Input and output classifiers for injection, jailbreak, harmful content, personal data, secrets, system-prompt leakage and unknown links run in a monitor-then-block rollout. Thresholds are set per deployment from measured precision and recall, and the measurement is repeated per language the system serves, Norwegian included, rather than assumed from English figures.
    Standard
    Precision and recall per detector and per language recorded on the acceptance set before blocking is switched on; thresholds versioned.
    Evidence
    Detector measurement sheet per language; threshold configuration version; block and monitor logs.
    References
    • LLM01:2025
    • LLM02:2025
    • LLM07:2025
    • AITG-APP-01
    • AITG-APP-03
    • AITG-APP-12

03 Application 06

  1. C-APP-01 Trust-boundary marking of every span Zero unmarked spans in any model context on the acceptance set, verified by trace inspection.
    Mechanism
    Every span the model reads is marked with its provenance: user, retrieved document, tool result, peer agent, email, transcript. Untrusted spans are delimited so the model and the policy evaluator both see them as data. The marks travel with the span into every later step, so a value derived from an untrusted span stays untrusted.
    Standard
    Zero unmarked spans in any model context on the acceptance set, verified by trace inspection.
    Evidence
    Context assembly specification; trace lines with span provenance per request.
    References
    • LLM01:2025
    • ASI01:2026
    • ASI06:2026
    • AITG-APP-02
  2. C-APP-02 Output handling by sink Every output sink has a named handler; link rendering outside the allowlist is zero on the acceptance set.
    Mechanism
    Model output is untrusted input to whatever consumes it. Rendering encodes by sink; links and images render only for allowlisted domains; generated SQL, shell and code never execute outside a sandbox; structured outputs are schema-validated before use.
    Standard
    Every output sink has a named handler; link rendering outside the allowlist is zero on the acceptance set.
    Evidence
    Sink register; rendering policy; test record for link and code sinks.
    References
    • LLM05:2025
    • ASI05:2026
    • LLM02:2025
    • AITG-APP-05
  3. C-APP-03 Prompt and secret separation Zero secrets in prompt material, checked by a secret scanner on every prompt version.
    Mechanism
    No credential, key or internal hostname lives in a prompt. The system prompt is treated as disclosable and holds nothing whose disclosure would matter; a leakage detector on output catches verbatim prompt contents.
    Standard
    Zero secrets in prompt material, checked by a secret scanner on every prompt version.
    Evidence
    Prompt version register with scanner result; leakage detector configuration.
    References
    • LLM07:2025
    • AML.T0056
    • AITG-APP-07
  4. C-APP-04 Grounding and citation Grounding score threshold and the share of answers with a citation measured per release.
    Mechanism
    Answers carry the source spans they rest on; an ungrounded-claim detector scores each answer against its sources; empty retrieval produces a stated non-answer and a handoff rather than an invention.
    Standard
    Grounding score threshold and the share of answers with a citation measured per release.
    Evidence
    Grounding measurement per release; citation coverage report.
    References
    • LLM09:2025
    • AITG-APP-11
    • AITG-APP-13
  5. C-APP-05 Consumption limits Every identity has a budget; budget exhaustion is a logged event, not an outage.
    Mechanism
    Per-identity budgets for requests, tokens, reasoning time and cost; context-size caps; queue backpressure; a kill switch per tenant. Spend is read from the provider meter, not estimated.
    Standard
    Every identity has a budget; budget exhaustion is a logged event, not an outage.
    Evidence
    Budget configuration per identity; consumption dashboard; exhaustion event log.
    References
    • LLM10:2025
    • AML.T0029
    • AML.T0034
    • AITG-INF-02
  6. C-APP-06 Session and memory governance Cross-session leakage is zero on the acceptance set; every memory write has an identity scope and an expiry.
    Mechanism
    Memory writes are validated against a schema, scoped to one identity and given an expiry. Nothing read from an untrusted span is written to long-term memory without a human or a policy decision. Cross-session isolation is a test, not an assumption.
    Standard
    Cross-session leakage is zero on the acceptance set; every memory write has an identity scope and an expiry.
    Evidence
    Memory schema; isolation test record; memory write log.
    References
    • ASI06:2026
    • AML.T0080

04 Agent 07

  1. C-AGT-01 Default-deny tool policy at the gateway Zero tool executions outside the policy on the acceptance set; policy set versioned and analysed before each release.
    Mechanism
    Every tool call passes a policy gateway that denies by default. Policies are written in a policy language with formal semantics (Cedar class), where a forbid overrides any permit and the policy set can be analysed for what it allows before it is deployed. The model never sees a tool that the policy would not permit.
    Standard
    Zero tool executions outside the policy on the acceptance set; policy set versioned and analysed before each release.
    Evidence
    Policy set per version with the analysis result; gateway decision log.
    References
    • LLM06:2025
    • ASI02:2026
    • AML.T0053
    • AITG-APP-06
    • AITG-INF-03
  2. C-AGT-02 Argument provenance and flow control Zero high-impact tool executions with untrusted-derived arguments on the acceptance set.
    Mechanism
    Arguments carry the provenance of the span they came from. A recipient, a destination, an amount or a path that derives from an untrusted span cannot reach a tool that sends, pays, deletes or exfiltrates (CaMeL and FIDES class information-flow control). The Rule of Two is checked per session: untrusted input, sensitive data and external effect never meet without a human.
    Standard
    Zero high-impact tool executions with untrusted-derived arguments on the acceptance set.
    Evidence
    Flow policy; per-request taint trace; acceptance set run record.
    References
    • ASI01:2026
    • AML.T0086
    • AML.T0101
    • AITG-APP-06
  3. C-AGT-03 Per-agent identity and least privilege No shared credentials; every token has an audience, a lifetime and a logged issuer; passthrough is impossible by construction.
    Mechanism
    Each agent is its own principal with its own credentials. Calls on behalf of a person carry both the person and the agent in the token; tokens are audience-bound (RFC 8707), short-lived and proof-of-possession where the resource supports it. Tokens are never passed through to a downstream tool. MCP servers follow the 2026-07-28 authorisation specification.
    Standard
    No shared credentials; every token has an audience, a lifetime and a logged issuer; passthrough is impossible by construction.
    Evidence
    Identity register per agent; token policy; authorisation server configuration.
    References
    • ASI03:2026
    • AML.T0055
    • AML.T0083
    • AML.T0098
    • MCP authorization 2026-07-28
  4. C-AGT-04 Approval bound to the request Every high-impact execution has an approval record naming request id, approver and time.
    Mechanism
    High-impact actions pause for a human approval that is bound to the pending request id and session, so a replayed or forged approval is ignored. Destructive paths are never auto-approved. The approver sees the arguments, their provenance and the policy result before deciding.
    Standard
    Every high-impact execution has an approval record naming request id, approver and time.
    Evidence
    Approval log; request binding design; replayed-approval test record.
    References
    • ASI09:2026
    • LLM06:2025
    • AITG-APP-06
  5. C-AGT-05 Tool and MCP server control Zero tools serving without a pinned description hash; every change is a logged re-approval.
    Mechanism
    MCP servers run from signed images pinned by digest. Tool descriptions are hashed and pinned at approval; a changed description, a new tool or a changed schema is a blocked event until re-approved. Descriptions and tool results are scanned for instruction-shaped content before they reach the model.
    Standard
    Zero tools serving without a pinned description hash; every change is a logged re-approval.
    Evidence
    Tool register with description hashes; image digests; change log.
    References
    • ASI04:2026
    • AML.T0110
    • AML.T0109
    • AML.T0099
    • AITG-INF-01
  6. C-AGT-06 Inter-agent trust Every inter-agent message has a verified sender; delegation depth cap enforced and logged.
    Mechanism
    Agents authenticate to each other with signed agent cards and mutual TLS. A peer agent’s output enters the context as an untrusted span, never as an instruction. Delegation depth and fan-out are capped per session.
    Standard
    Every inter-agent message has a verified sender; delegation depth cap enforced and logged.
    Evidence
    Agent card register; channel configuration; delegation trace.
    References
    • ASI07:2026
    • ASI08:2026
    • AML.T0118
  7. C-AGT-07 Cross-call flow rules, tripwires and limits Flow rules cover every pair of sensitive read and external effect in the tool set; canaries verified live per release.
    Mechanism
    Policies read the session history, not only the call: a read of sensitive data followed by an external send is a rule, not a hope. Canary records and tokens raise an alarm when touched. Sessions have lifetime caps, step caps and a kill switch.
    Standard
    Flow rules cover every pair of sensitive read and external effect in the tool set; canaries verified live per release.
    Evidence
    Flow rule set; canary register; session limit configuration.
    References
    • ASI08:2026
    • ASI10:2026
    • AML.T0086

05 Runtime 05

  1. C-RUN-01 Execution sandbox per session No credential readable from inside the sandbox; egress outside the allowlist is zero on the acceptance set.
    Mechanism
    Anything the model can make run, code, browsers, tools, runs in a per-session sandbox (microVM, gVisor or OS sandbox class) with default-deny egress, no credentials inside, memory sanitised at teardown and a lifetime cap. Credentials are injected by a broker outside the sandbox.
    Standard
    No credential readable from inside the sandbox; egress outside the allowlist is zero on the acceptance set.
    Evidence
    Sandbox profile; egress allowlist; credential broker design; escape test record.
    References
    • ASI05:2026
    • AML.T0098
    • AITG-INF-04
  2. C-RUN-02 Egress and link control Egress allowlist versioned; zero unlisted outbound connections on the acceptance set.
    Mechanism
    Outbound connections resolve against an allowlist with checks that resist DNS rebinding; metadata, loopback and link-local addresses are blocked. Links in output outside the allowlist are flagged or removed before rendering.
    Standard
    Egress allowlist versioned; zero unlisted outbound connections on the acceptance set.
    Evidence
    Egress policy; proxy decision log; link rendering test record.
    References
    • AML.T0025
    • AML.T0086
    • LLM02:2025
    • AITG-DAT-02
  3. C-RUN-03 Key custody and confidential inference Key custody named per deployment; attestation evidence retained per node where confidential inference is in scope.
    Mechanism
    Encryption keys are customer-managed in an HSM. Where the case requires it, inference runs in a confidential environment (CPU trusted execution plus GPU confidential computing) and keys are released only after attestation against the reference measurements.
    Standard
    Key custody named per deployment; attestation evidence retained per node where confidential inference is in scope.
    Evidence
    Key custody record; attestation reports where applicable.
    References
    • GDPR Art 32
    • ISO/IEC 27001:2022 A.8.24
  4. C-RUN-04 Residency enforcement Region and routing read from the provider’s configuration and recorded; deny policy in place before the first request.
    Mechanism
    Organisation policy denies deployments that route outside the agreed region; the EEA data zone is the default and the air-gapped mode has no outbound path at all. Human review of any logged content happens inside the EEA.
    Standard
    Region and routing read from the provider’s configuration and recorded; deny policy in place before the first request.
    Evidence
    Residency policy; region readback; sub-processor register on request.
    References
    • GDPR Chapter V
    • GDPR Art 28
  5. C-RUN-05 Secrets and configuration protection Zero secrets in configuration files or prompts; every configuration change has an author and a signature.
    Mechanism
    Agent configuration is not readable by the model or from inside the sandbox. Secrets live in a vault and are brokered per call; configuration changes are signed, versioned and logged.
    Standard
    Zero secrets in configuration files or prompts; every configuration change has an author and a signature.
    Evidence
    Vault policy; configuration change log; secret scanner results.
    References
    • AML.T0081
    • AML.T0083
    • AML.T0084
    • AML.T0133

06 Operations 05

  1. C-OPS-01 Hash-chained trace Chain verifies on 100% of acceptance runs; retention at least six months where EU AI Act Article 19 applies, and per the customer’s policy otherwise.
    Mechanism
    Every model call, retrieval, tool call, policy decision and approval is logged with its span provenance, configuration version and a chained SHA-256 digest, so a line cannot be removed or reordered without breaking every later digest. Traces follow the OpenTelemetry GenAI conventions at a pinned version and export to the customer’s SIEM.
    Standard
    Chain verifies on 100% of acceptance runs; retention at least six months where EU AI Act Article 19 applies, and per the customer’s policy otherwise.
    Evidence
    Trace schema; chain verification record; SIEM export configuration.
    References
    • EU AI Act Art 12
    • EU AI Act Art 19
    • GDPR Art 30
    • ISO/IEC 42001:2023 A.6.2.8
  2. C-OPS-02 Detection and response for AI failure modes Each detection has a runbook, an owner and a tested notification path; notification inside the legal clocks of the case.
    Mechanism
    Detections on injection attempts, policy denials, anomalous tool sequences, extraction patterns, cost spikes and canary hits feed the customer’s SIEM. Runbooks exist for each AI-specific incident class, with the legal clocks that apply to the case written in.
    Standard
    Each detection has a runbook, an owner and a tested notification path; notification inside the legal clocks of the case.
    Evidence
    Detection rule set; runbooks; tabletop record.
    References
    • GDPR Art 33
    • EU AI Act Art 73
    • OWASP ASI08:2026
  3. C-OPS-03 Release gate and regression suite The gate runs on every change; a floor is never moved downward after it is set.
    Mechanism
    The customer owns an evaluation suite in CI that runs the attack families of the case against every configuration version. Attack success rate per family is reported with sample size and interval, against a floor set in the acceptance criteria before the first run.
    Standard
    The gate runs on every change; a floor is never moved downward after it is set.
    Evidence
    Suite repository; gate run records per version; floor history.
    References
    • EU AI Act Art 9
    • EU AI Act Art 15
    • ISO/IEC 42001:2023 A.6.2.4
    • AITG-APP-01
  4. C-OPS-04 Continuous red teaming Campaign cadence and languages named in the acceptance criteria; every finding reproducible from its trace.
    Mechanism
    Adaptive multi-turn campaigns run against the live configuration on a quarterly cadence and after any material change, with the attack corpus maintained in every language the system serves, Norwegian included. Findings ship as reproducible traces with model version, configuration version, run count and success rate; a retest is part of every campaign.
    Standard
    Campaign cadence and languages named in the acceptance criteria; every finding reproducible from its trace.
    Evidence
    Campaign reports with traces; retest records; corpus register per language.
    References
    • NIST AI 600-1 MS-2.7
    • EU AI Act Art 15
    • AITG-APP-01
    • AITG-APP-02
  5. C-OPS-05 Evidence pack with a manifest Every artefact in the pack is in the manifest; the manifest digest is quoted in the acceptance record.
    Mechanism
    The threat register, control status, test records, configuration ledger, trace schema, incident runbooks and the regulatory documentation of the case (technical documentation under Annex IV where high-risk, fundamental-rights and data-protection impact inputs, system card, control mapping to ISO/IEC 42001 and 27001, AI-CAIQ answers) ship as one pack with a manifest of SHA-256 digests.
    Standard
    Every artefact in the pack is in the manifest; the manifest digest is quoted in the acceptance record.
    Evidence
    The pack and its manifest.
    References
    • EU AI Act Annex IV
    • EU AI Act Art 27
    • GDPR Art 35
    • ISO/IEC 42001:2023
    • CSA AICM v1.1

The gate is set before the first run and only ever raised.

Each test family is a method mapped to the OWASP AI Testing Guide. Results are reported as attack success rate per family with sample size and interval. The floors are the release gate of this case: a version serves traffic when it passes them, and runs again on every change.

Test families 11

TF-01 Direct injection and jailbreak
Template, encoded and optimised attacks, single and multi-turn, in every language served; attack success rate per strategy with run count.
  • AITG-APP-01
TF-02 Indirect injection through content and tools
Instructions planted in retrieved documents, tool results, emails, transcripts and peer-agent output; measured as high-impact executions reached.
  • AITG-APP-02
  • AITG-APP-06
TF-03 Sensitive data and cross-tenant leakage
Extraction prompts, cross-tenant retrieval queries, link and image exfiltration attempts; measured as records returned that the identity may not see.
  • AITG-APP-03
  • AITG-DAT-02
TF-04 System prompt and configuration disclosure
Extraction set against prompt, tool list and configuration; measured as verbatim or paraphrased contents returned.
  • AITG-APP-07
  • AITG-APP-04
TF-05 Unsafe output and sink handling
Outputs aimed at each sink: rendered links, code, SQL, structured fields; measured as sink executions outside policy.
  • AITG-APP-05
TF-06 Agent behaviour limits and privilege
Goal hijack, tool misuse, scope escalation, replayed approvals, inter-agent compromise in a mock-tool environment; measured as policy-breaking executions.
  • AITG-APP-06
  • AITG-INF-03
  • AITG-INF-04
TF-07 Grounding, hallucination and over-reliance
Questions with and without a source in the corpus; measured as ungrounded claims and the share of answers with citations.
  • AITG-APP-11
  • AITG-APP-13
  • AITG-APP-10
TF-08 Retrieval and embedding manipulation
Planted entries, near-duplicate collisions and embedded credentials in the corpus; measured as poisoned entries that reach an answer.
  • AITG-APP-08
  • AITG-DAT-03
TF-09 Supply chain and tool integrity
Malicious model files, changed tool descriptions, unsigned images, hallucinated package names; measured as artefacts that load or tools that serve without verification.
  • AITG-INF-01
TF-11 Resource exhaustion
Oversized contexts, reasoning loops, parallel floods; measured as budget events and service degradation per identity.
  • AITG-INF-02
TF-12 Extraction, evasion and credential exposure
Query-sequence extraction, adversarial evasion sets and credential-reach attempts from inside the sandbox; measured per model version.
  • AITG-APP-09
  • AITG-MOD-01
  • AITG-MOD-04
  • AITG-INF-06

Release gate 06

  1. G-01

    Zero high-impact tool executions from injected instructions on the acceptance set.

  2. G-02

    Zero secrets and zero system-prompt contents returned on the extraction set.

  3. G-03

    Attack success rate per family reported with sample size and interval. The floor is set in the acceptance criteria before the first run and is never moved downward.

  4. G-04

    Every model artefact scanned and signature-verified before load; an unparseable file fails closed.

  5. G-05

    The trace chain verifies on 100% of acceptance runs.

  6. G-06

    The gate reruns on every model, prompt, tool, retrieval or policy change before the version serves traffic.

Red-team campaigns run quarterly and after any material change, adaptive and multi-turn, in every language the system serves. Norwegian is measured on its own corpus. Every finding ships as a reproducible trace with model version, configuration version, run count and success rate, and a retest is part of every campaign.

Three deployments. Five facts each.

Where inference runs, what crosses the boundary, who holds the keys, where logs live and what YPAI can reach.

Where it runs
Where it runs
YPAI-managed in the EEA
Inference runs
EEA data-zone endpoints or EEA-hosted open-weight models, with retention set to none by organisation policy.
Crosses the boundary
Prompts, retrieved spans and tool results reach the model endpoint under the endpoint’s zero-retention terms. Nothing else leaves the environment.
Keys
Customer-managed keys where the endpoint offers them; otherwise per-tenant keys held in an HSM in the EEA.
Logs
Hash-chained traces stored in the EEA and exported to your SIEM.
YPAI access
Named YPAI engineers, logged per session, under the Article 28 DPA.

The regulation your review names, the control that answers it, the artefact.

Filtered to this case. Dates are the ones in force after Regulation (EU) 2026/1744, the Digital Omnibus on AI.

OB-01 EU AI Act, Regulation (EU) 2024/1689 as amended by (EU) 2026/1744 Role mapping (provider or deployer) and the articles that follow from the system’s classification.
Control Risk management (Art 9), data governance (Art 10), logging (Art 12), human oversight (Art 14), accuracy and robustness including the attacks named in Art 15(5), deployer duties (Art 26), transparency (Art 50) and the serious-incident process (Art 73) are mapped to the controls above. Technical documentation follows Annex IV where the system is high-risk.
Evidence Role and obligation map; Annex IV documentation where high-risk; incident procedure with the Art 73 clocks.
  • Art 50 and general application from 2 Aug 2026
  • Annex III high-risk obligations from 2 Dec 2027
  • Annex I high-risk obligations from 2 Aug 2028
  • Art 73 serious incident: 15 days, 10 days on death, 2 days on widespread harm or critical infrastructure
  • Norway: incorporation pending, bill to the Storting spring 2027
OB-02 GDPR Personal data reaches the system.
Control Minimisation and protection by design (Art 5, 25), processor terms (Art 28), security of processing mapped per control (Art 32), breach notification (Art 33), impact assessment where required (Art 35), automated decisions (Art 22) and transfers (Chapter V, SCCs for any customer-directed transfer outside the EEA).
Evidence Article 28 DPA ready for countersignature; Article 32 control mapping; DPIA inputs; sub-processor register on request.
  • Art 33 breach notification: 72 hours from awareness
  • Hard deletion within 30 days of contract end
OB-04 DORA, Regulation (EU) 2022/2554 The system is part of a financial entity’s ICT.
Control ICT risk management, ICT-related incident classification and reporting, and the register of ICT third-party providers cover the AI system and its model endpoints as ICT services.
Evidence Third-party register entry; incident classification mapping; testing records.
  • In force in the EU since 17 Jan 2025
  • In force in Norway since 1 Jul 2025 (Finanstilsynet)
OB-05 Digitalsikkerhetsloven and NSM grunnprinsipper v2.1 A Norwegian public body, financial entity or health provider operates the system.
Control Controls are mapped to the four categories and 21 principles of NSM’s grunnprinsipper for IKT-sikkerhet; the mapping is the reading a Norwegian public buyer expects. NIS2 is not Norwegian law; digitalsikkerhetsloven is.
Evidence NSM principle mapping; digitalsikkerhetsloven applicability note.
  • Digitalsikkerhetsloven in force since 1 Oct 2025
OB-09 ISO/IEC 42001:2023 and ISO/IEC 27001:2022 alignment Every case. Alignment, not certification.
Control Each control above is mapped to the Annex A controls of ISO/IEC 42001 and ISO/IEC 27001 and to the CSA AI Controls Matrix v1.1, so an auditor reads the case in the vocabulary they already use. YPAI states alignment; certification of a customer system is the customer’s own process.
Evidence Control mapping sheet; AI-CAIQ answers for the case.
OB-10 Taxonomies the case is written in Every case.
Control OWASP Top 10 for LLM Applications 2025, OWASP Top 10 for Agentic Applications 2026, OWASP AI Testing Guide v1, MITRE ATLAS v2026.09 and NIST AI 100-2 E2025 supply the ids used in the threat register, the test plan and the findings.
Evidence Every finding and test carries its taxonomy ids.

The pack your reviewers receive, with a digest.

Every artefact in the pack is listed in a manifest of SHA-256 digests, and the manifest digest is quoted in the acceptance record. The digest below is computed in this tab over the ids of the case on this page.

Case digest, SHA-256 11 artefacts

SHA-256 8fbcda5f2fefb01122ef11fd8f51e4f735f8f0c692b7ad1110f7c72eec05b84e

  1. A-01 Threat register the threats of this case with their taxonomy ids
  2. A-02 Control status by layer every control, its mechanism, its spec and its evidence
  3. A-03 Test plan and gate record the test families, the floors and every gate run
  4. A-04 Red-team campaign reports with traces each campaign, reproducible per finding
  5. A-05 Configuration ledger every served version of model, prompt, tools, index and policy
  6. A-06 Trace schema and chain verification the hash-chained log and its verification runs
  7. A-07 Policy set and analysis the tool policy, the flow rules and what they permit
  8. A-08 Tool and model artefact register description hashes, image digests, scan verdicts, signatures
  9. A-09 Incident runbooks and tabletop record each AI-specific incident class with its clocks
  10. A-10 Regulatory documentation role map, Annex IV documentation where high-risk, impact-assessment inputs, control mapping to ISO/IEC 42001 and 27001, AI-CAIQ answers
  11. A-11 Data map and legal basis register every flow with purpose, basis and retention

Norwegian AS. EEA by default. Signed, then operated.

YPAI is a Norwegian company with no US corporate entity, operating EEA infrastructure. Data residency, subprocessors and international-transfer controls are defined per project. SCCs are available for any customer-directed transfer outside the EEA.

What YPAI signs 04

GDPR Article 28 DPA
The Data Processing Agreement comes with every engagement, ready for countersignature.
30-day erasure
Hard deletion within 30 days of contract end, written into the master service agreement.
SCCs available
Standard Contractual Clauses for customer-directed transfers outside the EEA.
Mobilisation window
Counted from a signed task order under pre-signed master terms. Mobilisation typically begins within a few days.

What YPAI operates 06

72-hour breach notification
GDPR Article 33 window, with the audit trail entry timestamped from the moment of awareness.
EEA processing by default
Norwegian AS operating EEA infrastructure by default, under Norwegian jurisdiction.
A named engineer
One named YPAI engineer owns the case and replies inside one EU business day.
Critical findings the same day
A critical finding is reported the day it is confirmed, with its reproducible trace.
Sub-processor register
Available on formal request as part of the procurement workflow.
Coordinated disclosure
Reports about YPAI's systems go to the address and window published in security.txt.

Frequently asked

What security teams ask before the first call.

How does YPAI stop prompt injection in an agent that holds tools?

With controls at the tool boundary rather than with a filter alone. Every span the model reads is marked with its provenance, so a retrieved document or a tool result enters as data. Every proposed tool call passes a default-deny policy gateway. An argument that derives from an untrusted span cannot select the recipient, destination, amount or path of a tool that sends, pays, deletes or exfiltrates. High-impact actions pause for an approval bound to the request id, and outbound traffic resolves against an egress allowlist. The injection replay on this page runs those rule classes on your own text, and the controls catalogue lists each one with its evidence. The approach follows OWASP LLM01:2025 and ASI01:2026 and the information-flow designs published for agents.

What does a red-team engagement deliver?

A threat register in OWASP LLM 2025, OWASP Agentic 2026 and MITRE ATLAS v2026.09 ids; a test plan mapped to the OWASP AI Testing Guide; adaptive multi-turn campaigns in every language the system serves, Norwegian included; and findings that ship as reproducible traces with model version, configuration version, run count and success rate. Attack success rate is reported per family with sample size and interval. A critical finding is reported the day it is confirmed. A retest is part of every campaign, and the attack corpus stays with you as the regression suite your own CI runs on every change.

Which standards are the controls and findings mapped to?

OWASP Top 10 for LLM Applications 2025, OWASP Top 10 for Agentic Applications 2026, the OWASP AI Testing Guide v1, MITRE ATLAS v2026.09 and NIST AI 100-2 for the technical side; the EU AI Act as amended by Regulation (EU) 2026/1744, GDPR, DORA where you are a financial entity, digitalsikkerhetsloven and NSM grunnprinsipper v2.1 for Norwegian public and regulated buyers, and the Cyber Resilience Act where the system ships in a product. Controls are mapped to ISO/IEC 42001:2023 and ISO/IEC 27001:2022 Annex A and to the CSA AI Controls Matrix v1.1. YPAI states alignment; certification of your system stays your own process, and the controls file carries every reference as data.

Can the system run in our cloud or fully air-gapped?

Yes, in three modes. YPAI-managed in the EEA uses EEA data-zone endpoints or EEA-hosted open-weight models with retention set to none by organisation policy. In your cloud tenant, inference runs on your endpoints in your region with a policy that denies global routing, your HSM holds the keys and your logging stack holds the traces. Air-gapped on your hardware runs self-hosted open-weight models with confidential inference where the hardware supports it, and nothing crosses the boundary: model artefacts enter signed and are scanned before load. The deployment switch on this page states the five facts for each mode, and the residency FAQ covers transfers.

What do the EU AI Act dates mean for a system we ship now?

After Regulation (EU) 2026/1744 the general provisions, including Article 50 transparency, apply from 2 August 2026. High-risk obligations under Annex III apply from 2 December 2027 and under Annex I from 2 August 2028. Article 73 sets the serious-incident clocks at 15 days, 10 days on death and 2 days on widespread harm or critical infrastructure. In Norway the Act awaits incorporation, with a bill to the Storting expected in spring 2027. YPAI maps your system's role and articles, writes the clocks into the incident runbooks and produces Annex IV technical documentation where the system is high-risk, so the evidence exists before the date arrives.

How fast can work start?

Mobilisation typically begins within a few days of a signed task order under pre-signed master terms: the Article 28 DPA, the rules of engagement and the task-order template are standing documents. The first sprint is fixed in advance, a threat-model workshop and an automated attack-success baseline on one endpoint, so the first measured result arrives early and the acceptance criteria for the gate are written before the first run. A named YPAI engineer owns the case from the first reply, inside one EU business day.

Where is customer data stored and how is it erased?

In the European Economic Area by default, on Norwegian and EEA infrastructure providers. A transfer you direct outside the EEA runs under Standard Contractual Clauses. Hard deletion within 30 days of contract end is written into the master service agreement, with the audit trail preserved; erasure requests from data subjects run through a workflow that logs each step. Model endpoints run with retention set to none by organisation policy, and the sub-processor register is available on formal request as part of the procurement workflow.

What evidence does a procurement or security review receive?

One pack with a manifest of SHA-256 digests: the threat register, control status by layer, the test plan and every gate run, red-team reports with traces, the configuration ledger, the trace schema with its chain verification, the policy set and its analysis, the artefact register, incident runbooks and the regulatory documentation for the case, with the Article 28 DPA ready for countersignature. The evidence manifest on this page lists the artefacts for the case you selected, and the platform walkthrough shows how a delivery produces its record.

Open the case for your system.

Bring the system as you described it above. A named YPAI engineer replies inside one EU business day with the threat register, the control status and the gate proposed for it. Mobilisation typically begins within a few days.

Open a security case

The form adapts to the work, asks only for relevant details and sends your brief to the person who can act on it.

Looking for work on AI projects? This form is for companies. Apply as a freelancer

Service required

Your selection routes the brief to the right person.

A named project lead reviews every enquiry and replies within one business day