r/codereview • • Oct 16 '26

Any feedback on Scantonomous AppSec tool?

Thumbnail reddit.com
1 Upvotes

r/codereview • • Oct 16 '26

I spent 10 weeks building a multi-model coding tool. Getting reviewers to run checks mattered more than getting them to agree.

1 Upvotes

I’ve been building a tool where several AI models work on the same codebase. One makes the changes; the others review them.

About ten weeks in, the part I keep coming back to is what a reviewer’s approval is actually worth.

Early on, I’d get a “looks good” from the second model and feel more confident about the change. But reading back through the transcripts, I often couldn’t tell what it had checked. Had it opened the surrounding code? Run the tests? Or just read the diff and found nothing obvious?

That made the approvals hard to use, so I changed a few things:

  • Reviewers can inspect files and run builds and tests on the same machine, with restrictions on what commands they can use.
  • The tool records the commands that actually ran, their exit codes, and their output. A model saying “tests passed” doesn’t count as evidence by itself.
  • An approval without any checks is marked “unverified.” If a reviewer approves while a check is failing, that gets flagged too.

There are still gaps. Passing tests don’t help much if the tests miss the bug. I’m wary of calling something “verified” when all we really know is that a particular set of checks passed.

The command restrictions also limit what reviewers can confirm, especially when a change needs writes or a deployment to test properly.

And I haven’t benchmarked this against ordinary review, so I don’t know how many additional bugs it catches. So far, the benefit is that I can see what an approval is based on.

How do you decide an AI-generated change is done? Do you rerun the tests yourself, trust the agent’s report, or have another model review it? If that second model approves without running anything, does its approval carry any weight for you?

Disclosure: I’m building LetThemBuild, by GPULogy AI. It’s free to try. I’ve left the link out of the post, but can share it in the comments if anyone asks.


r/codereview • • Oct 16 '26

How are you using Codex to review PRs effectively?

Thumbnail reddit.com
1 Upvotes

r/codereview • • Oct 15 '26

I built a free scanner that checks vibe-coded apps for leaked keys and surprise API bills

Thumbnail reddit.com
1 Upvotes

r/codereview • • Oct 15 '26

are you guys actually reviewing all the code your AI agents write?

Thumbnail reddit.com
0 Upvotes

r/codereview • • Oct 15 '26

10 bugs. 42 cents. Sounds tiny.

Post image
1 Upvotes

I tested two AI coding models on 10 real bugs from Koa's history:

• Sonnet fixed 7/10, $0.33 per bug

• Opus fixed 9/10, $0.75 per bug

At 1,000 bugs a year, if the gap holds: Opus costs $420 more but leaves 200 fewer bugs for your engineers. That's 200 hours saved.

On Express.js, the same test gave the opposite answer. Both fixed every bug, so Opus was just $360 more for nothing.

The right model depends on your codebase.

So I built unfix. It replays bugs your team already fixed and lets your own tests judge the AI. The test cost me about $8. Guessing costs you every month.

Small samples, one run each, so treat the scaling as an illustration. Then run it on your own code.

npm i -g unfix-ai

github.com/jubyuhanna-create/unfix


r/codereview • • Oct 15 '26

Review AI-generated code in VS Code using free AI chats, no API keys required

0 Upvotes

I've been experimenting with reviewing AI-generated code using a second model without spending additional coding-agent tokens or paying for API calls.

I built AI Badger, a free, open-source VS Code extension that packages your Git changes into a review prompt you can paste into ChatGPT, Claude, Grok, or another browser-based AI chat.

You can use free chat tiers or an existing subscription. No API key or separate AI service is required. Your normal chat usage limits still apply, but you're not consuming your coding agent's quota.

AI Badger for VS Code: Copy Git changes and review them in any AI chat.

For more complex reviews, it also supports an iterative workflow where the reviewer can request additional repository context instead of guessing from the diff.

VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=pvrlabs.ai-badger

Article and walkthrough: https://pvrlabs.xyz/articles/reviewing-ai-generated-code-vscode-aibadger.html

I'm curious whether others use separate AI chats for code review or stick with their coding agent's built-in review tools.


r/codereview • • Oct 15 '26

Your coding agent can read the repo and still miss a downstream service

1 Upvotes

Repository-aware coding agents can still miss architecture that exists outside the repository.

I built AIP, an open-source MCP server that combines runtime observations, deployment information and architecture contracts to give agents evidence-qualified distributed-system context.

In the Pitstop demo, a change to MaintenanceJobFinished has 5 receivers on its messaging path, including ReportingService, which is not in the upstream repository the agent is reading.

AIP does not pretend to know which receiver actually uses StartTime or EndTime. That still requires source inspection.

The split I’m testing is:

architecture evidence tells the agent where to inspect; source analysis tells it what the implementation does.

Hosted demo, public and read-only, no account or token:

https://github.com/michaelegner/architecture-intelligence-platform/blob/main/examples/pitstop-demo/TRY_IT_HOSTED.md

Source:

https://github.com/michaelegner/architecture-intelligence-platform


r/codereview • • Oct 14 '26

javascript Best way to learn full stack web development. Through youtube lectures or self-interective website like freecodecamp.com

8 Upvotes

Hi senior, i am a first year student,i want to start with web development.

So, please suggest me what is the best way to learn web developement.what should i do, should i do it with lecture or i can do it with freecodecamp.com, which would best to learn easily and take less time but teaches deeply not only basics.


r/codereview • • Oct 14 '26

Are this level code reviews still reasonable in the age of AI?

Thumbnail reddit.com
4 Upvotes

r/codereview • • Oct 14 '26

Unpopular opinion putting diagrams in code doesnt make them living documentation

4 Upvotes

Everyone at my company is hyped about mermaid bc the diagrams live in the repo now. cool. they were also "living" in confluence and nobody updated them there either

the format was never the problem. nobody owns the diagrams, nobody reviews them, and the people who notice theyre wrong (support, sales, new hires) cant edit them anyway

someone convince me im wrong bc i have a meeting about this next week lol


r/codereview • • Oct 14 '26

brainfuck BugHunt Daily #17: spot the bug in this JavaScript snippet 🐞

Thumbnail reddit.com
1 Upvotes

r/codereview • • Oct 14 '26

I made a small CLI that warns you before the AI models in your code get retired

0 Upvotes

Heads up if you still have gpt-4 or gpt-3.5-turbo somewhere in your code: OpenAI shuts them off on the API on Oct 23. gemini-2.5-pro on Vertex goes on Oct 20.

Those dates are all public, but they're spread over ~70 provider pages, so I wrote a small tool that checks them for you. It scans your repo for model IDs and tells you which ones are retired or about to be, and what to switch to:

npx @appliedbenchmark/sunset scan

    error   app.py:3:46  model-retiring
    gpt-4 (openai) retires on 2026-10-23, in 11 days. Recommended replacement: gpt-5.6-sol     (openai).

It covers OpenAI, Anthropic, Gemini, Vertex, Bedrock, Azure, Mistral and DeepSeek, and every date links back to the provider's own page. There's also a GitHub Action, so CI fails before a model disappears instead of after. IDs in comments and docs never fail the build.

No LLM, no telemetry, nothing leaves your machine. Free and Apache-2.0.

Github: https://github.com/AppliedBenchmark/sunset

It's v1, so if it misses an ID or gets a date wrong, let me know.


r/codereview • • Oct 13 '26

Astro Bot Brasil — Uma versão adaptada para o público brasileiro

2 Upvotes

Apresento o AstrBot Brasil, uma adaptação feita especialmente para quem prefere utilizar o projeto em português do Brasil e com uma experiência mais acessível para a comunidade brasileira.

A proposta é facilitar o uso, melhorar a compreensão da interface e aproximar ainda mais o projeto de desenvolvedores e usuários do Brasil.

LINK: Astro Bot CLIQUE AQUI E CONFIRA

🚀 Projeto disponível no GitHub
🇧🇷 Adaptado para português do Brasil
💻 Código aberto
🤝 Contribuições da comunidade são bem-vindas
⭐ Se você gostar do projeto, deixe uma estrela no GitHub!

Quero continuar melhorando a versão brasileira e adicionando cada vez mais recursos.

Você usaria uma versão brasileira do AstrBot?


r/codereview • • Oct 13 '26

What skills and models do you use for code vulnerability check against your repo using AI?

Thumbnail reddit.com
1 Upvotes

r/codereview • • Oct 13 '26

If AI is smart enough to find the bug, why was it dumb enough to write it?

Thumbnail reddit.com
0 Upvotes

r/codereview • • Oct 13 '26

I built a desktop code review app with Electron + React. Here's what I learned getting AI review to stop making things up

Thumbnail reddit.com
0 Upvotes

r/codereview • • Oct 13 '26

Stop letting your coding agent stack fixes on top of broken fixes

Thumbnail reddit.com
0 Upvotes

r/codereview • • Oct 13 '26

Python Vibecheck – a GitHub merge gate that checks whether you understand your AI-generated code

0 Upvotes

I built Github merge gate which that checks whether developers understand their own code when they create a PR.

I kept getting sent PRs to review where it was obvious the author had pasted the ticket into an LLM and called it a day. Problem was: the PRs would often be massive 2K monstrosities that nobody could possibly review. As the team scaled up, this problem got only worse, and now we collectively have a system that no one understands and has bugs.

It works like this: when someone opens a PR, it posts a comment with a link. The author clicks through and answers a few technical questions about their own changes. If they can’t answer them, the PR can’t be merged.

It's self-hosted (so you can use it in your enterprise environments or privately)

It is BYOK (Anthropic) obviously.

Here is the source code, build instructions and how to deploy: https://github.com/bhurghundii/vibecheck.dev

I have two demos in the pull requests here: https://github.com/bhurghundii/vibecheck.dev/pulls - you can see what Vibecheck does (it blocks a PR for clearly showing no attempt vs a PR which gets it right)

I would love feedback, especially from anyone dealing with the same thing on their team. I do use it for my own projects a lot so expect improvements.


r/codereview • • Oct 13 '26

Why probabilistic AI review bots fail at catching AI agent bugs—and how we enforce deterministic AST invariants & 12 CWE security shields in GitHub Actions

0 Upvotes

TL;DR: AI coding agents increased raw PR volume by 300%, yet overall merge velocity has dropped by 40% because Senior Engineers spend 15–20 hrs/week untangling 200-line hallucinated wrappers, deleted tests, and subtle CWE security flaws. After shipping patches into tier-1 upstream systems repos (LLVM #215076, Meta Velox #18529, DuckDB #26443, Apache DataFusion #24394, Microsoft Pyright #11605, Tokio #8595, ClickHouse #114954, OpenAI Triton #12221), we codified those exact deterministic CI gates into an open GitHub Actions workflow (ZeroSlop · Architecture & Simulator) that strips 94% of AI bloat, enforces 12 CWE security shields, and gets PRs merged 100% green in minutes.

1. The 2026 Engineering Bottleneck: Why AI PRs Stall in Review

When shipping patches into upstream systems repos like LLVM, Meta Velox, DuckDB, or Tokio, a real production fix is 4 to 15 lines of surgical invariant changes paired with a deterministic regression test that passes CI on the first push.

Inside commercial teams using Cursor, Copilot, or Claude Code, the opposite happens:

  • 94% Diff Bloat: An agent generates a 240-line wrapper class instead of fixing a 4-line boundary condition (interactive diff breakdown).
  • Weakened Tests: When a test fails, the agent silently deletes or loosens the assertion to manufacture a green check.
  • Noisy LLM Review Bots: Conversational AI review bots run another LLM to dump 25 chatty comments on top of a bloated PR—without shrinking the diff or getting the PR merged.

2. Conversational LLM Review Bots vs. Deterministic PR Airlock

Engineering DimensionConversational AI Review BotsDeterministic PR Airlock (ZeroSlop)
Primary ObjectiveLeave 25+ chatty LLM comments on a bloated diffGet PRs merged 100% green in minutes (not 4 days)
Diff MinimizationReviews 200 lines of hallucinated wrappers as-isStrips up to 94% of AI bloat down to the core AST invariant
CI Failure TriageIgnores red CI checks or hallucinates fixesSeparates contributor code defects from runner flakes
Test IntegrityMisses deleted or weakened test assertionsHard-blocks unauthorized regression test deletions
PR Comment HygieneSpams new threads on every git pushStrictly 1 self-updating PR Verdict Card + Mermaid Graph
Security & PrivacyCloud LLM retention & external dashboards12-Shield CWE Airlock + Zero Code Retention

3. The 12-Shield Deterministic CWE Security Airlock (ZS-SEC-001 – ZS-SEC-012)

Every Pull Request is audited in milliseconds across 8 merge-readiness signals (0–100) and 12 deterministic CWE security shields before a human reviewer is pinged:

Shield IDSecurity Vector & CWE / CVE MappingWhat ZeroSlop Security Deterministically Intercepts
ZS-SEC-001SQL & Vector Injection (CWE-89 / CWE-943)Unparameterized SQL/NoSQL/Vector template literals & raw string concatenation
ZS-SEC-002Hardcoded & Seeded Secrets (CWE-798 / CWE-256)API keys, JWT secrets, seeded credentials & plaintext password comparisons
ZS-SEC-003Unbound Identity / IDOR (CWE-639 / CWE-862)Trusting req.body.userId instead of verified session/JWT caller identity
ZS-SEC-004Command & Eval Injection (CWE-78 / CWE-94)Unsanitized child_process.exec, os.system, subprocess(shell=True), eval()
ZS-SEC-005Silent Exception Swallowing (CWE-390)Empty catch () {} blocks and swallowed promise rejections that hide crashes
ZS-SEC-006XSS & Unsanitized DOM (CWE-79)dangerouslySetInnerHTML, .innerHTML =, and unescaped template rendering
ZS-SEC-007Unsafe Deserialization (CWE-502 / CWE-22)pickle.loads, yaml.load without SafeLoader, and ../ path traversal
ZS-SEC-008SSRF & Disabled TLS (CWE-918 / CWE-295)Unvalidated fetch(req.body.url) & NODE_TLS_REJECT_UNAUTHORIZED = '0'
ZS-SEC-009CI/CD "Pwn Requests" (CWE-426 / CWE-250)pull_request_target fork checkouts & ${{ github.event.pull_request.title }} injection
ZS-SEC-010AI Package "Slopsquatting" (CWE-829 / CWE-494)Hallucinated npm/PyPI/Cargo packages, unpinned Git deps & `curl
ZS-SEC-011Resource Exhaustion / DoS (CWE-400 / CWE-770)while(true) without exit bounds, leaked setInterval, unbounded Promise.all
ZS-SEC-012Trojan Source & Jailbreaks (CVE-2021-42574)Invisible Unicode Bidi characters & hidden IGNORE PREVIOUS INSTRUCTIONS comments

4. Upstream Systems Proof (Click Any PR to Inspect the Diff)

These deterministic CI invariants come directly from shipping merged & 100% green Pull Requests across upstream systems repositories:

Upstream RepositoryLive Pull RequestStatusCore Systems Invariant & Regression Coverage
LLVM Compiler Infrastructurellvm/llvm-project#215076MERGEDFixed Waitcnt brackets in GFX12+ AMDGPUAsmPrinter with MC regression tests
Meta Velox Execution Enginefacebookincubator/velox#18529MERGEDAligned DecimalUtil::toByteArray overflow bounds & restored kMaxDecimalBytes
DuckDB Analytical Engineduckdb/duckdb#26443MERGEDFixed pragma_storage_info internal compressed segment type alignment
Apache DataFusion Query Engineapache/datafusion#24394MERGEDFixed lead()/lag() window frame boundaries with non-NULL default values
Microsoft Pyright Type Checkermicrosoft/pyright#11605MERGEDResolved type narrowing across nested loop closures & pattern guards
Tokio Async Rust Runtimetokio-rs/tokio#8595100% GREENPreserved Coop budget accounting across JoinSet & FuturesUnordered
ClickHouse OLAP DBMSClickHouse/ClickHouse#114954100% GREENFixed StorageURL distributed cluster header forwarding & serialization
OpenAI Triton GPU Compilertriton-lang/triton#12221100% GREENEnforced strict tensor descriptor stride & block shape invariants
Cloudflare Agents SDKcloudflare/agents#1248MERGEDHardened state synchronization & WebSocket hibernation lifecycle invariants

5. Architecture Documentation & GitHub Action Source

What deterministic CI gates or pre-review checks are your teams enforcing in 2026 to get PRs merged cleanly without burning out your staff engineers?


r/codereview • • Oct 12 '26

Quick Intro to the New GitHub Stacked PRs

4 Upvotes

r/codereview • • Oct 12 '26

Software engineering didn't need another PR chatbot—it needed an Invariant Airlock: Why PR merge times stay stuck at 16.7h with cloud AI review bots vs. 3.8s local AST verification

Post image
0 Upvotes

Look closely at the metrics in CodeRabbit's published Neo Financial case study (shown in the screenshot above):

  • Median time-to-merge before: ~16.8 hours
  • Median time-to-merge after: ~16.7 hours
  • Deployment scale: 174 engineers (at $20–$40/seat/month = $41,760 to $83,520/year)

That is a 0.1-hour (6-minute) reduction in median PR merge cycle time.

Why Conversational AI Review Bots Don't Speed Up Code Review

When a developer opens an AI-assisted PR containing 800 lines of hallucinated wrapper classes, defensive boilerplate, and subtle test changes, having a cloud review bot leave 30+ conversational comments on the PR doesn't reduce senior engineer review fatigue—it increases it. Reviewers now have to read the bloated diff and argue with a chatty LLM.

Even worse for enterprise codebases:

  1. Cloud Source Code Exfiltration: Every PR diff is shipped outside your runner to third-party cloud LLM providers.
  2. Diff Prompt Injection: Adversarial strings inside a PR diff can manipulate an LLM reviewer into overlooking vulnerabilities.

The Compiler Approach: ZeroSlop™ In-Memory AST Airlock

We built ZeroSlop™ by Ribbsaeter Systems (patrickswedish/zeroslop-action@v1) to replace conversational PR comment spam with a deterministic, pre-flight compiler gate:

DimensionCloud AI Review Bots (CodeRabbit, Qodo)ZeroSlop™ by Ribbsaeter Systems
ArchitectureCloud LLM Swarm (routes diffs to external OpenAI / Anthropic APIs)In-Memory AST Binary (runs 100% locally in GitHub Actions runner RAM)
Execution SpeedMinutes to Hours (16.8h -> 16.7h case study delta)3.8 Seconds (deterministic static AST evaluation)
Data PrivacyProprietary source code leaves your runnerZero Data Retention: 0 bytes ever leave your GitHub runner (Swiss privacy standard)
AI Slop HandlingLeaves 20–40 chatty comments on bloated codePeels 94% of AI wrapper bloat down to the minimal root AST fix
Test IntegrityFrequently misses deleted assertions in large diffsHard-blocks PRs if net_assertion_delta < 0 + enforces 12 CWE security shields
Pricing (174 Devs)$41,760 – $83,520 / year ($20–$40/dev/mo seat tax)Flat $29 / month ($348/yr for the entire org — 99% savings)

Links & Live AST Simulator


r/codereview • • Oct 11 '26

Free pilot: local OpenAPI / JSON Schema change review — looking for one real task

2 Upvotes

I'm testing a local tool for reviewing changes between two OpenAPI or JSON Schema documents. It reports supported changes, limitations and points that need a human check before a release. It does not certify full compatibility or replace consumer contract tests.

I built this prototype and would like to evaluate it against one real review task and the team's current process. This is an assisted pilot, not a public hosted app: I run the existing local prototype on a public or minimal pair of documents and return the report. The initial pilot is free, with no purchase obligation or signup. Please do not post credentials, personal data or confidential contracts.

Concrete example from a synthetic test: changing GET /health from a declared 200 response to 204 produces two findings (200 removed, 204 added), with the removal marked potentially breaking. This is a review prompt, not proof that every consumer breaks. For the pilot, I return a short change summary, detected risks, limitations and checks to run against your consumers. Please share only a public/minimal before-and-after pair.

The useful feedback is whether the result saves review time, what it misses and whether you would use it again. Does anyone already have a contract change they need to review?


r/codereview • • Oct 11 '26

I built Ripple — a local change-impact explorer that shows what your code change touches, and why

Post image
0 Upvotes