A laptop screen showing a dark business dashboard full of charts and figures, a plant blurred behind it.
FIELD NOTE / 11 · SECURITY

Built a business app with AI? A Cape Town coffee chain leaked 132 stores' data that way: five checks before yours goes online

The dashboard had a login screen. The data came down with the login page anyway, readable in the page source by anyone who had the address.

By M.Y Tech Guys · · 6 min read

What happened: a dashboard behind a login, and the data came down with the login page

An internal dashboard run by Bootlegger, the coffee chain founded in Cape Town, had a login screen. According to MyBroadband, the app sent a large amount of data along with that login page, so anyone with the address could read it in the page source without logging in. MyBroadband confirmed the data included names and contact details linked to 132 Bootlegger locations, plus some performance and financial data.

The address was not guessed. An anonymous poster said staff had been posting photos of their laptop screens on Instagram, the site was visible in those photos, and somebody looked it up. MyBroadband reported that the CEO or his team appear to have built the dashboard with Claude, an AI coding tool, after he wrote on LinkedIn about six weeks of vibe-coding every night. It ran on a cloud platform called Railway. The app was taken down after MyBroadband sent its questions.

None of this is special to that company. A dashboard the whole business uses, built in weeks by people who are not full-time developers, is a real achievement. The hole is the one AI coding tools do not close for you: they write what you ask for, and nobody asked whether the data leaves the server before the login is checked. If you are still deciding which tools are worth adopting, start there. This post is the other half: you have built something, and here are five checks before it goes online.

Check 1: does the login actually gate the data, or just hide it?

A login screen is one of two things. It is a door when the server refuses to hand over any data until it has checked who you are. It is a curtain when the data is already sitting in your browser and the login only decides whether to show it. On the reporting, the dashboard was a curtain: the data travelled with the login page.

You can tell the difference in five minutes:

  1. Open the app in a private browser window and do not log in.
  2. Look at what the page has already loaded (Check 2 shows you where).
  3. If you can see real records before logging in, the login is a curtain.

If someone else built it, ask them two questions and want a yes or no to each: "Does every data request check the session on the server, not just the page?" and "What comes back if I call the data address directly without logging in?" Anything but a refusal to the second means it is not finished.

POPIA section 19 requires you to secure personal information with "appropriate, reasonable technical and organisational measures" against unlawful access. A curtain is not one.

Check 2: what is in the page source?

The people who found the leak used nothing special. They read the page source, which every browser shows. Run the same audit on your own app before anyone else does:

  1. Open the app's address while logged out.
  2. Right-click and choose View page source (Ctrl+U on Windows, Cmd+Option+U on a Mac).
  3. Search the source (Ctrl+F or Cmd+F) for a surname you know is in the data, a phone number, an email address, a branch or store name, and the words "password", "key", "secret" and "token".
  4. Open the browser's developer tools (F12 on Windows, Cmd+Option+I on a Mac), go to the Network tab, reload the page and click through the responses that arrive before you log in.
  5. Log in as the lowest-level user you have, a branch login or a staff account, and check whether they can see what only a manager should.

Anything you find in steps 3 to 5 is a finding. Screenshot it, note the address and the time, and give it to whoever fixes the app. Do not post the screenshot anywhere: that is how this case started.

Check 3: who hosts it, where, and who else can reach it?

You should be able to answer three questions without phoning the person who built it:

A private address is not a security control. This one leaked through photos of laptop screens. Assume yours will get out.

Check 4: what is still online from the old version?

Every rebuild, migration and "v2" leaves something behind: a previous deployment, a test address, a staging database, a demo login, a preview link the AI tool generated. Nobody uses it, so nobody looks at it, and it may still serve real data without the fixes you made to the new one.

The check:

Then make it a rule: switching the old version off is a task with a date and a named person, not something that happens when it stops being used. If the old estate has grown past what you can list yourself, our IT support team can inventory it and close what should be closed.

Check 5: if it has already been online, who do you tell under POPIA?

Names and contact details of real people are personal information. Under POPIA section 22, where there are reasonable grounds to believe personal information has been accessed or acquired by an unauthorised person, the responsible party must notify the Information Regulator and the people affected, as soon as reasonably possible after the compromise is discovered. Two honest limits. Taking an app down does not establish whether anyone copied the data first, so you work from what was exposed, not from proof of theft. And the decision belongs to your Information Officer with legal advice, not to whoever built the app.

  1. Take the app offline or close the hole, and record the time.
  2. Establish what data was reachable, from which addresses, and for how long.
  3. Your Information Officer decides on section 22 notification and writes the decision down, with the reasons.

What the Regulator is doing about businesses that get this wrong is in our post on the POPIA enforcement notice and fines.

General information, not legal advice; your Information Officer and your lawyer lead on a notification decision.

The five checks on one page

1. The login gates the data on the server. Test it logged out, in a private window.

2. Nothing real is in the page source or the Network tab before you log in.

3. You can name the host, the country the data sits in, and everyone who holds an admin login.

4. Every old address is switched off or behind the same login.

5. Your Information Officer knows what personal information is in the app and what section 22 would require.

AI coding tools let a small business build what used to need a developer and a budget. They do not review their own work. The five checks above are what a review is, and the best person to run them is someone who did not write the code.

If you have built an app with AI, or had one built, we will review it before it goes online: the five checks run by someone who did not write it, a written finding for each, and the fixes scoped.

Have someone who did not write it check it

We run the five checks on an app you built or had built with AI, give you a written finding for each, and scope the fixes before it goes online.

Get in touch →