Skip to main content

Codzee vs Greptile, CodeRabbit & CodeAnt: The Infrastructure Code Review Challenge

Updated 10 min readMarkdown
Codzee vs Greptile, CodeRabbit & CodeAnt: The Infrastructure Code Review Challenge

We tested four AI code review tools against 24 infrastructure defects. Codzee identified 23, but an unexpected discovery revealed why effective code review needs more than finding security vulnerabilities.

Code reviews are an important part of software development. Before a pull request gets merged, developers need to make sure the changes are correct, secure, and won't create problems somewhere else in the application.

But as projects become larger, reviewing every change manually becomes increasingly challenging.

This is where AI code review tools can help.

They can identify potential bugs, detect security vulnerabilities, highlight configuration mistakes, and give developers another perspective before merging their code.

But how reliable are these tools when they face real engineering problems?

We wanted to find out.

As part of our ongoing AI code revieAI code review benchmark, we conducted our 16th experiment. This time, we focused on infrastructure configuration rather than traditional application code.

We tested four tools:

  • Codzee
  • Greptile
  • CodeRabbit
  • CodeAnt

All four reviewed the same GitHub pull request containing 24 deliberately introduced defects.

The results gave us some interesting insights into the current capabilities of AI-powered code review.

And one discovery was particularly unexpected.

1. The experiment: Four tools, three files, 24 defects

For this round, we selected GitHub pull request #17.

Instead of testing application logic, we wanted to understand how well AI reviewers could identify problems in infrastructure configuration.

The pull request contained 113 changed lines across three files:

Dockerfile
docker-compose.yml
deploy/config.yaml

We deliberately introduced 24 defects across these files.

The issues covered several areas of infrastructure and application security, including:

  • Hardcoded credentials in Docker image layers.
  • Containers running with excessive privileges.
  • Docker socket exposure.
  • PostgreSQL exposed on a public network interface.
  • Missing persistent storage.
  • Wildcard CORS configuration with credentials.
  • Disabled TLS verification.
  • Insecure cookie settings.
  • Unredacted request-body logging.
  • Sensitive guest information exposed without authentication.

We also included two cross-artifact defects that required understanding application code merged in our previous benchmark round.

To keep the evaluation consistent, we prepared the answer key before pushing the branch.

All four tools reviewed the same commit, and we compared their findings against the same evaluation criteria.

Here is a summary of the experiment:

Metric Result
Planted defects 24
Changed lines 113
Files reviewed 3
Inline findings 39
False positives 0
Additional genuine defects 3

The three additional defects were discovered outside our original answer key and were credited separately.

2. The results: Codzee takes the lead

The results were interesting from the beginning.

AI code review tool Defects detected Detection rate
Codzee 23/24 95.8%
CodeRabbit 14/24 58.3%
CodeAnt 12/24 50.0%
Greptile 6/24 25.0%

Codzee delivered the strongest overall performance, identifying 23 out of 24 planted defects.

Its category-level results were:

Review category Codzee
Dockerfile 7/8
Docker Compose 6/6
Deployment configuration 8/8
Cross-artifact 2/2
Total 23/24

What stood out was not just the number of findings.

Codzee also connected problems across different configuration files.

For example, it noticed that the same password appeared in three separate files. It also connected the public export endpoint with the configuration that allowed guest contact information to be included in exported data.

These observations matter because infrastructure security problems often become more serious when multiple settings interact.

Codzee also demonstrated strong severity classification, identifying eight Critical findings and explaining the potential impact of the Docker socket exposure.

For this particular benchmark, Codzee delivered a strong result in a domain that had not been evaluated in our previous fifteen rounds.

However, the most interesting discovery came when we looked beyond the leaderboard.

3. The unexpected discovery: Greptile found three problems nobody else identified

Greptile finished fourth with six out of 24 planted defects.

Based only on the predefined answer key, this was the lowest score.

But while examining its review comments, we noticed three additional findings.

These issues were not planted as part of our original benchmark.

They were genuine problems in the repository, and none of the other three tools identified them.

Finding 1: The API entry point did not exist

The deployment configuration referenced:

booking.api:app

However, the corresponding module did not exist in the repository.

This meant the API container would fail during startup.

Even if the other configuration problems were fixed, the application could not start using that entry point.

Finding 2: The export directory was not actually shared

The API wrote exported files to a container-local directory.

However, the host directory was mounted only into the Nginx container.

This meant the API and Nginx were not accessing the same files.

The API could generate exports, but the service responsible for serving them could not access them through the intended shared location.

Finding 3: The deployment configuration was never loaded

This was perhaps the most interesting discovery.

The deploy/config.yaml file contained important settings, including a payment gateway API key, a session secret, wildcard CORS, and disabled TLS verification.

Other tools identified several of these settings as security problems.

Greptile discovered that no code in the repository actually loaded the configuration file.

The file was effectively disconnected from the application's configuration-loading path.

This distinction is important.

The settings were still unsafe and could become active if someone implemented the loader later. But the application was not currently using that file through its runtime configuration path.

Greptile had identified something beyond the contents of the configuration.

It had checked whether the application actually used it.

This discovery highlighted an important limitation in AI code review: identifying dangerous settings is not the same as understanding how an entire application works.

4. What makes Codzee's performance interesting?

The strongest result from this experiment was Codzee's ability to identify 23 out of 24 deliberately introduced defects.

But the findings also gave us a better understanding of what matters in practical code review.

Here are three areas where Codzee demonstrated useful capabilities.

Cross-file reasoning

A security issue does not always exist in a single file.

In our experiment, the same password appeared in multiple configuration files.

Codzee connected those occurrences rather than treating them as completely separate problems.

It also identified how the public export endpoint interacted with the guest-contact configuration.

Security severity assessment

Not every issue has the same level of impact.

Codzee identified eight Critical findings and explained why the Docker socket exposure could create a host-level security risk if the API container were compromised.

This kind of context helps developers understand which problems deserve immediate attention.

Infrastructure configuration review

Codzee identified all six planted Docker Compose defects and all eight deployment configuration defects.

This was particularly encouraging because the benchmark focused on infrastructure rather than the application-code scenarios used in previous rounds.

Of course, Codzee was not perfect.

It missed the absence of a .dockerignore file, which became another interesting observation from the experiment.

5. What did we learn about the other tools?

Every tool produced useful findings, although their strengths differed.

CodeRabbit finished second with 14 findings.

It provided CWE identifiers, reachability, and exploitability information.

For example, it connected hardcoded credentials with CWE-798 and cleartext communication with CWE-319.

It also identified five of six Docker Compose defects.

CodeAnt finished third with 12 findings.

Its strongest category was deployment configuration, where it identified six of eight defects.

It correctly identified problems involving cookie configuration, disabled TLS verification, unredacted request logging, and CORS.

Greptile finished fourth with six scored findings.

However, its three additional discoveries revealed important system-level problems that were not included in the original answer key.

Its performance demonstrated why looking only at a numerical leaderboard can sometimes hide useful information.

6. Another interesting observation: The size of a pull request matters

We also compared this experiment with previous benchmark rounds to understand how finding density changed across different types of reviews.

Round Review type Findings per 100 lines
Round 11 Code 38.8
Round 14 Code 39.2
Round 15 Large code diff 16.1
Round 16 Infrastructure configuration 34.5

Round 16 produced 34.5 findings per 100 changed lines.

This was relatively close to the earlier code-review baseline and more than twice the density observed in round 15, which involved a 435-line change.

Our results suggest that the size of a change may have a stronger relationship with review depth than the particular engineering domain.

This is an observation from our benchmark, not a universal rule.

Still, it raises an important question for developers: can AI reviewers maintain the same level of attention when reviewing much larger pull requests?

It is something we want to continue investigating.

7. What this means for developers

Beyond the scores, this experiment gave us three practical lessons.

1. Don't stop at checking individual configuration settings.

A review should also verify that application entry points exist, configuration files are actually loaded, and services can access the resources they depend on.

2. Look for missing components.

Codzee missed the absent .dockerignore file.

We have seen similar patterns in previous benchmark rounds involving deleted tests and missing transaction wrappers.

A good review should consider what is missing, not just what is incorrectly written.

3. Evaluate the quality of findings, not just their quantity.

Codzee delivered the strongest score in our predefined evaluation.

Greptile, despite finishing last, discovered three additional issues that could prevent the deployment from working.

Both results provide useful information.

For developers, the goal should be to use AI code review as a way to improve the quality of engineering decisions, not simply generate more comments on a pull request.

8. Sixteen benchmark rounds: What comes next for Codzee?

This experiment was part of our ongoing sixteen-round AI code review benchmark.

Across our running tally, Codzee has led or tied in 11 rounds, Greptile in six, CodeRabbit in one, and CodeAnt in one.

Codzee has also recorded ten consecutive wins in the benchmark.

The 23/24 result in this round was encouraging, particularly because infrastructure configuration was a new evaluation domain for our testing.

But we also identified areas worth improving.

For example, Codzee missed the missing .dockerignore file.

We also observed that its review interface displayed only 10 of its 26 findings directly, with the remaining findings collapsed.

Making important findings easier to discover is another part of creating a useful code review experience.

Our focus with Codzee is to make AI-powered code review more valuable in real development workflows, where developers need actionable findings rather than a long list of warnings.

Final thoughts

We started this experiment with a simple objective: compare four AI code review tools against the same infrastructure pull request.

Codzee came out on top with 23 out of 24 findings.

But the most valuable lesson was not simply about winning a benchmark.

Greptile's additional discoveries reminded us that reviewing individual security settings and understanding an entire application are different challenges.

A code review can identify dangerous credentials and still miss that the application cannot start.

It can identify insecure permissions and still overlook that two services cannot access the same files.

That is why we believe the next step for AI code review is deeper system-level understanding.

With Codzee, we want to keep exploring how AI can help developers catch meaningful problems earlier, understand the impact of changes, and ship more reliable software.

This was one experiment, not the final word on AI code review.

And we have more engineering scenarios to investigate.

About the author

  • Codzee is building the future of AI-powered code reviews for modern engineering teams. We help developers review pull requests faster, improve code quality, and ship software with confidence. Codzee analyzes your code, highlights potential issues, suggests meaningful improvements, and delivers actionable feedback that fits your team's coding standards and workflow. Our mission is simple: make code reviews faster, smarter, and more collaborative without disrupting how developers work. Whether you're a startup shipping your first product or a growing engineering organization, Codzee helps reduce review bottlenecks, maintain consistent code quality, and improve developer productivity. At Codzee, we believe AI should support developers, not replace them. That's why we're building AI Code Review That Respects Your Team.

No comments yet. Be the first to comment.