AI Made Software Faster to Build, and Easier to Break

AI opened five kinds of security holes: apps built with AI tools that leak their data, assistants that take orders from what they read, made-up and hijacked packages, company data pasted into chatbots, and old software that attackers now find faster.

We build with AI every day, and it's why a small team like ours can ship what used to take a big one. But code now gets written faster than anyone reads it, assistants act on whatever text they're given, and the people looking for a way in have the same tools. Below are real cases of each hole, and what closes it.

Is an app built with AI tools safe to launch?

Often not without a check. Tools like Lovable, Bolt, Replit and Cursor can turn a description into a working app in an afternoon, but many ship without the rules that keep strangers out of the data. The app does what you asked, and nobody asked it to lock the door.

  • In March 2025 a researcher found that apps generated by Lovable often shipped without the database rules that decide who may read which rows. Anyone could read or write their tables (CVE-2025-48757). A follow-up scan found 303 leaking endpoints across 170 projects (Superblocks).
  • In February 2026 Wiz found that Moltbook, a social network whose founder said he wrote no code himself, had the same gap. Its database key sat in the page's JavaScript with no rules behind it, which exposed about 1.5 million API tokens and tens of thousands of email addresses (Wiz).
  • In May 2026 RedAccess counted about 380,000 publicly reachable apps built on Lovable, Base44, Netlify and Replit. About 5,000 of them held sensitive company information, including a bank's internal figures (Security Boulevard).

The pattern repeats: a key that is meant to be public, with nothing behind it deciding what it may reach; pages that check you're signed in but not whether the record is yours; admin screens nobody locked. The fix is ordinary security work, done before launch: read the access rules, try the app as a stranger and as the wrong customer, and move real secrets to the server.

Can someone take over an AI assistant with an email?

Yes. An AI assistant can't reliably tell your instructions from instructions hidden in the email, document or web page it's reading. In June 2025 researchers showed that one crafted email could get Microsoft 365 Copilot to pull internal files and send their contents out, without anyone clicking anything. Microsoft rated it critical and fixed it on its side (The Hacker News).

Simon Willison calls the dangerous setup the lethal trifecta: an assistant with access to private data, exposure to untrusted content, and a way to send things out. Put all three in one assistant and someone else can steer it. His advice is to never combine them, and no filter product changes that.

That shapes how assistants should be connected to a business:

  • each assistant sees only what the person using it is allowed to see, not one admin key for everyone,
  • it can't send data to the outside world on its own say-so,
  • and a person approves anything that can't be undone, like a payment, a deletion or an email to a customer.

It's how we built the MCP server that lets ChatGPT and Claude work in SawirPost: with each person's own permissions.

Packages that AI made up, and packages that got taken over

Ask an AI for code and it will sometimes import a package that doesn't exist. A study presented at USENIX Security 2025 found commercial models did this in at least 5.2% of cases and open-source models in 21.7%, with 205,474 different made-up names (Spracklen et al.). Attackers can register those names and wait for someone to install them. This is called slopsquatting.

Real packages get taken over too. In September 2025 a self-spreading worm called Shai-Hulud stole publishing tokens from npm developers and pushed itself into more than 180 packages (Krebs on Security). It came back in November, spreading through more than 25,000 GitHub repositories (Unit 42).

To guard against both, check that every package your software installs is the one you meant, pin the versions, update on purpose instead of automatically, keep keys out of the code, and replace any key that has ever been in a repository. For AI services, set a spending limit, so a stolen key can't run up a bill overnight.

Company data pasted into chatbots

The quietest leak doesn't involve an attacker. Someone on your team pastes a customer list or a contract into whatever chatbot is open, on a personal account, because it's faster. RedAccess found the exposed apps above while studying this kind of unsanctioned AI use.

Banning it rarely works. Three things work better: company accounts on AI tools that don't train on your data, a short written rule about what may go where, and the AI your team needs built into your own systems. Then the quick way is also the safe one.

The old software nobody updates

None of this replaces the old problems. Frameworks years out of date, plugins nobody updated, passwords written into the code, admin pages left open. AI makes those easier to find too, and a published flaw turns into an attack faster than it used to. Software that holds customer data needs its security updates applied as they come out, backups that have been tested by restoring them, and limits on anything that can be tried over and over, like the sign-up codes in a church app we look after.

What we offer

This is now a service of its own: security for software built and run in the AI era. We check apps built with AI tools, the assistants connected to your systems, the packages and keys behind them, and software nobody has looked at in years. You get a list in plain language, worst first, saying what someone could do with each hole and what fixing it takes. Then we fix what you ask us to, check again, and can stay to keep it patched. We price it after a first call, once we know what you run.

It isn't a certificate. If a customer or regulator asks for a penetration test report from a certified firm, or for SOC 2 or ISO 27001, you'll need one of those firms. We can get your software ready before they come and fix what they find.

If you built something fast and real customers are signing up, or you're about to connect AI to company data, tell us what you run.

Keep reading: how we made our own sites ready for AI agents, or what a forward deployed engineer is.