Skip to content

Esta página también está disponible en español.

Ver en español
Almenara
← Back to blog
6 minBuilt for: CISO, Compliance

AI guardrails: what should surround a model that reads your evidence

The model does not police itself

In many risk teams, AI already does the first read of certificates, policies and audit reports. It makes sense: a language model compares a forty-page document with what the supplier declared in the questionnaire in less time than it takes you to open it.

The problem is that a language model is poor at telling apart the text it should analyse from the orders it should follow. And its answer sounds just as confident when it is right as when it is wrong. So the useful question is not which model you use. It is what surrounds the model that does not depend on the model behaving.

That is what guardrails are: deterministic controls, outside the model, that limit what goes in, what can come back, who decides on what comes back and how much it can spend. OWASP's list of risks for applications built on language models and NIST's generative AI profile point the same way.

A PDF can give orders too

OWASP ranks prompt injection first, and the variant that matters most in third-party management is the indirect one. Nobody needs access to your system. It is enough for the document you hand the AI to carry a sentence addressed to it.

A document can carry text that a person does not see when reading it but that the model does receive. If that text tells the AI to accept the evidence, the risk is no longer a model error. It is deception.

Asking the model to flag anything odd helps, but it is not enough: the same text that manipulates it can ask it to stay quiet. So the defence cannot rely on the model alone. You need checks that are independent of it, and when something does not add up, the result is not accepted: it goes to a person.

Six guardrails worth demanding

  1. The minimum in every call. The model receives the evidence under review and the requirement it is compared with. Never data from another supplier, another assessment or another organisation in the same request. What does not go in cannot leak.
  2. Manipulation controls that are not the model. Everything the assessed party provides is data, never an instruction. If there are signs of manipulation, human review.
  3. Output with a fixed shape. The model answers in a closed structure and that structure is validated before anything is saved. What does not fit is neither silently dropped nor filled in on its own. It goes to review.
  4. AI proposes, a person decides. And whatever follows a rule is not computed by the model. An incident's severity, a notification deadline or a supplier's score come from an algorithm you can audit. If the model is not sure, its proposal is not presented as a conclusion.
  5. A ceiling on cost and size. OWASP calls it unbounded consumption. There have to be limits on spend and on the volume processed, and they have to be visible. A huge document or a chain of calls cannot turn into an invoice.
  6. Full traceability. Which model answered, with which version of its instructions, on which evidence, what it returned and who confirmed it. If an auditor asks why a certificate was accepted, the answer has to exist without being rebuilt.

None of the six depends on the model provider. That is why they hold just as well if you switch models tomorrow.

What the rules say

The AI Act does not usually classify this as high risk. Its Annex III covers, among others, the creditworthiness of natural persons, employment and critical infrastructure. Supplier assessment is not on the list. On top of that, the Digital Omnibus on AI, now in force, postponed the obligations for Annex III high-risk systems to December 2027. Those obligations not reaching you does not mean the risk is not there: it means the controls are yours to decide.

DORA does reach you, if you are a financial entity. Whoever provides your AI model is an ICT service provider. It goes in your Article 28 register of information, with its function, its country and where it processes data. And if it supports a critical or important function, also in your concentration analysis and your exit strategy.

And the GDPR is still there. If a piece of evidence contains personal data and you send it to a third party's model, that third party is a processor, with its contract and its international transfer if there is one.

Five questions for the supplier selling you AI

More and more suppliers are adding AI to their service. These five questions go in their assessment, alongside the usual ones.

  1. Which model does it use, and whose is it? Its own model and the third-party ones it calls. Each of those third parties is a fourth party of yours.
  2. What data of yours does it send, and is it used for training? The answer has to be in the contract, not just on the website. A clause is not verification, but without one there is nothing to verify.
  3. What controls does it have against prompt injection? If the only answer is that the model is very good, it has none.
  4. Who decides on what the AI says? If the service acts on its own, with no person confirming, ask what it can do and with which permissions. OWASP calls this excessive agency.
  5. Can you see what it did? A log of every call, with model, input, output and date, that you can request in an audit.

How we do it at Almenara

At Almenara, AI does the first read of every piece of evidence, compares it with what the supplier declared and makes a proposal. A person decides. The platform applies controls of the six kinds in this article, and an incident's severity, its deadlines and each supplier's score are computed by our own algorithms, not by the model. We do not publish how they work inside: what helps you assess them also helps someone get around them. If you are assessing us as a supplier, we will walk you through them in detail under confidentiality.

We do not use any AI provider with our customers' data. If you want to use a third-party model, you connect your own with your own key, and that processing is yours to decide and contract. The guardrails are the same with any model. And for your own AI suppliers, Third-party management comes with a predefined questionnaire with questions like these, which you can adapt like any other. The details of where your data lives are on the security page.

P

Product Team

Writes about how the platform is used day to day: questionnaires, evidence, risks and incidents.

New to this

Want to see it applied to your own suppliers?

A meeting with your own questionnaires and evidence, not a generic slide deck.

Request information