The short answer

An AI-built application does not automatically need a rewrite. Check access to data, completion and repetition of important operations, backup restoration and control of production accounts. Use those results to decide what to keep and what to repair.

Start with two accounts

Create two test companies with separate users and records. Sign in to the first and try opening a record belonging to the second. Repeat the request directly to the server, including updates, exports and attachments. Use an authorised test environment and suitable test data.

The server should reject the request without returning the other company’s content. Hiding a button does not enforce that boundary. OWASP recommends checking authorisation on every request. The same rule applies to mobile interfaces and API clients.

If this fails, pause feature work and fix the server-side access decision. Changing the screen alone will leave the underlying access exposed.

A payment may succeed even when the response never arrives

Fictional example; no real payments

A customer submits an order. The payment service accepts it, but the connection drops before the response reaches the application. The customer clicks again. Is there one order, two orders, or a payment without a recorded order?

Use an explicit acceptance scenario:

  1. Submit a valid request and interrupt the connection before receiving the response.
  2. Repeat the same operation with the same operation identifier.
  3. Check for one business result and a traceable status for both attempts.
  4. Reconcile your records with the payment service.

The mechanism depends on the API. Repeating an outgoing request is different from receiving a notification twice. See what should happen when an integration fails.

Five checks beyond the presentation

CheckExpected result
Remove a role from a signed-in userThe next protected operation respects the new permission.
Submit the same order twiceOne business outcome for the same operation.
Disconnect a dependent serviceA visible status, a responsible person and a recovery path.
Restore a database copy separatelyLogin, records and associated files work.
Deploy from the handed-over repositoryAnother authorised person can follow the documentation.

This is a starting point for acceptance, rather than a complete security audit. Match the review to the consequences of failure. Record the behaviour checked, the input used and the result; a screenshot alone cannot establish that an operation is safe.

Who controls the production accounts?

Identify the owners of the domain, hosting, database, payment account and any AI API account. Check account recovery, incident notifications and spending alerts. Keep test credentials and data separate from production.

If an active secret was exposed in public code or a browser bundle, deleting it from the current file is insufficient. Arrange a replacement and revoke the exposed credential. GitHub documents leaked-secret remediation; plan the change so dependent services can continue working.

AI features also need spending limits and a decision about which information may be sent to a provider. OpenAI’s production guidance includes separating environments and monitoring costs. Check the controls available for your chosen provider.

Decide between repair and rebuild using evidence

A blanket rewrite recommendation without inspecting the application is an expensive shortcut. If the project can be built, its data is understandable and its main rules work, targeted repairs may be a better purchase. Repeated changes breaking unrelated features require a different assessment.

Ask a takeover supplier to separate what can stay, what prevents launch and what can wait. Each issue should include an example, a consequence and a way to verify the repair. Compare repair and rebuild estimates for the same scope.

For an initial conversation, share the application’s purpose, technology, availability of its repository and main concern. Arrange access to technical materials separately; do not put passwords or production data in a general enquiry form.

How we can help

Need someone to take over or complete your application?

Discuss an application takeoverApplication handover and development

Examples in this article are illustrative. Technical references are linked beside the corresponding claims. How we prepare articles.