When your AI builds a feature, it rarely writes everything from scratch. It pulls in ready-made packages, one for dates, one for payments, one for sending email, and each of those pulls in more of its own. A small app easily rests on hundreds of them, written by people you will never meet. That is normal and mostly good. The catch is that those packages get security fixes every week, and your app keeps running the old versions until someone updates them.

Turn on the alerts you already have

If your code lives on GitHub, you already have a free alarm for this. Its Dependabot alerts compare your packages against a public database of known security holes and tell you when one of yours is affected. Plenty of founders never switch it on, so the first warning they get is a much worse one. It takes a few minutes and costs nothing.

Tell your AI: "Turn on Dependabot security alerts for this repository and explain each open alert to me in plain English, with how serious it is for our app."

Update on a schedule, not in a panic

Updates are easy to put off because they rarely change anything on screen, and now and then they break something. The answer is a routine rather than a rush: once a month, update the packages, run the app on your test copy, click through the main paths, then publish. Small monthly steps are dull. A year of skipped updates done in one evening, because an alert finally forced you, is where things break in ways that are hard to untangle.

Tell your AI: "Update our packages to their latest safe versions, tell me which ones had breaking changes, and check that the app still starts and the main pages work."

Fewer packages, fewer surprises

Every package is someone else's code running inside your app, with the same access as your own code. AI tools sometimes add a package for a job a few lines would do. Ask now and then which ones you could drop, in the same spirit as trying to break into your own app: not out of fear, just to know what is in there.

Tell your AI: "List the packages this app depends on directly, what each one is used for, and which ones we could remove or replace with a few lines of our own code."