MirLabs / The blog / AI / Security
An AI agent gets crash-tested again at every release
A reworded prompt, a new model, one more tool: it is no longer the same AI agent. CrashMire crash-tests it before every release and blocks a regression.
A customer service AI agent changes all the time. Someone rewords its prompt to make it friendlier. The provider ships a new version of the model. It gets one more tool: refunding, changing an address, sending an email.
Each of these changes looks harmless. None is. One sentence fewer in the prompt, and the rule "never refund more than €50" no longer holds against a customer who insists. A new model, and the agent that used to refuse politely starts obeying an instruction hidden in a message.
Nobody puts application code into production without tests. The behaviour of an AI agent with its hands on real tools, they do. Nobody is ready for this.
A crash test is a snapshot
I wrote it a week ago: a CrashMire crash test says what held and what gave way, at a given moment. It is a snapshot. It is valid for the agent tested, with that prompt, that model and those tools.
As soon as one of the three changes, the snapshot is out of date. The only serious answer is to run the test again at the exact moment the agent changes, that is, at release time.
The check at every release
That is the "Check at every release" option of CrashMire's subscription plans. The principle is the one already applied to code:
- Your deployment pipeline starts the crash test as soon as the agent's prompt, model or tools change.
- CrashMire replays the same crash test as the monthly re-test: same agent, same tests, same models, no new interview.
- It compares with the agent's previous crash test: what is new, what was fixed.
- The verdict comes back:
passorfail. Onfail, the release stops.
In practice it is a small API. Three calls, one key:
POST /api/gate/v1/runs {"agent": 12, "note": "commit 3f2a"}
→ 202 {"run": 61, "status": "running", "status_url": "…"}
GET /api/gate/v1/runs/61?fail_on=high
→ {"status": "done", "verdict": "fail", "new": […], "fixed": 2,
"by_severity": {…}, "compared_with": "CM-2026-0057", "report_url": …}
For GitHub Actions, I wrote an action that does all the work: it starts the crash test, waits for the verdict (one check a minute, 90 minutes at most by default), and fails the job if the agent has regressed. When the report is delivered, its link shows up in the job log.
What blocks the release?
You choose, with a single parameter, fail_on:
new(default): blocks only on a flaw that did not exist at the previous crash test. It is the setting for a team that fixes as it goes: you do not block deliveries for a known, tracked defect, but you let no new one in.high: blocks as soon as a serious or critical flaw remains, old or new.critical: blocks only on a critical flaw.any: blocks on the slightest flaw.
The default is deliberately the most useful day to day. A regression is exactly what you want to catch: the agent held yesterday, it gives in today, and the only thing that changed is your last commit.
Why it is solid
An API that can start crash tests on a contract is a target. It is locked down accordingly:
- The key is shown only once, to the contract signatory, in their client space. CrashMire keeps only its SHA-256 fingerprint: even with the database, you cannot recover it. The signatory can replace it at any time.
- Twenty attempts with a wrong key from the same address within an hour, and that address is refused for the hour.
- Only one crash test at a time per agent. If one is already running, the API returns its number instead of starting a second.
- Caps per contract: by default ten crash tests a day and thirty over thirty days. A badly written loop in a pipeline cannot run away.
- A contract only sees its own crash tests. A number belonging to another contract answers "unknown".
And the agent itself is always tested as in a regular crash test: with fictitious data, without access to your systems.
Crash tests of AI agents are a public good
AI agents are being put in front of customers, with the right to refund, change a record, write in the company's name. An agent without safeguards, pushed by someone patient, can grant what it should never grant, or let out information that was not meant to leave. And every update can reopen a door you thought was shut.
You would not let a car go without checking the brakes after every repair. An agent that touches customers' money or data deserves the same rule: no release without a crash test.
Your turn
The clearest way is to see the difference between an untested agent and one that went through the crash test. On the CrashMire demo, every message you write goes to two Léa at once: the original Léa, whose rules live only in her prompt, and Léa after crash test, same model, same tools, with a corrected prompt and locks in code. Try to make them give in, and compare their answers side by side.
If you have an agent in production, or soon will, look at the pricing: the check at every release comes on top of the subscription plans.
Read next
LocService: a cyberattack copied links to rental files
The rental platform LocService, published by Gobocom, says it suffered an intrusion detected on 30 October: names, contact details, invoices and share links to DossierFacile rental files were copied. ID documents and supporting papers were not copied directly.
Ipsos: the Qilin group claims a data theft, ten days after an acknowledged intrusion
Ipsos acknowledged an intrusion into an internal system on 16 November, with no disruption to its business. On 23 November the Qilin group listed it on its site and showed five screenshots of documents. Nothing confirms that these documents come from the acknowledged intrusion.
1Password: a stolen GitHub account was used to copy customer data, without touching the vaults
1Password says an attacker took an employee's GitHub account, slipped malicious code into services and copied customer data: login addresses, identifiers, public keys, some tokens. According to the company, the vaults and master passwords were not reached.