Dev.to AI 🤖 Ai 👁 0 📖 2 min read

Outside scan vs code review vs pentest for an AI-built app: what each one can and cannot see

You built an app with Lovable, Bolt, Replit, Cursor or v0, and now you want to know if it is safe. People will tell you to get a scanner, a pentest, or a code review. They answer different questions. Here is what each on

You built an app with Lovable, Bolt, Replit, Cursor or v0, and now you want to know if it is safe. People will tell you to get a scanner, a pentest, or a code review. They answer different questions. Here is what each one can and cannot see, so you pick the right one for the moment.

The three options in one table

Outside scan Code review / SAST Penetration test
Looks at The deployed site, as a visitor Your source code Your app, like an attacker, with permission
Finds Leaked keys in the bundle, public files, open data signals, missing headers Bugs and risky patterns in code, vulnerable dependencies Logic flaws, auth bypasses, chained attacks
Misses Anything behind login, user-to-user access What actually got deployed, config, hosting settings Nothing by design, but only in the time and scope given
Cost and time Minutes, free to low Minutes to hours Days, usually expensive
Risk to your app Low if passive None Needs care in production

What an outside scan is good at

Most AI-built apps do not fail from clever attacks. They fail from simple exposure: a secret in the JavaScript bundle, a .env or .git file served publicly, a Supabase table readable with the public key, Firestore rules set to if true. These are visible from the outside, and a passive scan finds them in minutes.

It cannot tell you whether user A can read user B's rows. That needs two real accounts. For Supabase there is a free script you run yourself: https://proofforge.live/two-account-test

What code review and SAST are good at

They read your code and catch things like SQL built from user input, unsafe dangerouslySetInnerHTML, or a dependency with a known issue. They cannot see production: which environment variables reached the browser, what the host serves, or what a database policy allows today. A clean repo review can sit next to a leaked key in the live bundle.

What a penetration test is good at

A human tester chains small issues into real attacks and checks business logic, such as skipping a payment step or changing someone else's order. It is the right choice before handling sensitive data at scale or when a customer requires it. It is overkill as a first check on a weekend project.

A sensible order

  1. Run a free outside scan on the deployed app. Fix what it finds.
  2. Run the two-account test if you use a database with user data.
  3. Use code review or SAST in your pipeline for ongoing coverage.
  4. Book a pentest when real money or sensitive data is at stake.

One honest note about every tool

A clean result from any of these is not a guarantee. Ask each tool what it could not test, and treat "not tested" as different from "passed".

ProofForge covers step 1 and says so. The free scan with your first fix needs no account: https://proofforge.live. It is not a penetration test or a code audit. Paid one-time reports are $9, $29 and $79.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.