1. Preserve a working copy
Record the current commit, deployment settings and known failures. Back up the database and uploaded files before making changes. Try restoring the backup into a separate environment; a backup you cannot restore is not a recovery plan.
2. Find exposed secrets
Check the repository history, browser bundle and deployment settings for credentials. If a key was exposed, revoke or rotate it at its provider and update the services that use it. Deleting it from the latest commit does not invalidate copies.
3. Test permissions with two accounts
Use test accounts with different roles. Check whether one can read or change the other's records by changing a request identifier. Enforce ownership and role checks on the server or database, rather than only hiding buttons in the UI.
4. Trace one complete data workflow
Follow a record from creation through editing and deletion. Check validation, duplicate submissions and failed requests. Write down which system owns the record and what happens if an integration is unavailable.
5. Exercise billing in test mode
If the app takes payments, test success, cancellation, failure and duplicate webhook delivery. Verify webhook signatures on the server and check that access follows the actual payment or subscription state. Do not rely only on a checkout success page.
6. Reproduce the deployment
From a clean checkout, install dependencies and run the build and relevant tests. List the environment variables and migrations required. Confirm that a previous version can be restored without corrupting data.
7. Check slow and costly paths
Look for unbounded database queries, file uploads and AI calls. Set appropriate request limits and timeouts. Use a small, controlled test in staging to understand behaviour before increasing load; record what remains untested.
8. Rank repairs before rebuilding
Separate issues that expose data or block core use from maintenance debt and cosmetic work. For each item, record evidence, impact and a way to verify the fix. Keep functioning code when it can be understood and tested; a full rewrite needs a reason.
Need someone to turn this into a repair plan?
The Vibe-Code Rescue Audit costs $1,000 and takes 3 business days after agreed access is available. You get a ranked report and a fixed-price repair proposal. The fee is credited if you hire Architop, and the report is yours to use with anyone.