Secure it in this order: find out what it touches, replace every password and key it uses, move the code, the hosting and the accounts into the company’s name, close the ways in that should not be open, make it recoverable, and then have the code reviewed and name its owners. Do the work with the person who built it. Do not start by turning the app off, unless it is exposing data right now.
The order is by risk. The first steps close the exposures that could hurt the company this week and need no code reading. The later ones take longer and decide whether the app stays.
1. Find out what it touches before you change anything
Every later step depends on this, and the builder holds most of the answers. Sit down with them and write one page.
- What it does and who uses it. How many people, how often, and what stops if it is unavailable.
- What data it reads and writes. Customer records, employee information, prices, financials.
- Where it runs. AI app-building tools often host the app and its database on their own platform, under the builder’s personal sign-in.
- What it connects to. Company systems, outside services, and any AI model it sends data to.
- Whose accounts and whose card. Every account the app depends on, and who pays for each.
Then check whether anything is exposed right now. A public address with no sign-in, a database reachable from the internet, or real customer data in a personal account are reasons to act today. Put the app behind a sign-in or take the public address down, and tell the users why.
2. Replace every password and key
Do this second because it is quick and because the keys may already be known to other people. A key may be written into the code, saved in the history of the code repository, or pasted into the AI tool during the build, where the tool’s vendor now holds it.
- Search the code and its history for passwords, API keys and connection strings.
- Issue a new one for each, and cancel the old one.
- Store the new ones in the company’s secrets store or the host’s secret settings, never in the code.
- Give the app its own credentials for each system it connects to, limited to what it needs. It should not be using the builder’s own sign-in or an administrator key.
3. Move it into the company’s name
An app the company depends on should not disappear when one person leaves, changes their password or cancels a card.
- The code goes into a repository the company controls, with its history.
- The hosting and the database go into a company account, whether that is your own cloud or a company-owned account on the platform that hosts it now.
- Outside services the app uses, such as an AI model provider or an email sender, are registered to a company address and billed to the company.
- Administrators are at least two people, on company accounts.
While you are there, confirm that you can export the code and the data from the platform. If you cannot, that limits your choices later, and it is better to know now.
4. Close the ways in
Now that the company controls the accounts, decide who should be able to reach the app and remove everyone else.
- Sign-in. Put the app behind the company’s sign-in, so every user is a named person and access ends when they leave.
- What each user can see. A first version often shows every user everything. Decide the roles and check that the server enforces them. A button hidden on the screen does not protect the data behind it.
- The database. It should accept connections from the app and from administrators, and from nowhere else.
- Leftovers. Remove test accounts, shared passwords, old preview addresses and anyone who no longer needs access.
5. Make it recoverable, have the code reviewed and name its owners
What is left is the same work as for an app that has not gone live yet. Turn on backups and restore one, record who signs in and who changes what, have the code reviewed by someone who can read it and did not write it, and name an owner in the business and an owner in IT. Someone built an app with an AI coding tool. What should IT check before it goes live? lists each of those checks and says what the answers usually mean for whether the app is hardened, partly rebuilt or retired.
6. Keep the builder involved
The builder knows the problem better than anyone, and should keep shaping the app. What changes is how a change reaches the users: through the company’s repository, with a second person reading it first. Before an AI-Built System Runs Your Business makes the same case to the business owner.
Then make this route the easy one for the next person who builds something. If people learn that telling IT gets them help, the next app will reach you before it holds customer data.
Common questions
Should we shut the app down until it is secured? Only if it is exposing data right now, for example through a public address with no sign-in. Otherwise restrict what is risky and keep it running. People depend on it, and turning it off sends the work back to whatever it replaced.
The app runs on the AI tool’s own hosting. Does it have to move? Not always. It does have to sit in an account the company owns, with more than one administrator and company billing. Whether it moves to your own cloud depends on the data it holds and on whether the platform gives you the access controls, backups and logs you need.
What if nobody on the team can read the code? The first four steps still apply, because they are about accounts, keys and access and need no code reading. For the review itself, bring in someone who can read the code and who did not build it.
Should the employee who built it be in trouble? No. They solved a problem the business had, and they know what the app is supposed to do. If people expect to be punished, the next app will not be reported to IT at all.
If you want an independent read of the code before you decide whether the app is hardened, partly rebuilt or retired, the vibe check is our System Evaluation for AI-built code, for a fixed fee.