Blog/AI Security

Running an authorised AI red-team and evaluation programme in-house

Set up a governed programme that tests your own AI features against misuse before and after release, with scope, owners, evidence and fix tracking.

By Sagar Makker · 8 min read · October 2026
Security Surveillance
In short
Test only systems you own or are authorised in writing to test, with a signed scope.
Combine a repeatable evaluation suite with periodic expert red-team exercises.
Track every finding to a fix and a retest, and rerun the suite on every release.
The problem

This is for CISOs, CTOs and AI product owners who already have AI features live or close to launch. Ad hoc testing, where someone tries a few tricky prompts before a demo, misses the failures that matter and leaves no evidence for auditors or customers. A structured programme gives you repeatable checks on every release plus deeper reviews by authorised people. This post lays out how to set one up within your own organisation, with scope, rules, owners and a clear path from finding to fix.

A company launches a customer chatbot after a week of informal testing by the product team. Within a month, support staff notice it occasionally discloses internal escalation notes and agrees to refund requests outside policy. Nobody can say whether these were tested, because there is no record of what was tried, by whom, or which version was checked.

When a large customer sends a security questionnaire asking how the AI feature is tested for misuse, the team scrambles. Findings from earlier informal sessions sit in chat threads with no owners. Fixes were made to prompts, but nobody reran the original cases, so some issues quietly returned in the next release. Testing happened, but it was not a programme.

Why it happens
01Testing is informal, done by builders rather than an independent authorised group
02No written scope, rules of engagement or sign-off from the system owner
03No repeatable evaluation suite, so regressions return unnoticed after changes
04Findings live in chats and are never tracked to a fix and retest
05Testing happens once before launch and never again as models and prompts change
How to fix it
1
Write scope and rules of engagement
The CISO and system owner sign a document naming the AI features in scope, environments allowed, data that may be used, who may test, and what is off-limits. Only systems you own or have written authorisation for are included.
2
Define the risks you test for
Security and product owners agree a risk list for each feature: data disclosure, policy-breaking actions, harmful or off-brand content, tenant boundary breaches and unsafe tool use. Each risk gets a pass or fail criterion the team can judge consistently.
3
Build a repeatable evaluation suite
Engineering turns test cases for each risk into an automated suite run in a staging environment against every release. Cases come from past findings, real support tickets and policy documents. Failures above a threshold you set block the release.
4
Schedule expert red-team exercises
At a cadence you choose, and before major launches, an authorised internal team or contracted firm runs a time-boxed exercise within the signed scope. They record each test, result and evidence in a shared findings tracker.
5
Track findings to fix and retest
Each finding gets a severity, an owner and a target date. After the fix, the original test is rerun and added to the automated suite so the issue cannot return silently. The CISO reviews open findings monthly.
Worked example
A lending platform's borrower assistant review

A digital lender in Gurugram ran a borrower-facing assistant that answered loan status and repayment questions. Testing had been informal. The risk head and CTO signed a scope covering the assistant in staging only, with synthetic borrower data, and named an internal four-person review group. They defined risks such as revealing another borrower's details, promising waivers outside policy and giving unapproved financial advice. Engineering built an evaluation suite from those risks and past support escalations. The first structured exercise surfaced several policy-breaking responses, each tracked to an owner and fixed. After that, every release ran the suite automatically, regressions were caught in staging, and the lender could answer partner due-diligence questions with dated test records.

Common mistakes
×
Testing without written authorisation
Even internal testing needs a signed scope so everyone knows what is allowed and evidence is defensible. Never test third-party services or systems you do not own without their written permission.
×
Testing in production with real data
Live testing can harm real customers and expose personal data. Use staging with synthetic or properly masked data, and keep any production checks read-only and pre-approved.
×
Fixing findings without adding regression tests
Prompt tweaks drift and model updates change behaviour. Turn every confirmed finding into an automated case so the suite grows and the same issue cannot quietly return.
Where an AI agent helps
Input
Signed scope, risk criteria, evaluation cases and the staging endpoint
Agent does
Runs the evaluation suite on each release, scores results and drafts findings with evidence
Human gate
Security lead confirms findings, severity and any release-blocking decision
Outcome
Release test report, findings tracker updates and retest results
Checklist
Get a signed scope and rules of engagement
Define pass and fail criteria for each AI risk
Build an evaluation suite that runs on every release
Schedule expert red-team exercises at a set cadence
Give every finding an owner, severity and date
Add each fixed finding to the regression suite
What to measure
Evaluation suite pass rate per release
Open findings by severity
Median days from finding to verified fix
Regressions caught before production
Questions
Do we need an external firm, or can we red-team internally?

Both work. Internal teams know the product and can test often; external testers bring fresh perspective and independence for major launches. Whoever tests needs written authorisation, a clear scope and a shared findings tracker.

How often should we rerun AI evaluations?

Run the automated suite on every release and whenever the model, prompts, retrieval sources or tools change. Schedule deeper human exercises at a cadence you set, and before any major feature launch.

What evidence should we keep for auditors and customers?

Keep the signed scope, test cases, dated run results, findings with severity and owner, fix records and retest outcomes. Store them where they can be exported for due diligence without rebuilding the story later.

Can we test AI products from vendors we use?

Only with the vendor's written permission and within their published or agreed rules. Without that, limit yourself to reviewing their documentation, contracts and security reports, and test your own integration layer instead.

Keep reading
All posts →
Computer CodeAI Security
A practical AI security checklist before you launch an AI feature
5 min readRead →
Cctv CameraAI Security
Prompt injection explained for business leaders, and how to reduce risk
5 min readRead →
Concrete WallAI Security
Keeping private documents private in RAG and AI search tools
5 min readRead →
Next step

Want this fixed in your business?

Send the workflow. You get a scope and a fixed price within two working days — or a straight answer that it isn't a fit.

Secure by default · find → fix → verify · authorised scope only
Send a brief →enquiry@xdqlabs.com