Using garak tags for EU AI Act risk categories

garak's EU AI Act tags group probe results under Act risk categories, giving teams testing evidence for some obligations and leaving others to documentation and governance work.

On this page

How garak tags help with EU AI Act testing evidence

A compliance lead who must show adversarial testing for a general-purpose or high-risk AI system needs to know what a garak run can prove. garak EU AI Act tags let you group probe results under the risk categories the Act uses, so reviewers can see which obligations a scan speaks to. They do not satisfy any obligation alone. Confirm the tag names in the garak version you run, since garak v0.17.1 was released on 16 October 2026 and tag sets can change between releases. The Act, Regulation (EU) 2024/1689, entered into force on 1 August 2024 and applies in stages. Under the 2026 amendment in Regulation (EU) 2026/1744, the high-risk rules for Annex III systems apply from 2 December 2027 and those for Annex I product systems from 2 August 2028. Confirm these dates against the consolidated text with counsel before you set a timeline.

A scan supports the testing side of two areas. For general-purpose models with systemic risk, the Act expects adversarial testing as part of model evaluation, and a tagged garak run with a dated report can document that activity. For high-risk systems, the robustness and cybersecurity requirements in Article 15 are where prompt injection, jailbreak and data leakage results are most relevant. A scan does not close the risk management system under Article 9, data governance, technical documentation, logging, human oversight, transparency duties or the conformity assessment route. Most Annex III systems use internal control under Annex VI, so the provider's own records carry that weight. A scan also covers only the configuration tested. A model, system prompt or retrieval change can make earlier results stale.

DeployOpen can plan the scan, run it in your environment and prepare the evidence: configs, reports, triage notes and retests mapped to the articles each tag category supports. DeployOpen does not issue certifications, attestations or audit reports, and an independent auditor or notified body makes those determinations where the Act requires one. Before the first run, decide which tag categories map to which obligations, record the garak version and target details, and agree with your legal and compliance teams which gaps need other evidence. That mapping is the step that turns a scan into testing evidence.

Mapping AI Act risk categories to garak tags and configuration

This table maps each AI Act requirement named in the researched facts to the garak probe group that produces related evidence, the run configuration it needs, and what the scan leaves open. Confirm exact tag names against the garak user guide at docs.garak.ai before you write them into a config, and read the right-hand column as the limit of what a scan can prove.

Requirementgarak evidence and configurationWhat the scan does not establish
Prohibited practices (unacceptable risk, nine practices after the 2026 amendment)Probe groups that test whether the system can be pushed into producing manipulative, discriminatory or biometric-profiling content. Confirm which tags cover these themes. Keep the probe list and version in the config.That the system is not used for a prohibited practice. Use cases, deployment context and user populations are outside a prompt scan.
High-risk systems, Annex III (rules apply from 2 December 2027 as amended in 2026)Run probes covering data leakage, prompt injection and toxicity against the production endpoint with the system prompt and tools enabled. Pin the garak version and the generator config so reruns are comparable.Risk management, data governance, human oversight or conformity assessment under Annex VI. A scan supplies test results for one part of the evidence file.
High-risk systems, Annex I product systems (rules apply from 2 August 2028 as amended in 2026)Same probe families, run against the embedded AI component as it ships in the product build. Record the build identifier alongside the report.Product safety, notified body involvement or harmonised standard conformance. Check which standards apply to your product line.
Transparency risk (Article 50 obligations)Probes for misleading output and misinformation, reviewed with the disclosure text the product shows users. Store the disclosure wording with the scan.Whether users are told they are interacting with AI in every channel. Verify the interface directly.
General-purpose AI model rules (Article 88, enforced by the AI Office)Scan the underlying model through a direct generator for the model you integrate. Run the default probewise harness with a fixed generation count and keep the JSONL report.Systemic-risk obligations, model documentation or copyright policy. A scan of a downstream application does not reflect the upstream model's own evaluation.
AI systems built on a provider's own general-purpose model (Article 75(1), as amended in 2026)Scan the full application, not only the model, so the findings reflect your system prompt, retrieval and tool layer. Note which entity is the provider for each system.Which authority is competent for your system. Confirm competence and jurisdiction with counsel.
Penalty tiers under Article 99 (context, up to EUR 35 million or 7% for prohibited practices)No scan output maps to a fine. Use the tiers to prioritize which findings need triage, retest and documented acceptance first.Compliance status or exposure to a fine. Penalty exposure depends on turnover, conduct and cooperation.

Which AI Act obligations apply to your system

Your obligations depend on your role and your use case, not on which model you run. Article 2 of Regulation (EU) 2024/1689 covers providers that place AI systems or general-purpose AI models on the EU market, deployers established in the EU, and non-EU providers and deployers whose AI output is used in the EU. A team that fine-tunes an open model and offers it to customers in the EU can be a provider, even if it never trained the base model. A team that only uses a vendor's system internally is a deployer. Confirm your role for each system before you decide which tests count as evidence, because the same garak scan supports different obligations depending on who runs it and for what purpose.

The Commission describes four risk levels: unacceptable risk, high risk, transparency risk, and minimal or no risk, which the Act does not regulate. Unacceptable risk covers prohibited practices, which the 2026 amendment brought to nine. High-risk classification follows the use case listed in the Act's annexes, so a chatbot can be low risk in one deployment and high risk in an employment or credit decision workflow. Check the Annex III categories against your intended purpose in writing, and record why the system is or is not high risk. garak tags can help group probe results, but they do not decide the classification for you.

Timing also shapes what you need to show. Chapters I and II have applied since 2 February 2025, and the general-purpose AI rules since 2 August 2025. As amended by Regulation (EU) 2026/1744, the high-risk rules in Chapter III apply from 2 December 2027 for Annex III systems and from 2 August 2028 for Annex I product systems. Enforcement is split: national market surveillance authorities enforce the Act for most AI systems, while the Commission's AI Office is exclusively competent for AI systems built on a provider's own general-purpose model and for AI in very large online platforms and search engines under Article 75(1). Ask your counsel which authority would examine your system before you assemble evidence for it.

Evidence a garak run produces for auditors

A garak run leaves several artifacts, and each one answers a different question an assessor may ask about testing for EU AI Act risk categories. Together they show what was tested, with which tool version and configuration, what the outcome was, and what the team did about it.

JSONL report of every attempt

Each garak run writes a JSONL report that records every attempt and its evaluation. This is the primary record for a risk category: each line ties a prompt and model response to the probe and detector that judged it. Check that the report covers every probe group you mapped to a risk category, and that no run was cut short without being noted. Keep the file unedited, because a changed report cannot show what the tool actually produced.

Failure results and five generations

By default garak makes 5 generations per prompt and marks a probe as FAIL with a failure rate when any attempt produces undesirable output. An assessor needs to see both the verdict and the rate, since a single failing attempt and a consistent failure carry different weight. Confirm the generation count in the config file, because a changed count changes what a FAIL means between runs.

The garak.log debugging file

The garak.log file records how the run executed and continues across runs, so it can show when a configuration changed or when a probe errored. Treat it as supporting evidence rather than a results file. Review it for connection failures, skipped probes or endpoint errors, since those can mean a category was never tested even though the report exists.

Garak version and run config

Record the exact garak version used for each run, along with the config file that selected probes, generations and generators. The reference release for this guidance is v0.17.1, released 16 October 2026, but your evidence must name the version you actually ran. Without the version and config, a later rerun cannot be shown to be comparable, and tag-to-risk mappings may not match.

garak releases

Target details and triage notes

Record the target model or application, its version, the endpoint or REST configuration, and the system prompt or guardrails in place during the scan. Add triage notes that state which failing probes were reviewed, who reviewed them, what was decided, and what fix or accepted-risk record followed. Auditors look for this link between a finding and a documented decision, not only for the scan output.

Repeatable run procedure

Write down the command, the config file location, the environment, and the date of each run so the scan can be repeated. Store the config under version control with the reports. A rerun on the same target should be possible from these records alone, which is what lets an assessor check that a later result reflects a real change in the system rather than a change in the test setup.

garak user guide

Configuring garak runs that support EU AI Act evidence

This sequence produces a garak run that can be repeated, traced to a specific tool version and target, and tied to the risk categories it informs. Each step leaves a record that a compliance team or auditor can review later.

  1. Pin the garak version and environment

    The engineer who runs scans installs a specific garak release from PyPI with pip in a dedicated virtual environment, using Python 3.11 or newer. Record the exact version string, the Python version and the operating system in the scan record, because results can shift between releases. Confirm the version you pin against the release notes on GitHub before the first evidence run. The step is done when the version and environment details are written into the scan folder and a garak --version check matches the record.

  2. Write the target configuration file

    The engineer describing the system under test writes a YAML file for the target endpoint. For an application that is not a bare model, the REST generator connects to any endpoint that returns plaintext or JSON, so the file names the URL, request shape and response field. Where the target is a hosted model, use the generator for that provider and confirm the configuration keys in the user guide. Name the file for the system and version under test. The step is done when a short test prompt returns a response through the configured generator.

  3. Select probes by spec and tag

    The compliance or AI security lead chooses the probe set that maps to the EU AI Act risk categories in scope, using the tags that garak attaches to each probe. Record the exact selection expression and the list of probes it resolves to, so the same selection can be reproduced. Confirm the exact tag selection syntax and the current tag names in the garak user guide before writing the selection into the config, since command forms can change between releases. The step is done when a dry listing of the selected probes is saved with the config.

  4. Set generations and run settings

    The engineer sets the number of generations per prompt in the config. garak's default is 5 generations per prompt, and a probe is marked FAIL when any attempt produces undesirable output, so the setting directly affects the failure rate. Keep the value identical across runs you intend to compare, and write any change into the run notes with a reason. Set the run harness to the default probewise unless the review requires otherwise. The step is done when the final config file is saved and its settings are noted in the run record.

  5. Store the config and report together

    The engineer executes the scan and stores the resulting JSONL report, the garak.log file, the config file and the pinned version in one dated folder. The JSONL report holds every attempt and its evaluation, so it is the primary record of what the system produced. Store the target details, including model or endpoint identifiers, alongside the files. Access to the folder should follow your evidence retention rules. The step is done when the folder can be opened and the report reads back without loss.

  6. Run detectors and review evaluations

    The default probewise harness runs each probe with its recommended detectors, and the engineer checks that the detectors ran and produced evaluations for every attempt. Look for probes with errors, skipped detectors or empty outputs, because gaps in evaluation weaken the evidence. Where a detector result looks wrong, record the attempt identifier and the reason before changing anything. The step is done when the evaluation summary has no unexplained gaps or each gap has a written note.

  7. Record triage decisions against each finding

    The security lead reviews each FAIL and assigns a decision: accepted risk with an owner, mitigation planned with a ticket reference, or false positive with the evidence for that call. Link each decision to the attempt identifiers in the JSONL report and to the EU AI Act risk category it informs. Triage notes are kept in the same folder as the scan, so the record of what was found and what was done stays together. The step is done when every FAIL has a recorded decision and an owner, and the notes are signed off by the person accountable for the system.

How scan results flow into AI Act evidence

The flow starts with the target system and its endpoint, which garak reaches through a generator. Probes send attempts and detectors score the responses, and each run writes a JSONL report and a garak.log. The tags on each probe let you group results by EU AI Act risk category, but the triage record and the compliance file are built by your team. The dashed boundary marks what a scan cannot produce: classification, technical documentation and human oversight decisions. Check that each grouped result links back to the exact garak version and config used.

Scan outputs feed the compliance file, while classification, documentation and oversight come from outside the scan.

Questions teams ask before using garak for AI Act evidence

Does garak alone satisfy the testing duties in Article 55 of the EU AI Act?

No. A garak run is one input into adversarial testing evidence, and it does not discharge a provider's obligations on its own. Article 55 sits in the general-purpose AI model rules, which apply to providers of those models, with additional duties for models with systemic risk. Whether your organization is a provider of such a model, a provider of a system built on one, or a deployer depends on your role and the model, so confirm that classification with counsel before you plan the evidence. The Commission's AI Office enforces the general-purpose model rules. A scan report shows which probes failed, at what rate, and under which configuration. It does not show that the test plan fit the risks the Act names, that findings were assessed, or that fixes were retested. Read the consolidated text of the Act, map each obligation to a document, and then decide which garak outputs fill which gaps.

How much effort does a first AI Act mapping take?

No duration is set by the Act or by garak, so the effort depends on what drives it. The main drivers are the number of AI systems and models in scope, the number of endpoints each scan must reach, the number of configurations per system (model, system prompt, tools), whether each system has an owner who can explain its use, and how many reviewers must sign off on triage. Split the work into one-time items, such as role classification, control mapping, baseline configurations and report templates, and recurring items, such as reruns after model or prompt changes, triage review and evidence refresh. garak is licensed under Apache 2.0 and the maintainers describe it as free, so your costs are mainly people, compute and any model API charges. Ask for a written scope that lists each system, endpoint and reviewer, with the assumed effort and calendar dates for each phase.

Can our own team run the garak mapping without an outside partner?

Many teams can run the scans themselves, provided they have people comfortable with the command line, Python 3.11 or newer, and YAML configuration. garak is installed from PyPI and is developed on Linux and macOS, and its REST generator connects to any endpoint that returns plaintext or JSON once it is described in a short YAML file. Teams usually find the scan tooling easier than the classification and evidence work. That work includes deciding which Act obligations apply, writing triage criteria, handling harmful outputs safely, and producing records an auditor can follow. Before you start, check whether your team has someone who can read the Act closely, someone who can own the configuration history, and someone with time to review findings every time a model or prompt changes. If one of those is missing, a fixed-scope engagement can cover that gap while your team keeps running the scans.

What does the work need from our people and systems?

At minimum, the work needs three things. First, a system owner for each AI system who can describe its purpose, users, data, deployment and any tools it can call. Second, access to the endpoints to be tested, including test accounts, a staging environment where possible, and a network path from the scan host to each endpoint. Third, a named risk owner with the authority to accept, mitigate or defer each finding. You also need a change record that identifies which model versions, system prompts and tool permissions are live, because results only compare fairly when the target is known. Add a reviewer who handles redaction of harmful outputs before any report leaves the team. Name these people and their time commitments in the written scope, since a missing owner is one of the most common causes of delay.

How do the 2026 date changes affect our planning?

Regulation (EU) 2026/1744 amended the AI Act on 8 July 2026, was published on 24 July 2026 and entered into force on 27 July 2026. The high-risk rules in Chapter III, Sections 1 to 3, now apply from 2 December 2027 for Annex III systems and from 2 August 2028 for Annex I product systems. The earlier dates were 2 August 2026 and 2 August 2027. The general-purpose AI model rules have applied since 2 August 2025, and the prohibited practices have applied since 2 February 2025, so those duties are already in force. Planning should therefore separate the items that are already live from the high-risk items that have moved. Keep a regular scan cadence for systems in production now, and set high-risk evidence milestones against the new dates. Confirm the final dates against the consolidated text before you commit a schedule.

How do garak tags relate to the Act's risk levels?

garak tags label probes, so a tag tells you what a probe tests, while the Act sets obligations by risk level. The link between the two is an interpretation that your organization has to write down and defend. Start by listing the tags that your installed garak version exposes, and check each tag's meaning in the garak user guide. Then record, for each tag, which risk category or obligation it supports, why, and which systems it applies to. Store that mapping as a versioned file next to your scan configurations, so the reasoning can be reviewed when the Act, the guidance or garak changes. Do not treat a tag as proof of compliance. It only shows that a class of probes ran against a target.

What can DeployOpen provide for AI Act evidence, and what can it not provide?

DeployOpen plans and runs security testing for AI systems, including AI and agent security reviews, and can run garak scans against endpoints in infrastructure you control. It can also prepare systems, controls and evidence for a compliance assessment, and deliver findings with fixes and a retest. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those roles. Your legal team or counsel should decide which obligations apply to your organization and how the Act's roles map to your products. Most engagements are fixed-scope, so the scope, deliverables and timelines are agreed in writing before work starts, and a quote follows from that scope. DeployOpen does not publish a price list. Ask for the scope to name which systems are covered, which evidence is delivered, and which decisions remain with your organization.

How DeployOpen scopes garak evidence for AI Act reviews

DeployOpen approaches garak tags for EU AI Act risk categories as a scoped testing task: we first agree which systems, obligations and evidence the review needs, then run and document the scan against that scope. Each engagement ends with a handover your compliance and security teams can review and rerun.

How we scope

  • Confirm which AI systems and general-purpose models are in the review, and whether your organization is provider or deployer.
  • Map each garak tag group to the Act obligations and risk tier your counsel has identified for those systems.
  • Agree in writing which probes, targets, generations and retest points are in scope, since engagements are fixed-scope.

How we build

  • Set up garak on infrastructure you control, with a pinned version and a stored config for each target and probe selection.
  • Run the scan against the agreed endpoints and record JSONL reports, garak.log files and target details for each run.
  • Triage failing probes with your engineers, separating genuine weaknesses from detector noise that needs documented review.

How we hand over

  • Deliver a written mapping from each garak tag group to the evidence it supports and the obligations it does not close.
  • Document configs, reports, versions, triage notes and retention guidance so auditors and notified bodies can trace each result.
  • List the controls, process records and assessments that a scan cannot provide, with owners your team needs to confirm.

How we support

  • Rerun the agreed scan after model, prompt or configuration changes, and compare results against the earlier baseline.
  • Support ongoing scans and evidence upkeep as a retainer when the high-risk timelines in the amended Act require repeat testing.
  • Confirm with your legal and compliance advisers how garak output fits your conformity assessment route before relying on it.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.