Enterprise Adoption3 min read

An AI-Built App That Works Can Still Leak Client Data

By , Senior AI ConsultantPublished

A staff-built app looks the same whether or not it is locked, so the check is trying to reach a record as a stranger; in one scan, about 170 of 1,645 apps leaked user data.

A recruiter, a finance analyst or a shop manager who cannot get a tool approved can now build it in an afternoon. Some of them are putting those apps in front of clients before IT has heard of them. In one case the builder used her personal laptop and email, paid with her own card when the free trial ended, and made an app whose access keys sat in code any visitor could read and whose business data opened without a sign-in.

A working app looks the same whether or not it is locked

The apps these tools produce are usually a screen that talks straight to a database. The screen runs in the visitor's browser, so the key that lets it reach the database travels with the page, where anyone can copy it. That is normal. What protects the data is a rule inside the database about who may read which records.

Without that rule, the copied key opens everything. In the Lovable apps, that meant personal details, financial records and administrator logins. The builder never sees this, because the builder opens the app, sees their own data, and everything works. It is the shared-document problem again: "anyone with the link" and "only my team" feel identical to the person who made the link.

AI builders are weakest where the work is invisible

An AI tool is asked to make the app work, and it does. A rule that protects against someone who is not you changes nothing the builder can see, so it is rarely asked for and easy to skip. AI code generators do worst at exactly these controls, the database access rules and the sign-in checks. So this is not one tool's quirk. Any tool that builds for a person who cannot read the code will tend to leave the same gap, and the person will not know to look.

The check is an attack, and a manager can run it

Take a recruiting team that builds a candidate tracker with CVs, phone numbers and salary expectations, then shares the link with hiring managers. A manager can test it in five minutes. Open the link in a private browser window without signing in. If any candidate appears, stop. Then change the number at the end of one candidate's address and see whether a different candidate loads. A full review of a generated codebase takes far longer, and this test catches the failure that actually exposed those 170 apps.

The test cannot tell you whose account the app lives in. In the personal-card case, the client tool belonged to an employee's private account, so it leaves the company when she does.

Safe defaults scale better than reviews

Forbidding staff to build does not remove the workflow problem they were solving, and the employee above built her tool because approval failed. Sending every app to engineering turns routine tools into long-term commitments. The alternative is an approved platform where business teams build and maintain their own apps, and IT sets boundaries that the platform enforces. I think the important part is that the database rule is already on before anyone types a prompt. Putting an app where colleagues can use it was always the hard part of work software, and a platform that handles it safely by default removes the step builders forget.

Most companies already have such apps, so start with a list. Ask each department what its people have built, and compare the answers with the company's sign-in records and spending reports. For each app, write down the owner, a backup, the data it touches and who can open it. Apps with no owner, with wider access than the work needs, or running on someone's personal account come first. A manager who does only one thing should run the stranger test on every app their team has made, starting with the ones clients can reach.

Share this

STAY INFORMED

Get AI intelligence like this delivered to your inbox.

Free forever · Unsubscribe anytime


You May Also Find Valuable