Keys embedded in the browser
API keys and secret keys may be written into the front-end code. Anything sent to the browser can be read by a visitor.
Your agency's client had their project built with a tool like Lovable, Cursor or Bolt. The prototype works; but at launch, or at the first serious bug, it landed on your desk. Before you build on this code, tmai finds where it is safe and where it is not, and turns it into code you can take over.
Your agency's client had their project built with a tool like Lovable, Cursor or Bolt. The prototype works; but at launch, or at the first serious bug, it landed on your desk. Before you build on this code, tmai finds where it is safe and where it is not, and turns it into code you can take over.
These six areas are where a project quickly generated with AI tools needs to be checked before anything is built on top of it.
API keys and secret keys may be written into the front-end code. Anything sent to the browser can be read by a visitor.
In hosted database services such as Supabase or Firebase, access rules may be switched off or left open to everyone.
If the login check exists only in the interface, someone who skips the page and sends the request directly can reach protected data.
A generated project may have no automated tests; what a change breaks is only seen in production.
Code doing the same job may be repeated across files, unaware of each other; a bug fixed in one place lives on in another.
AI tools can add a package name that does not exist, or an old version with a known security flaw.
In the Handover Audit, tick "The project was built with AI tools" and fill in the 12 items. Missing access shows up from the start.
Before we look at the code, the confidentiality and engagement agreement is signed.
The six areas above are checked on the project's own repository and accounts; the result is shared with the agency in writing.
With the Salvageability Index, we decide together whether the code is repaired and kept, or its critical parts are rewritten.
Keys, database rules and permissions first; then tests and simplification. A rollback point is taken before every intervention.
The AI tool itself, the hosting service and the database service belong to their providers. tmai works on the code and configuration in your accounts. Whether you keep using the tool is your decision.
Tool names are mentioned only as examples; we have no partnership with these tools.
Start with the Handover Audit; if you are in a crisis, write to the crisis line directly.
B2B White-Label Engineering Desk | Tel: +90 534 371 35 73 | Email: info@trendmasterakademi.com
Address: Akdeniz Mah. Sehit Fethibey Cad. Heris Tower No: 55 Ic Kapi No: 091 Konak / Izmir