Skip to content
Launch and handover

Vibe coding security checklist before launch

Check the live deployment, protect private credentials, verify database and account boundaries and exercise payment states before launch. Record what each check proves and what remains untested instead of treating one green score as a complete audit.

Check your app free, first fix free
By Brennan ZamboUpdated
In short

Use this checklist to organize a release, not to certify it. Start with the exact production URL, then review browser assets, anonymous data access, signed-in permissions and payment fulfillment separately. Retest after repairs, keep private evidence private and publish only a bounded assessment that describes the deployment and checks actually completed.

1. Identify the release you are about to ship

Write down the production URL, custom domain and intended version. Confirm that the published page loads the expected assets and backend project. A workspace preview can use different configuration from the public application. Do not treat a passing preview check as evidence for a production deployment it never inspected.

Keep a short list of critical user journeys: account creation, sign-in, the core paid feature, cancellation or retry and any administrative workflow. For each journey, name the data it reads, the actions it changes and the third-party services it relies on. This gives later findings a product context instead of a disconnected list of warnings.

2. Classify everything the browser receives

Inspect public JavaScript, runtime configuration and selected accidental files. Separate expected public identifiers from private provider keys. A Supabase publishable key is not the same as a service-role key; a payment publishable key is not the same as a secret key.

If a genuine private credential shipped, rotate it through its provider and review usage before relying on cleanup. Then repair the path that exposed it. Public environment variables, serialized server configuration and verbose debug responses are different mechanisms that can lead to the same outcome.

Do not paste complete credentials into an assistant conversation to ask for help. Share masked evidence and a source location. The replacement must not appear in public build output or logs, and an unrestricted server proxy must not expose its authority indirectly.

3. Review anonymous database access

List which data is intentionally public. A catalog can be public while invoices and private messages cannot. Use supported count-only signals or synthetic records to test private tables without browsing real customer data. Keep table names and backend projects aligned with the actual published client.

An empty result is not a universal pass. The table may be empty, the request may be malformed or the scanner may not support that configuration. Record unknown results explicitly. Do not fix a permission error by disabling RLS or allowing every Firebase operation.

4. Test two accounts, not just one login

Create synthetic accounts A and B on staging. Let A create a private object, verify A can use it, then verify B cannot read or change it merely by knowing its identifier. Repeat for the operations your application supports. Test team and administrator roles against the intended membership model rather than assuming every object has one owner.

Read and write checks have different risks. ProofForge's local two-account tool performs bounded reads and is separate from the public scan receipt. Destructive operations, trigger behavior and authenticated business logic need a dedicated controlled test plan.

5. Review the server entry points

Follow private actions to the API route, server action or backend function that performs them. A hidden button does not enforce authorization. Check the caller's identity and permission before the privileged read or write, and validate the allowed input.

Do not assume a generated server component provides a complete security boundary. Review helper imports, serialized props, error paths and administrative endpoints. A broad refactor is not inherently safer than a narrow verified repair; keep the change understandable enough to review.

6. Exercise payment states without live charges

Use the provider's supported test environment for successful, cancelled, failed and pending outcomes. Verify that the server resolves trusted prices rather than accepting the browser's amount. Paid access must follow verified provider state, not a success flag supplied by the customer.

Retry a request and replay a notification in controlled tests. The same purchase should not cause repeated charges or duplicate fulfillment. If the browser closes after payment, a trusted server-side completion path should still fulfill the purchase. Confirm what refunds and revoked purchases do to inherited access.

Keep pending outcomes locked but resumable. A provider timeout does not mean a payment definitely failed or succeeded. The system should reconcile the existing transaction before inviting another charge. A public-surface scan cannot establish any of these payment-state properties by inspecting the homepage.

7. Check headers without breaking the application

Inspect HTTPS redirects and the final response headers from the production domain. Plan Content Security Policy around real required origins, especially login and payment providers. Test a restrictive change before enforcement rather than silencing every violation with a wildcard.

Review CORS according to the endpoint's intended audience. An intentionally public resource can use a wildcard appropriately; a private credentialed API needs a different analysis. CORS is not a substitute for server authorization and does not stop non-browser callers from making requests.

8. Review public artifacts and error behavior

Check selected environment-file, Git metadata and source-map paths. A 200 response can be a generic application shell, so inspect what the server actually returned. Do not reconstruct a repository or retrieve customer records just to demonstrate a finding.

Look at user-facing errors during controlled failures. They should help a legitimate user retry or recover without disclosing private configuration. A polished success screen is not enough if cancellation, pending payment or a disconnected session leaves the user stuck or falsely marked paid.

9. Recheck the deployment and preserve gaps

After repairing an issue, deploy and repeat the relevant public check. Compare coverage as well as finding counts. A report with fewer findings because a previously completed check timed out is not stronger evidence than the earlier report.

Keep a release record that separates confirmed findings, repaired findings, unknown checks and manually tested workflows. This helps the next maintainer understand what still needs attention instead of starting from an unsupported claim that everything was audited.

text
Release URL and version:
Public checks completed:
Findings repaired and rechecked:
Account-role tests completed:
Payment states tested in provider test mode:
Unknown or deferred checks and owners:
Private evidence location:
Public receipt, if owner-published:

10. Share evidence without overstating it

Keep private report links and credentials out of public repositories. If you publish an eligible ProofForge receipt, describe the observed surface and time. A valid signature protects the recorded assessment from undetected changes; it does not establish that every future deployment remains safe.

Brennan Zambo created ProofForge, AER-1 and Zambo. These connect around evidence-based software handovers, but their roles are different. ProofForge currently uses its own signed assessment format; do not describe it as an AER-1 execution receipt or claim automatic interoperability.

Turn the check into a release decision

Keep a small record of the production URL, the time you checked it, the exact finding and the action you took. A local preview and a deployed application can have different environment variables, response headers and database projects. After a repair, deploy the intended version and check the public address again. Do not assume that changing a repository file changed the live system.

Read coverage as carefully as the score. A timed-out asset, an ambiguous backend configuration or a request that could not safely establish access should remain unknown. It should not disappear from your release notes merely because there is no red finding. If a check was not completed, decide who will review it and what additional evidence is needed.

ProofForge's free report includes the first fix. The $9 Fix Report unlocks all findings' available repair guidance and builder prompts, with a PDF and private report link. Fix + Guard costs $29 once and adds builder rules, on-demand deploy-hook scans for 30 days and four weekly rechecks you start yourself. These are different deliverables, not different promises that an application is completely secure.

Keep private report URLs out of public issues and commits. If you need shareable evidence, use the owner-verification and publication flow for an eligible receipt. A signature protects the recorded assessment against undetected changes; it does not make the assessment exhaustive, prove a business outcome, or show that a later deployment still matches an earlier result.

Questions builders ask

Can I launch after one clean scan?
A scan can support the decision, but it does not replace authenticated authorization, payment-state testing or private code review. Decide explicitly how unresolved risks are handled.
Should I test on production?
Use safe public checks on an authorized deployment and prefer staging with synthetic accounts for writes, role tests and provider test-mode payment flows.
What should I ask my coding agent to deliver?
A bounded finding, a minimal repair, a verification procedure and an honest list of untested behavior. A confident completion message is not evidence by itself.

Continue with a related guide

Sources

Read-only, about a minute

Scan your app free

See what your live app ships to every visitor, with the first fix free. A clean scan is not a full audit. Run it only on an app you own or have permission to test.

Scan your app free
All guides