Catch the code mistakes that put your customers at risk
Code Scan checks every change for the mistakes that let strangers read your customers' data or get your products free, like database tables anyone can open and payments anyone can fake. It runs on your computer or in your CI, so we never see your code.
What the code scan looks for
The SiteCMD CLI audits your project's code where you run it. Treat each finding as something to investigate; another part of the app may already handle it.
Database access
Supabase tables without row level security, policies with no per-user condition and service-role keys in browser code.
Record ownership
Account, billing, admin and workspace handlers that reach data with no ownership, role or tenant check.
Sign-in and tokens
JWTs decoded with no verification, auth tokens kept in localStorage, OAuth callbacks that skip state or PKCE, and password fields saved with no hashing.
Payments and webhooks
Webhook handlers with no signature check or duplicate-event guard, and Stripe checkout code that takes prices or return URLs from the request.
Limits and cost
Model calls with no rate limit, output cap or timeout, public routes with no rate limit and upload handlers with no size or type check.
Secrets
Values that look like credentials in source, config and agent instruction files, and secret-sounding names in browser-public variables.
Dependencies and CI
Package names one typo from a popular package, missing lockfiles, GitHub Actions not pinned to a commit SHA and runtimes past end of life.
Database queries
Raw SQL built by string interpolation or concatenation in route code.
Code scans on every push
Our open-source CLI runs on your own computer or in your CI, with no account, so your code never reaches our servers.
Questions about code scans
How is a code scan different from a website security scan?
A website scan looks at what your site sends to visitors, such as headers, cookies and exposed files. A code scan reads the source behind it, where problems like a missing ownership check or an unverified webhook live without ever showing up in a response.
Can a scanner replace a code review or a penetration test?
No. A scanner finds known patterns quickly across the whole project. A reviewer knows what a feature should allow, and a tester tries to break the running app, so each catches problems the others miss.
Should I scan code that an AI assistant wrote?
Yes, and the same way you'd review a new teammate's code. Generated code can look finished when it isn't, so read the parts that decide access, money and limits even when every finding is clear.