Security and procurement reviews have caught up with AI-assisted delivery, and they now want evidence, not assurances. If your vendor can only offer assurances, the follow-up questions land with you. This article sets out five safeguards you can verify, the questions to put to any vendor in writing, and what a testable answer reads like.
Why we wrote this
Question 14 on the security questionnaire
The vendor security questionnaire lands on a Monday. It runs to 60 questions, and the security team wants it back before Thursday's steering committee.
The short answer: AI-written code is as safe as the process around it. That process is visible, so you can check it. Five safeguards tell you whether it exists: narrow agent permissions, a senior engineer who reviews and merges every change, enforced coding standards, a human gate before release, and a full audit trail.
Why "we use AI responsibly" won't pass review
That reply fails for a simple reason.
A control has three parts a reviewer can check: an owner, a trigger that makes it run every time, and evidence that it ran. "Human oversight throughout" has none of them. There's no named person, no fixed point in the process where oversight must happen, and no record to inspect.
Responsibility doesn't move to the tool either. The Australian Signals Directorate's Secure by Design guidance asks technology manufacturers "to assume utmost responsibility for the security of their products and services". So the useful question isn't whether a vendor uses AI, but whether their process would catch a bad change, and whether they can prove it.
Five safeguards to ask about
Each safeguard below is something you can ask for and verify. NIST's Secure Software Development Framework (SP 800-218) was written partly for this conversation: it says purchasers can use its common vocabulary "to foster communications with suppliers in acquisition processes".
1. Narrow agent permissions
Each AI agent has one job and only the access that job needs.
- What it looks like: a permissions list per agent. The agent that plans can't commit code, and the agent that builds can't push to the main branch.
- What good looks like: no agent holds production credentials, and no single agent can plan, write and ship the same change.
2. A senior engineer reviews and merges every pull request
A named, accountable person reads each change before it joins the codebase.
-
What it looks like: branch protection that blocks any merge without an approving review, from a reviewer senior enough to reject it.
-
What good looks like: changes kept small enough to read properly, and a reviewer who isn't also the person who prompted the change.
3. Coding standards and templated scaffolding
The written rules and starting templates every piece of code must follow, whoever or whatever wrote it.
-
What it looks like: a written standard, templates for common patterns such as logging and error handling, and automated checks that fail the build when code breaks the rules.
-
What good looks like: agents start from approved patterns instead of inventing their own, so sensitive code paths look the same across the codebase.
4. A human gate before release
A deliberate stop where a person decides whether a change goes live.
-
What it looks like: a release step no tool can clear on its own, with a named approver and a recorded decision.
-
What good looks like: the gate sits after testing and before release, and the approver can see what changed and what was tested.
5. A full audit trail
A record linking every change to its request, its author, its review and its release.
-
What it looks like: from any change in production,you can trace back to the ticket, the pull request and the approver.
-
What good looks like: the trail shows whether an agent or a person drafted each change, which is exactly what question 14 asks.
The questions to put in writing
|
Safeguard
|
Question to ask
|
Good answer
|
Red flag
|
|---|---|---|---|
|
Narrow agent permissions
|
Which agents touch our code, and what can each one do?
|
A per-agent permissions list; no agent holds production credentials
|
"The AI has full repository access, but we watch it closely"
|
|
Senior review of every pull request
|
Who approves each merge, and can that be bypassed?
|
A senior engineer reviews and merges every pull request; branch protection is enforced
|
"Developers check their own AI output"
|
|
Standards and scaffolding
|
What standards does AI-written code have to meet, and how are they checked?
|
Written standards, templated scaffolding and automated checks that block the build
|
"The model follows best practice"
|
|
Human gate before release
|
Who decides a change goes to production?
|
A named person, every release, with the decision recorded
|
"Anything that passes tests deploys itself"
|
|
Full audit trail
|
Can you show the trail for one change from last month?
|
They produce it quickly: ticket, pull request, reviewer, release
|
"We can pull that together if needed"
|
Ask for one real example of each, from a current project with client details removed. A vendor with these controls can show them. A vendor without them will describe them.
Then make the answers part of the contract. Attach the vendor's written replies to the statement of work, so the safeguards become obligations rather than sales-stage descriptions. If the team or tooling changes mid-project, ask for updated answers in writing instead of assuming the old ones still hold.
What the process looks like in practice
Here's how we run this at EB Pearls. Our Agentic Development Life Cycle (ADLC) has three parts working together.
What drives effort and cost
Safe AI-assisted delivery isn't the cheapest way to produce code. The saving comes from fewer hand-offs, not from skipped review. Five things move the effort most:
Regulatory scope
Review depth
Test coverage
Tool and data restrictions
Your own approval steps
How we approach it
NEXUS Studio
We'll also tell you where we'd recommend extra review, and when to commission an independent penetration test.
Every pull request is reviewed and merged by a senior EB Pearls engineer. Nothing reaches production without human approval.
Check your own problem
- Can they name the person who reviews and merges every pull request?
- Is there a release step that no tool can clear on its own?
- Could they show you the full trail for one change from last month?
If any answer is no, put the five questions in the table above to them in writing.
Frequently Asked Questions
Is AI-generated code less secure than code written by people?
What does a good AI code review process look like?
What is AI coding governance?
Who is accountable if AI-written code causes a problem?
Who owns code that an AI tool helped write?
Will an AI tool share our source code with its provider?
Should AI tools write authentication or payment code?
How long does it take to put AI coding safeguards in place?
What affects the cost of safe AI-assisted development?
Roshan drives digital transformation at EB Pearls, leveraging AI, blockchain, and emerging tech to enhance efficiency, productivity, and innovation.
Read more Articles by this Author