The verb of the texts: demonstrate
The GDPR does not stop at stating substantive obligations. It requires the controller to "be able to demonstrate" that they are actually met (Article 5(2) and Article 24(1)). In the financial sector, DORA provides that the ICT risk management framework "shall be subject to internal audit by auditors on a regular basis", and that those auditors possess "appropriate independence" (Article 6(6)). The NIS2 Directive, for its part, gives national authorities the power to impose on essential entities "regular and targeted security audits carried out by an independent body or a competent authority", as well as "ad hoc audits" after a significant incident (Article 32(2), points (b) and (c)). Finally, the AI Act requires automatic logging that ensures "a level of traceability of the functioning of a high-risk AI system" appropriate to its purpose (Article 12(2)).
DORA and NIS2 insist on the examiner's independence; the GDPR and the AI Act demand proof and traceability. But a legally independent auditor who relies only on exports supplied by the audited entity lacks the operational independence these texts have in mind. Her report carries an independent signature, but rests on sources wholly dependent on the auditee.
An audit's evidentiary value depends directly on the independence of its evidence. In the case of an AI agent, most of that evidence is produced by the very system being examined.
Audit by testimony or audit by proof?
In an engagement on an AI system, the file handed to the auditor usually has four items: a screenshot of an administration interface, a flat-file log extract, an internal policy document and a vendor attestation. They all share the same weakness: they come from the system's operator. An export can be redacted before delivery. A log stored in a database the administrator can modify attests only to what the administrator chose to leave in it. And a written policy states a desired rule without ever proving it is actually applied.
Once a system triggers actions in the information system, this gap becomes disqualifying. An agent that orders a transfer or changes a customer record leaves no copy of its act with the external examiner. The auditor has only what the company shows her.
Cryptographic practice has had the answer to this problem for over a decade. Published in June 2013, RFC 6962 (Certificate Transparency) defines how "publicly auditable, append-only, untrusted" logs work: verifiable by third parties, write-once by appending, and designed not to require trust in their host. The text notes that Merkle trees "avoid the need to blindly trust logs" and that any after-the-fact alteration is detected by comparing root hashes and consistency proofs. In addition, RFC 8032 (January 2017) specifies the EdDSA signature algorithm and its Ed25519 curve, through which the authenticity of a record is verified with the signer's public key alone. Although the first has "Experimental" status and the second "Informational" status within the IETF and the IRTF, these two public specifications are enough, once applied to an agent's decisions, to give the auditor a means of independent verification. Their technical implementation is detailed in our piece on tamper-evident logs and signed receipts.
The six checks an auditor must be able to make alone
1. The log is intact
Any deletion, insertion or rewriting of a past line must mathematically invalidate the chain. The auditor recomputes the integrity of the sequence directly on the raw file with her own verification tooling, without going through the operator's interface. Without this integrity check, all the following checks rest on a mere presumption of sincerity.
2. Every decision has an author
When a sensitive action is subject to human validation, the validator's identity must be cryptographically bound to the decision, not entered in a text column a database administrator can modify. The EU AI Act already enshrines this requirement for one particular class of processing: for the remote biometric identification systems in Annex III, point 1(a), logging must include "the identification of the natural persons involved in the verification of the results" (Article 12(3), point (d)). The text thus makes the identity of the person who validates an audit item in its own right.
3. Every decision shows its cause
DORA requires, in Article 17(2), that "root causes are identified, documented" when handling incidents. Article 23 of the NIS2 Directive likewise requires the final report to set out the root cause of the event. As for the guide ANSSI published in April 2024, it recommends logging that allows an event on the AI system to be "fully reconstructed" (our translation). But with an autonomous agent, the trigger of a tool call almost always lies in the content it has just ingested. An auditor can judge the legitimacy of a decision only if the log gives her back the exact state of the context the agent read at the moment it acted.
4. The rule applied is the one that was in force
Allowing or blocking a tool call makes sense only against the policy active at the second the action arose. A log that records the final verdict without referencing the exact version of the rule applied rules out any retrospective check. The auditor must be able to match each log entry to the rule then in force, to verify that the evaluation engine ruled in line with the declared policy.
5. Human oversight really happened
In its guidelines on automated individual decision-making (WP251 rev.01), the Article 29 Working Party states that any human oversight must be "meaningful, rather than just a token gesture". In an audit, this reality is measured on evidence: the approver's identity, the time between queuing and decision, the context shown on screen and the overall rejection rate. An overseer who approves hundreds of actions in a row in under two seconds each exercises only a façade of control, whatever the written procedure says. SentinelOS holds for a person the actions that matter and signs every decision. The drivers of this drift are analyzed on our page on human oversight and automation bias.
6. Nothing bypassed the control
This is the blind spot of any verification based only on trace files: a log faithfully attests to what passed through it, but says nothing about the flows that went around it. If the agent has a direct network or application access that escapes the cutoff point, the log remains mathematically intact while the audit's conclusions are false. The audit engagement must therefore inspect the interconnection architecture: list the agent's exit routes and check where the authentication secrets reside. In its April 2026 bulletin, CERT-FR, France's national computer emergency response team, explicitly names among the five major risks the "sharing of authentication secrets (login/password) with AI agents" (our translation). As long as the agent holds its own API keys or passwords, it keeps the technical ability to call a service outside the control point. Conversely, when the cutoff component alone keeps the secrets and executes the call only after validation, no bypass is possible.
What an auditor cannot verify, and what to audit instead
As ANSSI recalls in its April 2024 recommendations, "most generative LLM AIs have non-deterministic behavior, and they can also be subject to hallucinations" (our translation). No serious auditor can therefore certify that a model will produce tomorrow the same output as today. That is not the object of her engagement anyway: the audit does not concern the internal predictability of the neural network, but the tightness of the enclosure that governs it. What the examiner verifies is the deterministic mechanism that intercepts a prohibited action, and the verifiable proof that this barrier held.
Financial sector regulation complements this documentary requirement with an obligation to test. DORA requires that detection mechanisms be "regularly tested" (Article 10(1)) as part of a program that includes "scenario-based tests" as well as "penetration testing" (Article 25(1)). Transposed to an autonomous agent, a scenario test consists of submitting booby-trapped content that reproduces an attempted hijack, then checking in the signed log and on the target system that the illegitimate call was indeed blocked or held for human validation. The traces from these test campaigns then constitute enforceable audit evidence on a par with the production logs.
Who keeps the audit evidence?
Article 26(6) of the AI Act requires deployers to keep the logs generated by their high-risk systems "to the extent such logs are under their control", for a minimum of six months. The qualifier the legislator chose has a direct practical consequence: when execution traces stay hosted with a third-party provider with no direct control by the user company, the retention obligation is emptied of substance and the auditor loses any guarantee on the independence of the source. To allow independent verification, logs and signed receipts must sit inside the perimeter the company controls, while remaining verifiable offline by a third party. The architectural implications of this principle are detailed on the page Nothing leaves the company.
The auditor's grid
| The auditor verifies | The evidence she must receive | Without trusting the operator, because | What SentinelOS does |
|---|---|---|---|
| The log is intact. | The complete record. | The cryptographic chaining can be recomputed. | Every decision is written into an append-only chained log, never rewritten. |
| Every decision has an author. | One signature per decision. | It is verified with the public key alone. | An Ed25519-signed receipt per decision, verifiable offline with the public key alone; the auditor checks the evidence without depending on you. |
| Every decision shows its cause. | What the agent had read. | The context is in the signed entry itself. | The log records what the agent had in context at the moment it acted. |
| Human oversight is real. | Who ruled, when, and on what data. | The approval is recorded by name. | Sensitive actions are held for a person; their decision is signed in their name. |
| Nothing bypassed the control. | The architecture diagram of the agent's flows. | The points of passage can be checked on the architecture. | Sits inline between your agents and every resource they call on. |
| The rule applied is the one in force. | The active policy and the matching log entry. | She checks the rule directly against the signed trace. | Evaluates every action against the policy in force before it executes. |
| Measurement comes before enforcement. | The history of the observation phase. | The traces from before blocking was turned on are kept. | Offers a listen mode that observes and logs every flow without blocking, before the move to active inline control. |
Two tools extend this grid. The EBIOS Risk Manager method, ANSSI's risk-analysis method, gives the risk analysis framework upstream of the audit: its application to an agent describes the five workshops and the deliverables to assemble. And when the agent comes from a vendor, the audit starts with its answers: the vendor security questionnaire lists the questions to ask before signing.
What to prepare before the auditor arrives
- They qualify the enforceability of each item. For each element meant for the audit file, they check whether an internal administrator has the technical power to alter it after the fact. Any trace that can be modified undetected is treated as a mere statement.
- They sign individual decisions rather than monthly summaries. A receipt signed on each tool call can be verified mathematically by a third party; a summary statement generated at month end attests only to the moment it was exported.
- They tie cause, rule and verdict together in one trace. Recording together the context the agent read, the version of the rule evaluated and the decision taken makes it possible to replay and justify each ruling.
- They audit internally how real their human oversight is. By tracking reading time, refusal rate and the clarity of the information shown to validators, they correct reflex approvals before the external examiner arrives.
- They lock the agent's exit paths. Every call to an external tool or service must pass through the control point, which alone keeps the matching authentication secrets.
- They archive penetration test campaigns as audit evidence. Injection and hijack scenarios replayed periodically against the agents produce receipts kept alongside the production logs.
SentinelOS judges every action of your agents before it leaves, holds the ones that matter for a person, and signs every decision. Installed on your premises.
Discover SentinelOSSources
- Regulation (EU) 2016/679 (GDPR), Articles 5 and 24. eur-lex.europa.eu
- Regulation (EU) 2022/2554 (DORA), Articles 6, 10, 17 and 25. eur-lex.europa.eu
- Directive (EU) 2022/2555 (NIS2), Articles 23 and 32. eur-lex.europa.eu
- Regulation (EU) 2024/1689 (AI Act), Articles 12 and 26. eur-lex.europa.eu
- Article 29 Working Party, Guidelines on Automated individual decision-making and Profiling for the purposes of Regulation 2016/679, WP251 rev.01, February 6, 2018. ec.europa.eu
- CERT-FR, "Vulnerabilities and risks of agentic AI automation products on workstations" (in French), bulletin CERTFR-2026-ACT-016, April 13, 2026. cert.cyber.gouv.fr
- ANSSI, "Security recommendations for a generative AI system" (in French), April 29, 2024. messervices.cyber.gouv.fr
- B. Laurie, A. Langley, E. Kasper (Google), RFC 6962, "Certificate Transparency", IETF, Experimental category, June 2013. rfc-editor.org
- S. Josefsson (SJD AB), I. Liusvaara, RFC 8032, "Edwards-Curve Digital Signature Algorithm (EdDSA)", IRTF, Informational category, January 2017. rfc-editor.org
