AI writes login quickly but often misses expiry, logout and who-can-see-what. Test logging out, expired sessions and another user's data before launch.
10 items · 4 stories · 6 security incidents
Why it happens
AI tools generate sign-up and login screens quickly, but the hard parts are invisible in a demo: session expiry, real logout, password reset, and checking on the server that a user may see the data they ask for.
What to check in your own app
Test logging out, then pressing back and refreshing: you should not see private pages.
Create a second account and try to open the first account's records by changing IDs in the URL or request.
Check that every API route and database query verifies the user, not only the UI.
Test native and social login on a real device before launch.
Redproof read the code of 1,029 public apps built with Lovable, Bolt, v0, Cursor, Claude Code and other tools. 40% had at least one high or critical problem: 62% of 201 Lovable, Bolt and v0 apps and 20% of 152 full-stack Cursor and Claude Code projects. 15% had a .env secrets file committed, and among 174 n8n, Make, Zapier and bot projects, 9% leaked a secret.
Enabler Inc., which runs the Japanese AI service teai, published a technical report on 9 Nov 2026. Its chat AI had a code_execute tool that ran as root on the same machine as the service, so a user could ask the AI to read the main process's environment variables, which held almost all production secrets (about 100). Between 8 Sep and 9 Nov the stolen keys gave an attacker read and write access to the database, took over the CEO's account, wrote to backup storage, sent about 76,000 phishing emails from the company's domains and granted usage credits. Up to 2,536 users' names, emails and usage records may have been read.
UpGuard checked about 300,000 sites that use Supabase and found 16,326 databases with publicly readable tables, over half with signs of personal data. Tables created through the API, the route AI coding agents use, do not get RLS switched on by default.
MyBroadband reports that an internal dashboard Bootlegger's CEO or team built with Claude and hosted on Railway showed a login screen but shipped data in the page itself, so anyone with the URL could read it in the source. MyBroadband says it verified names and contact details for 132 Bootlegger locations plus some performance and financial data. The URL was found in employees' Instagram photos of their screens, and the app was taken down after MyBroadband asked about it.
A researcher found 16 flaws in one showcased Lovable app for exams and grades, including an inverted auth check that let logged-out visitors in. Teacher and student records were exposed; Lovable says its pre-publish scan had flagged issues the owner didn't fix.
Wiz found that undocumented Base44 endpoints let anyone register for private enterprise apps using only a non-secret app ID. Base44 patched it quickly after disclosure.
A builder shipped a Lovable/Cursor + Supabase app in three days. Researchers then wrote to the database via a Postgres view that bypassed RLS, and created accounts through Supabase Auth sign-ups that were never switched off.