# Should governments require security testing before AI is released?

> Cars, medicines and aircraft are tested before they reach us. AI agents mostly aren't, by law. What testing exists in November 2026, what is binding, what is voluntary, and what a sensible rule could look like.

By Ibrahim Abdullah · Published 2026-11-16T20:23:40+03:00 · [TodayAI](https://todayai.tech/articles/mandatory-ai-security-testing-before-deployment)

## Quick read

No major country requires independent, government-run security testing of AI before release. The EU does require the makers of its most powerful models to test them themselves. UK and US government labs test models by voluntary agreement. California and New York require transparency, not testing.

- In force: the EU's duty for the biggest models to run evaluations and adversarial testing, and California's SB 53, which requires published safety frameworks rather than tests.
- Delayed or not yet started: the EU's high-risk system rules (now December 2027) and New York's RAISE Act (January 2027). A US federal audit idea is only a draft.
- The real debate is what to test, who tests it, and how to avoid a box-ticking exercise that helps big firms and misses real harm.

**What should I do?** Don't treat 'tested' as 'safe'. Ask what was tested, by whom, and whether it covered agents using tools. Whatever the law says, limit what any agent can access.

Before a new car goes on sale, someone independent has crashed it. Before a medicine reaches a pharmacy, regulators have seen trial data. For AI agents that can send emails, move money and change code, there is no equivalent in most places.

This is part five, the last in our series on AI agents and safety. Should governments change that?

## What "security testing" means for AI

A few terms first.

**Red-teaming** means hiring people, or using other AI, to attack a system on purpose and find where it breaks. **An evaluation** (an "eval") is a repeatable test that scores a model on something, such as whether it can help write malware. **Adversarial testing** is the umbrella term for testing under attack. **Third-party testing or auditing** means someone outside the company does it.

For agents, the tests that matter most are about behaviour:

- **Misuse and cyber tests.** Can the model help a criminal break into systems?
- **Dangerous-capability tests.** Does it give real help with weapons of mass harm?
- **Prompt-injection resistance.** Do hidden instructions in an email or web page hijack it? We covered this in [part two](/articles/ai-agents-sensitive-systems-authorization).
- **Staying in scope.** Does it do only what it was asked? This is the test OpenAI's GPT-6.1 Astra failed.

That last case is the best argument that testing works. [TheWrap reported](https://www.thewrap.com/industry-news/tech/openai-shelves-newest-ai-model-safety-concerns/) that on 28 September 2026 OpenAI confirmed it would not release the model, after its head of safety systems said it didn't meet the bar on staying within scope and authorisation. See [GPT-6.2 Astra: what we know](/articles/gpt-6-2-astra-what-we-know). But note that this was the company marking its own homework, by choice.

## What exists, by status

The word "required" hides several different things, so we've split them out.

![A table of who requires AI security testing as of 16 November 2026: EU rules for the biggest models are in force; EU high-risk system rules are delayed to December 2027; California SB 53 is in force since 1 January 2026 and requires frameworks, not tests; New York's RAISE Act starts 1 January 2027; UK and US government testing is voluntary; a US federal draft is only a proposal; labs' own safety policies are voluntary.](/images/articles/ai-models/ai-security-testing-rules.svg)

**In force: the EU, for the biggest models.** Under the AI Act, makers of general-purpose models with "systemic risk" must evaluate them and run adversarial testing. [Article 55](https://artificialintelligenceact.eu/article/55/) says this must follow standardised protocols reflecting the state of the art, with the tests documented. "Systemic risk" is presumed for models trained with more than [10^25 operations](https://artificialintelligenceact.eu/article/51/) of computing power. These duties began on 2 August 2025, and [the Commission's enforcement powers, including fines, started on 2 August 2026](https://digital-strategy.ec.europa.eu/en/policies/guidelines-gpai-providers). Note the catch: the company tests its own model. There is no mandatory outside sign-off.

**Passed, but delayed: the EU's high-risk systems.** These are AI uses such as hiring or credit scoring. They need a conformity assessment, a check that a product meets the rules before sale. Mostly this is [an internal check by the provider](https://artificialintelligenceact.eu/article/43/), with an outside "notified body" required only in some cases. A "Digital Omnibus" law, Regulation (EU) 2026/1744, [entered into force on 27 July 2026](https://www.hunton.com/privacy-and-cybersecurity-law-blog/eu-digital-omnibus-on-ai-enters-into-force). It moved the main high-risk date to 2 December 2027, and to 2 August 2028 for AI built into regulated products. It is a delay, not a cancellation.

**In force, but about disclosure: California.** SB 53, signed on 29 September 2025, covers developers of models trained with more than 10^26 operations. Big ones must publish a safety framework and, before releasing a model, a report summarising their risk assessments. [FPF's explainer](https://fpf.org/blog/californias-sb-53-the-first-frontier-ai-law-explained/) notes the final bill dropped an earlier proposal for annual independent audits. It [took effect on 1 January 2026](https://natlawreview.com/article/californias-sb-53-understanding-obligations-effect-now-and-2027). **New York's RAISE Act** is [similar, and starts on 1 January 2027](https://www.wiley.law/alert-New-York-Finalizes-RAISE-Act-for-Frontier-AI-Models-Law-Takes-Effect-January-1-2027).

**Voluntary: government labs.** The UK's AI Security Institute says it [tests leading systems before release](https://www.aisi.gov.uk/about) through partnerships with major companies. In the US, the Center for AI Standards and Innovation (CAISI, formerly the US AI Safety Institute) signed [agreements with Anthropic and OpenAI in 2024](https://www.nist.gov/news-events/news/2024/08/us-ai-safety-institute-signs-agreements-regarding-ai-safety-research). [Winbuzzer reported](https://winbuzzer.com/2026/05/06/caisi-expands-us-access-to-frontier-ai-model-testing-xcxwbn/) in May 2026 that Google DeepMind, Microsoft and xAI joined, and that participation stays voluntary.

Voluntary means it can be skipped. The Financial Times reported, [as summarised by TNW](https://thenextweb.com/news/anthropic-mythos-5-1-uk-aisi-pre-release-testing-withheld), that Anthropic did not give the UK institute its Claude Mythos 5.1 model before the 1 September launch, the first time a major model had been kept from it. Anthropic gave comparable US organisations access and has not publicly explained the decision. A UK government spokesperson said the institute still works closely with industry, "including Anthropic", and noted it had tested OpenAI's GPT-6 Astra before release. A law firm note says [the UK has no AI bill](https://www.lewissilkin.com/insights/2026/09/14/ai-judgment-day-on-the-horizon-while-uk-lawmakers-play-catch-up) and expects none before late 2027 at the earliest.

**Proposal: US federal audits.** A bipartisan House [discussion draft](https://www.govinfosecurity.com/bipartisan-ai-bill-targets-frontier-labs-state-regulators-a-31903) from June 2026 would require large developers to undergo twice-yearly audits by independent verifiers. It has not been formally introduced.

**Voluntary: company policies.** Labs publish their own rules. Anthropic's [Responsible Scaling Policy](https://www.anthropic.com/news/announcing-our-updated-responsible-scaling-policy) (we read the October 2024 version) ties deployment to capability evaluations. OpenAI has a Preparedness Framework. These are real, but each company writes and can rewrite its own.

## The case for requiring tests

- **Agents act in the world.** A wrong answer is embarrassing. A wrong action can be costly, as [part one](/articles/ai-agents-vs-chatbots) explained.
- **Precedent.** We already test cars, drugs and aircraft because the people harmed can't inspect the product themselves.
- **Self-grading is conflicted.** A firm racing to launch has reasons to pass its own tests.
- **Voluntary can vanish.** The Mythos report shows how access depends on goodwill.
- **Liability needs a yardstick.** As [part four](/articles/who-is-responsible-when-ai-agent-causes-damage) found, courts have little to go on. A required test gives them a standard of care.

## The case for caution

- **Tests miss real-world harm.** A model can pass in a lab and fail on the messy web. Prompt injection may never be fully fixed, so no test can prove an agent safe.
- **Who is qualified?** Few outside groups can test frontier models well, and governments compete with labs for the same experts.
- **It could favour giants.** Compliance costs are easier for a large firm to absorb. Rules can also be shaped by the companies they cover, known as regulatory capture.
- **Open-weight models.** If a model's files are free to download, a pre-release check is hard to enforce, and anyone can later remove its safeguards.
- **What exactly to test?** Agents are used in countless ways. A test for one setup says little about another.
- **Speed.** Models change every few weeks. A slow approval process could be obsolete on arrival.

## What a sensible version might look like

No slogan, just trade-offs.

1. **Scale it to risk.** Heavy testing for the most capable models and for agents that touch money, health or infrastructure. A light touch for a recipe bot.
2. **Independent for the top tier.** The EU's self-testing is a start, but the draft US idea of verified outside auditors is closer to how aviation works. The cost is a need for many more qualified testers.
3. **Test the whole system.** Cover the model plus its tools and permissions, since that is where agent failures happen. The defences in [part two](/articles/ai-agents-sensitive-systems-authorization) still apply.
4. **Publish results.** Transparency, as in California, lets outsiders check claims without slowing launches.
5. **Keep watching after launch.** Pair testing with incident reporting, the subject of [part three](/articles/should-ai-companies-report-security-incidents), because pre-release tests will miss things.
6. **Review often.** Build in updates so rules don't freeze today's tests.

Even this has costs: delay, expense and a false sense of safety. The question isn't "test or don't". It's who tests, for what, and what happens when a model fails.

## The series in brief

1. [AI agents vs chatbots](/articles/ai-agents-vs-chatbots): agents act, which raises the stakes.
2. [Sensitive systems and authorisation](/articles/ai-agents-sensitive-systems-authorization): over-broad access, hidden instructions and overreach.
3. [Should companies report incidents?](/articles/should-ai-companies-report-security-incidents): disclosure rules.
4. [Who is responsible?](/articles/who-is-responsible-when-ai-agent-causes-damage): liability.
5. This article: testing before release.

## What it means for you

Law is moving slowly, and the strongest checks today are voluntary. If you build agents, test them yourself against injection and overreach, and write down the results. If you use them, treat "tested" as a starting claim and ask by whom. Either way, the safest protection is still the simplest: give an agent only the access you can afford to lose.

Source: https://todayai.tech/articles/mandatory-ai-security-testing-before-deployment
