Can one person safely maintain an AI-written app for a small business?

December 2, 2026 5 answers
Asked by Neldravo~!

I look after a small web app that handles customer records, forms, email and ticket sales. Most of the code is AI-generated, and while I check that features work, I'm less confident about bugs or security problems that aren't obvious.

I'm brushing up on programming and security, but I'm the only person maintaining it and there's pressure to keep shipping. What safety nets would you put in place first, and when does paying for outside review make sense?

Answers

_t48!gavelnix.5

Start with the paths where a quiet failure would hurt most: buying a ticket, recording payment, and reading or changing customer data. Put end-to-end tests around those before making big changes.

For payments, check that the server verifies notifications from the payment provider and doesn't mark an order paid just because a browser says it is. Test duplicate notifications too, so the same payment event doesn't accidentally create multiple tickets or orders.

For customer records, use two test accounts and try to fetch or edit one account's data while logged in as the other. A passing happy-path test won't catch a permission check that's missing entirely.

Vexlori~8j:

Tests generated by the same tool can miss the same assumptions as the code. Read the assertions and add cases where access or payment should be rejected.

Reply to this answer
_3v!Plimexo

Map the personal data first. Know what you collect, where it lives, who can access it, and how long you keep it. Free-text form answers can be more sensitive than they look, so don't collect or retain them without a reason.

Then trace the server-side authorization checks for each place that reads or changes records. Hiding a button in the interface isn't a permission check. Also check that logs and error messages aren't exposing form answers or other customer details.

Reply to this answer
_y47~quendavo.8

One person can own a small system, but that doesn't mean one person should be the entire recovery plan. Have a written checklist for outages and suspected data exposure, including who to contact and how to stop further access while investigating.

Keep encrypted backups off the server and test restores periodically. Add monitoring for failures in the app and payment processing, and make sure someone can see alerts when you're unavailable. Tell the owner what remains uncovered and document the decisions about which risks to accept or fund.

Reply to this answer
5h+ferrulepocket_394

Given that real users and sensitive data are already involved, I'd look for a human security review sooner rather than waiting for a particular customer count. Ask for a scoped review of authentication, authorization, data storage and the payment flow first. A full penetration test may be useful, but the scope and price will depend on the app and provider.

Get a written quote and ask what they'll actually test, what access they need, and whether retesting fixes is included. An AI review can help find things, but it shouldn't be the only independent check.

9h~teakettle_263:

A narrower review can give the owner a concrete cost to consider. Make sure the reviewer knows which parts handle sensitive form responses.

Reply to this answer
4p~brindlevisor_638

Keep using version control and review each change before it ships, even if the AI wrote it. Ask the tool to explain the code, then follow the actual path from the request through the permission check to the database. Don't assume the explanation matches the implementation.

For practice, pick a small function, predict what it does, write a test, then change it yourself. Reading is a useful skill on its own, but writing and debugging small pieces will make it easier to spot when generated code is doing something strange.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions