The short version
- A security review of AI-built software is a separate check, done by someone or something other than the author, that looks for ways the product could be misused or broken into.
- Ask three things before launch: what was checked, what was not checked, and who fixes what turns up.
- The areas that matter most are sign-in, who can see whose data, payments, stored secrets and the outside packages the software relies on.
- Automatic AI security reviews help but can miss problems, and a review of the code alone does not test the live product.
- You do not need to read code to run this well: you need written findings, a clear list of gaps and a decision on each one.
On this page
- The short version
- Is AI-written code secure?
- What does a security review actually look at?
- Which parts of my product need the closest look?
- What can automatic AI security reviews do?
- What questions should I ask before launch?
- How can I check this myself without reading code?
- How does Atlas handle security review?
- Conclusion
- Questions people ask
If an AI coding agent builds your product, how do you know it is secure? You ask for a security review: a separate check, by a different reviewer than the one who wrote the code, that looks for ways the product could be misused or broken into. You do not need to read code to run it well. You need to ask the right questions and insist on written answers.
This guide explains what a security review covers, what it cannot cover, and the questions a founder, product owner or tester can ask.
Is AI-written code secure?
Sometimes, and not always. AI-written code is not secure or insecure by nature. It is code, and like code written by people it can contain mistakes. The difference is speed: an agent can produce a lot of working-looking software quickly, so there is more to check in less time.
Anthropic is direct about who carries the responsibility. Its Claude Code security page says: "You're responsible for reviewing proposed code and commands for safety before approval." It also says that while its protections "significantly reduce risk," no system "is completely immune to all attacks."
So the working assumption should be: the agent can help find problems, but a person owns the decision to ship.
What does a security review actually look at?
A security review asks one question: if someone wanted to misuse this product, where could they get in? A common reference for the answers is the OWASP Top 10:2025, a public list of the most common kinds of web application weakness. Its ten entries are:
- Broken access control
- Security misconfiguration
- Software supply chain failures
- Cryptographic failures
- Injection
- Insecure design
- Authentication failures
- Software or data integrity failures
- Security logging and alerting failures
- Mishandling of exceptional conditions
You do not need to memorise these. Here is what a few of them mean in everyday terms:
- Broken access control: a customer can see another customer's invoices by changing a number in the web address.
- Authentication failures: sign-in that can be guessed, bypassed or never expires.
- Injection: a form field that lets an attacker slip in instructions the software then obeys.
- Supply chain failures: the software relies on outside packages (ready-made code libraries), and one of them has a known flaw.
- Security misconfiguration: something left switched on that should be off, such as a test account or a public storage folder.
A good review checks these against your product, not in general.
Which parts of my product need the closest look?
Not every screen carries the same risk. Ask for extra attention on:
- Sign-in and sessions. Who gets in, and how long do they stay in?
- Who can see whose data. If you have more than one customer or role, test that each can only reach their own.
- Payments. Anything that moves money or stores payment details.
- Secrets. Passwords and keys the software uses to talk to other services. They should never sit in the code itself.
- Outside text. Anything the software or the agent reads from the outside world, such as a web page or an email, which could carry hidden instructions.
- Packages. The ready-made code libraries your product depends on.
What can automatic AI security reviews do?
Claude Code has tools that review code for security automatically. Anthropic's security guidance plugin is one. According to its documentation, it reviews Claude's own changes at three points: on each file edit, at the end of each turn, and on each commit or push Claude makes. The first is a quick pattern match with no AI involved. The end-of-turn and commit reviews run as "a separate Claude call with a fresh context," so the reviewer does not grade its own work. Anthropic lists problems it can catch, such as authorization bypass, injection and weak cryptography.
There is also an on-demand command, /security-review, which runs a security pass over the changes on the current branch.
Useful, but read the limits Anthropic states:
- The plugin does not block anything. Its findings go back to the writing Claude as instructions, and Anthropic says "the review model can miss issues."
- It is described as "one layer of defense in depth, not a complete security solution."
/security-reviewcovers only the changes on the current branch, and reviews read the source code, "not a running site or deployed service."- The end-of-turn and commit reviews spend usage that counts toward your plan like any other Claude request, so security checking is not free.
In plain terms: an AI reviewer reads the code carefully, but nobody has yet tried to use the live product the way an attacker would. Keep that gap in mind when someone says "it passed review."
What questions should I ask before launch?
Use this list with your agency, your engineer or your AI team. Ask for the answers in writing.
- Who or what reviewed the security, and was it someone other than the author? A review by the same session that wrote the code is weaker.
- What exactly was checked? Ask for a list of areas: sign-in, data access, payments, secrets, packages.
- What was not checked? This is the most useful question. An honest answer names gaps such as "the live site was not tested" or "payments not reviewed."
- Were there findings, and what happened to each? Every finding should be fixed, accepted with a reason, or postponed with a date.
- Are passwords or keys stored in the code? They should not be.
- Do the packages have known serious problems? Ask for a scan result, and for who looks again after launch.
- Who decides to ship if something is open? You should know, and it should be a named person.
If an answer is vague, treat it as "not checked."
How can I check this myself without reading code?
You can do a fair amount without reading any code:
- Try the boundaries as a tester. Sign in as one customer and try to open another customer's page. Try an expired session. Try an action your role should not allow.
- Read the findings, not the code. Ask for each finding in a sentence: what the problem was, how bad it is, who fixed it, how it was re-checked.
- Look for a coverage view. A good review shows what has never been reviewed, not only what passed.
- Re-check after changes. Security is not a one-time stamp. When sign-in or payments change, those parts need a fresh look.
- Keep a human decision at the gate. Releasing to real customers should wait for a person.
How does Atlas handle security review?
Atlas, a team of AI engineers built on Claude Code, reviews every build as it finishes, and before a production release it reviews everything going out together, including security when switched on. A change touching sign-in, payments or stored secrets gets a security look at once. Its Security screen leads with what has never been reviewed and keeps a coverage ledger of 162 attack classes. Its security scan looks for passwords or keys committed in what changed on main and for high or critical package advisories. Production go-lives still wait for you. The Atlas home page is at /atlas/.
Conclusion
You cannot outsource responsibility for security, but you can run the process without writing code. Ask who reviewed, what was checked and what was not. Focus on sign-in, data access, payments, secrets and packages. Treat automatic AI reviews as a helpful layer, not a guarantee, and keep a person in charge of the final go-ahead. When the answer to "what was not checked?" is written down, you can decide with open eyes.
Questions people ask
Is AI-generated code secure?
It can be, but it is not secure by default. It can contain the same kinds of mistakes as human-written code, so it needs a separate security review before real customers use it.
Do I need to read code to do a security review?
No. You can ask what was checked and what was not, read findings written in plain sentences, and test the product's boundaries yourself, such as trying to open another customer's data.
Can an AI security review replace a human one?
Not fully. Anthropic says its security plugin's review model can miss issues and that it is one layer of defense, not a complete solution. A person should still decide whether to ship.
What should I check first in AI-built software?
Start with sign-in, who can see whose data, payments, stored secrets and the outside packages the software relies on. These are the areas where mistakes hurt most.
Does a code review test my live website?
Not on its own. Anthropic notes its security reviews read the source code, not a running site or deployed service, so testing the live product is a separate step.
Sources
Researched and drafted with Claude, then checked against the sources above. Atlas is an independent product, not affiliated with Anthropic or OpenAI. Claude and Claude Code are trademarks of Anthropic; Codex is a product of OpenAI.