WZ-IT Logo

AI code audit, code review or penetration test: which one fits?

Timo WevelsiepTimo WevelsiepUpdated: 31.08.2026

Editorial note: Versions, commands and prices may change. Please verify critical steps independently before production use. This guide does not replace individual consulting.

Do you need a one-time assessment or continuous oversight for an AI-built application? WZ-IT provides the Production Readiness Audit as a baseline and the AI Code Review Retainer for recurring human reviews.

AI code audits, ongoing code reviews and penetration tests frequently appear next to each other in search results. They do not solve the same problem. The most important distinction is not the tool being used, but the statement the engagement should support at the end.

  • An audit asks: where does the application stand today, and what blocks go-live or takeover?
  • Ongoing review asks: which new risks are introduced by current changes?
  • A penetration test asks: which weaknesses can be exploited through the reachable application?
  • Software maintenance then asks: who will implement the required changes in a controlled process?

Direct comparison of the assessment types

Characteristic AI Code & Production Readiness Audit Ongoing code review Penetration test Software maintenance
Primary objective Establish a technical baseline and go-live risks Review new changes repeatedly Find exploitable weaknesses from an attacker perspective Implement agreed fixes, updates and releases
Typical timing Before go-live, takeover, migration or investment During ongoing development Before a critical launch, after major changes or based on the threat model Ongoing after a confirmed baseline
Layers covered Code, auth, data, dependencies, deployment and operations Diffs, pull requests and their system impact Reachable application, APIs, identity and technical attack surface Repository, dependencies, tests and release path
Deliverable Prioritised baseline with blockers and actions Recurring findings and technical decisions Report with reproducible security findings Changed, tested and approved software
Automatically fixes issues? No No No Within the agreed allowance

The table also explains why an inexpensive automated scan is not a complete substitute. A tool may report a vulnerable package version. It cannot reliably decide whether the affected path is reachable, which customer data would be exposed, whether a temporary mitigation is adequate or whether the update breaks a critical workflow.

What is an AI code audit?

The term is not standardised. Used responsibly, it describes a one-time technical assessment of software built partly or substantially with AI tools. The proposal must therefore name the actual depth and boundaries.

A robust audit commonly covers:

  • repository, build and reproducible runtime
  • architecture, APIs, data model and background processes
  • authentication, authorisation, roles and tenant isolation
  • RLS, storage rules and administrative functions
  • secrets, environment variables and external keys
  • dependencies, known CVEs and end-of-life risks
  • tests, CI/CD, staging, production and rollback
  • logging, monitoring, backups and recoverability

These layers matter particularly for AI-built code because a working demo flow says little about invisible system boundaries. Sign-in can work while an API endpoint checks authentication but not the required role. A dashboard can look correct while a database policy fails to isolate tenants.

The WZ-IT Production Readiness Audit therefore combines code assessment with operational readiness. It is neither a guarantee of error-free software nor a complete offensive security test.

What is ongoing code review?

Ongoing review starts from a known baseline. Instead of auditing the entire application from scratch in every cycle, it focuses on an agreed corridor of changes and their effects.

Typical questions include:

  1. Does a pull request change roles, data access or tenant isolation?
  2. Does a new dependency introduce a relevant CVE or end-of-life risk?
  3. Does a new API endpoint lack an authorisation boundary?
  4. Are migration, rollback and error handling traceable for the change?
  5. Must a finding be fixed before release, or can it be accepted and scheduled?

Continuity creates the value. Reviewers know the architecture, risk profile and previous decisions, so every question does not restart from zero. This is particularly useful where a small team develops rapidly with Cursor, Claude Code, Lovable or similar tools but does not have its own senior review process.

The AI Code Review Retainer deliberately separates this technical control function from implementation, hosting and incident response.

How does a penetration test differ?

A penetration test primarily adopts an attacker perspective. Its purpose is not only to identify questionable code, but to demonstrate weaknesses in a controlled manner. Scope and rules must be agreed in advance, including permitted targets, test accounts, time windows, excluded systems and handling of production data.

Depending on scope, a penetration test may examine:

  • authentication and session attacks
  • missing access controls and IDOR/BOLA
  • injection, request manipulation and insecure APIs
  • misconfiguration of reachable services
  • privilege escalation and combinations of weaknesses
  • rate limits, password reset and administrative paths

A black-box test does not automatically reveal internal dependency risks, dangerous dormant functionality or a missing restore process. A white-box penetration test can include source code and architecture but remains limited to a defined security objective and test window.

OWASP deliberately provides different verification and testing perspectives through ASVS and the Web Security Testing Guide. Secure development controls and offensive testing are complementary.

Where automated checks fit

Automation is an important part of all three assessment types:

  • Software Composition Analysis identifies known dependency risks.
  • Secret scanning looks for credentials committed by mistake.
  • Static analysis finds certain code and data-flow patterns.
  • Container and image scanning checks operating-system packages and base images.
  • Dynamic scanning tests the running application for known web patterns.

The NIST Secure Software Development Framework describes secure development as a repeatable process spanning preparation, protection, production and response. A single scanner does not deliver that process. It provides inputs that still need evaluation against architecture, exposure, business risk and release planning.

Which combination fits each situation?

Before initial production use

Start with a one-time audit. It creates a baseline and separates launch blockers from technical debt. For an internet-facing application, sensitive data or a material threat model, a penetration test may follow.

The team keeps developing after go-live

Add ongoing code review. A monthly cadence can fit planned changes, while active release cycles may require weekly review. Critical changes must be marked clearly and supplied with sufficient context.

Findings are not being implemented reliably

Review alone does not solve that problem. In this case, software maintenance and ongoing support or an internal engineering allowance is required for fixes, tests and releases.

The application handles specially protected data

Audit and review assess the software. The operating framework remains a separate layer. For professional secrecy holders, the Section 203 Managed Cloud may also be relevant. Code review alone does not create that contractual and infrastructure framework.

Clear commissioning prevents false expectations

Before any assessment, the following should be documented at minimum:

  • repositories, applications, APIs and environments in scope
  • technical baseline and known legacy findings
  • permitted access and source-code handling
  • review window or recurring cadence
  • deliverable and risk classes
  • communication and response targets
  • responsibility for remediation, retesting and releases
  • explicit exclusions such as penetration testing, hosting or 24/7 response

This turns a vague promise to "look at the code" into a verifiable service.

Sources

Enquiry

Assess or continuously review AI-built software

Describe the application, baseline and working model. We assess whether a one-time audit, ongoing code review, software maintenance or a combined production path fits.

How should we get back to you?

Frequently Asked Questions

Answers to the most important questions

No. An AI code audit is usually a one-time baseline assessment of an application and covers source code as well as authentication, data access, dependencies, deployment and operational readiness. Ongoing code review examines new changes repeatedly against a known baseline.

No. Code review assesses source code and technical context, while a penetration test uses offensive testing methods against the reachable application to identify exploitable weaknesses. The methods complement each other but provide different perspectives.

A one-time audit fits as a baseline before initial go-live, takeover or a larger investment. If the application continues to change regularly, that assessment ages and should be supplemented by ongoing reviews, software maintenance or both.

Scanners identify known patterns, secrets, vulnerable package versions and other technical signals. They do not replace human assessment of business logic, authorisation, data paths, actual exposure and the impact of a change.

No. The term primarily describes the trigger: software was developed substantially with generative AI and needs independent assessment before production use. The approach can apply to Lovable, Cursor, Claude Code, Bolt, Replit or conventionally developed applications.

Audits, reviews and penetration tests initially produce findings. Your existing team, an agency or WZ-IT through a separate Software Care or development scope can implement them. This boundary keeps responsibility and pricing clear.

Contact

Let's Talk About Your Idea

Whether a specific IT challenge or just an idea - we look forward to the exchange. In a brief conversation, we'll evaluate together if and how your project fits with WZ-IT.

Email
[email protected]
Arrange a callback

Callback

Arrange a callback

Leave your number and we will call back — at the latest on the next business day.

For a longer conversation you can book an appointment instead.

Companies worldwide trust WZ-IT

  • ml&s
  • Rekorder
  • Keymate
  • Führerscheinmacher
  • SolidProof
  • ARGE
  • Boese VA
  • nextGYM
  • Maho Management
  • Golem.de
  • Millenium
  • Paritel
  • Yonju
  • EVADXB
  • Mr. Clipart
  • Aphy AG
  • Negosh
  • ABCO Water Systems
1/3 - Topic Selection33%

What is your inquiry about?

First select the service area that best matches your project.