Your AI-written tests are green. Would they go red if the code were wrong?
Most AI coding tools write tests that agree with the code they just wrote. Green checkmarks, real bug, nobody notices.
A 10-minute check you can run yourself today:
- Pick one function that matters: price calculation, discount, access to a paid feature, anything that costs you money if it's wrong.
- Break it on purpose. Change
>to>=, or make it return a fixed value. - Run your tests.
- If they're still green, those tests aren't protecting that function. Undo the change and write one test that fails on the broken version.
A second check before launch, two minutes: build your app, open the files that go to the browser, and search them for anything that looks like a secret key (service_role, sk_live, secret). If something's there, everyone who opens your site can read it.
I do this as a fixed-price check on your repo: I break your code in small, controlled ways and show which tests stay green, then scan the files your build sends to the browser for leaked keys. You get a short report with each finding reproducible: the change I made and the test that missed it. I don't change your code. Read-only access, written scope before I start. $149 for the first three, then $249.
Out of scope, stated up front: authentication and database access rules (RLS), load testing, cloud setup, iOS.
Background: I wrote gedik, an open-source tool that audits your own project like an attacker (github.com/onur-kesim/gedik), and I write about tests that pass for the wrong reason on dev.to/onurkesim. If your app has no tests yet, this check isn't for you. I'll tell you that before you pay.






Comments
0 comments