<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Saqr blog: security for apps built with AI tools</title>
    <link>https://usesaqr.com/blog/</link>
    <description>Practical articles on finding and fixing security issues in apps built with Lovable, Bolt, v0, Replit, Cursor and Claude Code, on Supabase or Firebase.</description>
    <language>en</language>
    <lastBuildDate>Sun, 29 Nov 2026 08:00:00 GMT</lastBuildDate>
    <atom:link href="https://usesaqr.com/blog/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>A security rules file for Cursor and Claude Code, ready to copy</title>
      <link>https://usesaqr.com/blog/security-rules-file-cursor-claude-code/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/security-rules-file-cursor-claude-code/</guid>
      <pubDate>Sun, 29 Nov 2026 08:00:00 GMT</pubDate>
      <description>Put about twenty specific, checkable security rules in AGENTS.md at the root of your repository, import it from CLAUDE.md with the line @AGENTS.md, and Cursor and Claude Code will both load it in every agent session. Cursor project rules must be .mdc files in .cursor/rules, and a plain .md file there is ignored. Both vendors say rules guide the agent but do not enforce anything, so add a deny rule for .env files in .claude/settings.json and test the result with one prompt.</description>
      <category>Cursor</category>
      <category>Claude Code</category>
      <category>GitHub Copilot</category>
      <category>Supabase</category>
    </item>
    <item>
      <title>How do I know if my website or app has been hacked?</title>
      <link>https://usesaqr.com/blog/how-to-tell-if-your-app-was-hacked/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/how-to-tell-if-your-app-was-hacked/</guid>
      <pubDate>Sun, 29 Nov 2026 08:00:00 GMT</pubDate>
      <description>Often you will not see it. Defaced pages and browser warnings are the loud cases, but the common problem for apps with customer accounts is quiet: data read through a setting left open changes nothing on screen. Look for the signs below, check Google's tools and your providers' sign-in history and bills, and if any sign points at customer data, treat it as a leak until you know otherwise.</description>
      <category>Google</category>
      <category>IBM</category>
      <category>Have I Been Pwned</category>
    </item>
    <item>
      <title>How much does a penetration test cost? Published prices, and what drives them</title>
      <link>https://usesaqr.com/blog/penetration-test-cost/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/penetration-test-cost/</guid>
      <pubDate>Sun, 29 Nov 2026 08:00:00 GMT</pubDate>
      <description>For one web app tested by people, published starting prices run from about $6,000 to $11,000, and UK firms on the government's buying list charge around £1,200 to £1,500 per tester per day. Automated and AI-run tests are published at about $100 to $3,500 per test. The biggest factor in any quote is how many days the testers need, which depends on how large and complicated your app is.</description>
      <category>Pen Test Partners</category>
      <category>mnemonic</category>
      <category>Somerford Associates</category>
      <category>Software Secured</category>
      <category>Astra</category>
      <category>Intruder</category>
      <category>Lovable</category>
    </item>
    <item>
      <title>How often should you do a penetration test or security test on your app?</title>
      <link>https://usesaqr.com/blog/how-often-to-test-app-security/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/how-often-to-test-app-security/</guid>
      <pubDate>Sun, 29 Nov 2026 08:00:00 GMT</pubDate>
      <description>Test in full at least once a year, and test again after every change that touches sign-in, payments, permissions or customer data. Card payment rules expect a penetration test at least yearly and after any significant change, which is a sensible floor for any app holding customer data. Apps built with AI tools can change every week, so a yearly test on its own leaves most of the year unchecked.</description>
      <category>NCSC</category>
      <category>Verizon</category>
      <category>PCI Security Standards Council</category>
      <category>OWASP</category>
    </item>
    <item>
      <title>Is it safe to build my app with AI (vibe coding)?</title>
      <link>https://usesaqr.com/blog/is-it-safe-to-build-an-app-with-ai/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/is-it-safe-to-build-an-app-with-ai/</guid>
      <pubDate>Sun, 29 Nov 2026 08:00:00 GMT</pubDate>
      <description>Yes for prototypes, internal tools and anything without real customer data. For an app that stores personal data or takes payments it can be safe too, but only if someone checks what the AI built before real users arrive. The tools build what works, not what is locked down, and their own documentation says the security of the app you build is your responsibility.</description>
      <category>Lovable</category>
      <category>Bolt</category>
      <category>Replit</category>
      <category>Supabase</category>
      <category>Veracode</category>
      <category>Escape</category>
    </item>
    <item>
      <title>Is my website safe? How to tell without being technical</title>
      <link>https://usesaqr.com/blog/is-my-website-safe/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/is-my-website-safe/</guid>
      <pubDate>Sun, 29 Nov 2026 08:00:00 GMT</pubDate>
      <description>You cannot tell by looking at it: a site can look perfect and still show one customer's data to another. A website is reasonably safe when the accounts that control it are locked down, it shows each visitor only what that visitor should see, and someone has tested that from the outside recently. You can check much of the first two yourself today, without writing any code.</description>
      <category>OWASP</category>
      <category>Google</category>
      <category>Mozilla</category>
      <category>Escape</category>
      <category>Pen Test Partners</category>
    </item>
    <item>
      <title>Multi-tenant SaaS on Supabase: can one team see another team's data?</title>
      <link>https://usesaqr.com/blog/supabase-multi-tenant-rls-org-id/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/supabase-multi-tenant-rls-org-id/</guid>
      <pubDate>Sun, 29 Nov 2026 08:00:00 GMT</pubDate>
      <description>It can if a policy checks that the user belongs to some organisation instead of the organisation that owns the row, if inserts and updates have no with check on org_id, or if users can add themselves to an organisation's member list. The safe pattern is an org_members table that only admins or your server can write, a security definer helper in a private schema that returns the caller's organisation ids, and a policy on every tenant table, for select, insert, update and delete, that compares the row's org_id with that list. Confirm it by querying as a user of one organisation and checking that no other organisation's rows come back.</description>
      <category>Supabase</category>
      <category>PostgreSQL</category>
    </item>
    <item>
      <title>My business is small. Do I really need to worry about security?</title>
      <link>https://usesaqr.com/blog/small-business-security/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/small-business-security/</guid>
      <pubDate>Sun, 29 Nov 2026 08:00:00 GMT</pubDate>
      <description>Yes, though not because anyone has picked you. Most attempts are automated and try every business they can find, and in the UK government's 2026 survey 42% of micro businesses and 46% of small businesses reported a breach or attack in the past year. The steps that prevent most problems are cheap, so a small business can be well protected without a big budget.</description>
      <category>NCSC</category>
      <category>FTC</category>
      <category>Verizon</category>
      <category>Escape</category>
      <category>OWASP</category>
    </item>
    <item>
      <title>My developer says the app is secure. How do I check?</title>
      <link>https://usesaqr.com/blog/developer-says-app-is-secure/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/developer-says-app-is-secure/</guid>
      <pubDate>Sun, 29 Nov 2026 08:00:00 GMT</pubDate>
      <description>Ask for evidence, not reassurance: who controls each account, how customer data is kept apart, where the secret keys live, when a backup was last restored and what an outside test found. A good developer will answer in plain words and welcome an independent test. Then check the few things you can see yourself, starting with the two-account test below.</description>
      <category>OWASP</category>
      <category>NCSC</category>
      <category>Lovable</category>
      <category>CISA</category>
      <category>Mozilla</category>
      <category>GitHub</category>
      <category>GitLab</category>
      <category>Stripe</category>
    </item>
    <item>
      <title>Prompt injection in your app's AI features: a defensive checklist</title>
      <link>https://usesaqr.com/blog/prompt-injection-defensive-checklist/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/prompt-injection-defensive-checklist/</guid>
      <pubDate>Sun, 29 Nov 2026 08:00:00 GMT</pubDate>
      <description>You cannot stop prompt injection with a better system prompt or a keyword filter: OWASP's 2026 entry says no reliable prevention mechanism exists today. Build so that a fooled model can do little harm. Keep untrusted text out of your instructions, give tools only the signed-in user's permissions, ask the user before anything that sends, deletes or pays, and treat the model's output as untrusted, especially links and images. Then test each AI feature with a harmless planted instruction.</description>
      <category>OpenAI</category>
      <category>Anthropic</category>
      <category>Supabase</category>
      <category>GitHub Copilot</category>
      <category>Microsoft 365 Copilot</category>
      <category>react-markdown</category>
    </item>
    <item>
      <title>Supabase views and functions that skip row level security, and how to find them in your project</title>
      <link>https://usesaqr.com/blog/supabase-views-functions-bypass-rls/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/supabase-views-functions-bypass-rls/</guid>
      <pubDate>Sun, 29 Nov 2026 08:00:00 GMT</pubDate>
      <description>A view in Supabase ignores the row level security on its tables unless it was created with security_invoker = true, because a view runs with its owner's privileges and the owner is usually postgres, which bypasses RLS. A SECURITY DEFINER function does the same, and any function in the public schema can be called through /rest/v1/rpc by default, even by signed-out visitors. List both with the two queries below, set security_invoker on each view, and for each security definer function either switch it to security invoker, revoke execute from anon and public, or move it to a schema the API does not expose and check the caller inside it.</description>
      <category>Supabase</category>
      <category>PostgreSQL</category>
    </item>
    <item>
      <title>The first hour after you find a data leak in your app</title>
      <link>https://usesaqr.com/blog/data-leak-first-hour/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/data-leak-first-hour/</guid>
      <pubDate>Sun, 29 Nov 2026 08:00:00 GMT</pubDate>
      <description>Write down the time, then work in this order: close the hole without deleting anything, rotate every key that could have been seen, and save your logs before your plan's retention removes them. Then work out what data was exposed, whose, and for how long, and check who you must tell: under the GDPR a controller notifies its supervisory authority within 72 hours of becoming aware, unless the breach is unlikely to put people at risk. This article is not legal advice.</description>
      <category>Supabase</category>
      <category>Firebase</category>
      <category>Vercel</category>
      <category>Stripe</category>
      <category>GitHub</category>
    </item>
    <item>
      <title>What happens if my website or app gets hacked?</title>
      <link>https://usesaqr.com/blog/what-happens-if-your-app-gets-hacked/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/what-happens-if-your-app-gets-hacked/</guid>
      <pubDate>Sun, 29 Nov 2026 08:00:00 GMT</pubDate>
      <description>It depends on what was reached. If someone only changed pages, you clean up, restore and move on; if customer data was read, you may have legal duties to tell a regulator and the people affected, within 72 hours under the GDPR, along with costs, lost time and questions from customers. Most small incidents cost little money, but the rare serious ones can cost a meaningful share of a year's revenue.</description>
      <category>FTC</category>
      <category>ICO</category>
      <category>Verizon</category>
      <category>IBM</category>
      <category>Google</category>
      <category>Supabase</category>
      <category>Lovable</category>
    </item>
    <item>
      <title>What is a penetration test, and do I need one?</title>
      <link>https://usesaqr.com/blog/what-is-a-penetration-test/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/what-is-a-penetration-test/</guid>
      <pubDate>Sun, 29 Nov 2026 08:00:00 GMT</pubDate>
      <description>A penetration test is a permitted, planned attempt to break into your own system, so you learn what an outsider could reach before someone tries. The UK's National Cyber Security Centre compares it to a financial audit. You need one when a customer, investor, insurer or regulation asks for it, or when your app handles money or sensitive records; before that, cheaper checks catch most of the common mistakes.</description>
      <category>NCSC</category>
      <category>PCI Security Standards Council</category>
      <category>Stripe</category>
      <category>PayPal</category>
    </item>
    <item>
      <title>Security incidents in apps built with AI tools, 2025 to 2026: a sourced timeline</title>
      <link>https://usesaqr.com/blog/vibe-coding-security-incidents/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/vibe-coding-security-incidents/</guid>
      <pubDate>Thu, 26 Nov 2026 08:00:00 GMT</pubDate>
      <description>Most publicly documented incidents in apps built with AI tools between March 2025 and November 2026 trace back to the same four causes: database tables without working row level security, keys shipped to the browser, storage anyone can read, and endpoints that never check who is calling. Each entry below gives the date, what happened, the cause, the primary source and the check that would have caught it. These are public reports about other products and say nothing about any reader's app.</description>
      <category>Lovable</category>
      <category>Base44</category>
      <category>Wix</category>
      <category>Supabase</category>
      <category>Firebase</category>
      <category>Replit</category>
      <category>GitHub Copilot</category>
      <category>Moltbook</category>
      <category>Tea</category>
    </item>
    <item>
      <title>Free tools to check the security of an app built with AI</title>
      <link>https://usesaqr.com/blog/free-security-tools-for-ai-built-apps/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/free-security-tools-for-ai-built-apps/</guid>
      <pubDate>Thu, 26 Nov 2026 08:00:00 GMT</pubDate>
      <description>Start with the free check your app builder already includes, then the Supabase Security Advisor or the Firebase rules tools, MDN HTTP Observatory for the live site, a dependency check and a secret scanner. Together they cover configuration, headers, known-vulnerable packages and leaked keys. None of them signs in as two users, so whether one customer can read another customer's data is still yours to test.</description>
      <category>Lovable</category>
      <category>Bolt</category>
      <category>Replit</category>
      <category>v0</category>
      <category>Supabase</category>
      <category>Firebase</category>
      <category>MDN HTTP Observatory</category>
      <category>OWASP ZAP</category>
      <category>npm</category>
      <category>GitHub</category>
      <category>OSV-Scanner</category>
      <category>Gitleaks</category>
      <category>TruffleHog</category>
      <category>Semgrep</category>
      <category>Chrome DevTools</category>
    </item>
    <item>
      <title>How to fix a security finding with your AI coding tool without breaking the app</title>
      <link>https://usesaqr.com/blog/fix-security-findings-with-ai-coding-tool/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/fix-security-findings-with-ai-coding-tool/</guid>
      <pubDate>Thu, 26 Nov 2026 08:00:00 GMT</pubDate>
      <description>Fix one finding at a time: give the tool the finding's proof and the behaviour you expect, ask for a plan before any edit, and reject plans that only hide the symptom in the browser. Then prove the fix yourself by repeating the request from the report on the running app, keep a regression test such as a two-account test, and commit each fix separately so you can undo it.</description>
      <category>Cursor</category>
      <category>Lovable</category>
      <category>Claude Code</category>
      <category>Supabase</category>
      <category>PostgreSQL</category>
      <category>OpenAI</category>
    </item>
    <item>
      <title>What does an AI penetration test actually check, and how is it different from a scanner?</title>
      <link>https://usesaqr.com/blog/what-does-an-ai-penetration-test-check/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/what-does-an-ai-penetration-test-check/</guid>
      <pubDate>Thu, 26 Nov 2026 08:00:00 GMT</pubDate>
      <description>An AI penetration test uses an AI agent to test a running app the way a person would: it maps the app, signs in with test accounts, decides where to look next and tries to prove each weakness with the request and response. A vulnerability scanner runs a fixed list of checks and reports what matched. AI pentests usually cover access control, misconfiguration, injection, sign-in and exposed data from the OWASP Top 10, but they cannot judge your business intent or promise an app is secure.</description>
      <category>XBOW</category>
      <category>HackerOne</category>
      <category>ZAP</category>
    </item>
    <item>
      <title>Can a user make themselves admin? How roles break in Supabase and Firebase apps</title>
      <link>https://usesaqr.com/blog/can-users-make-themselves-admin/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/can-users-make-themselves-admin/</guid>
      <pubDate>Thu, 26 Nov 2026 08:00:00 GMT</pubDate>
      <description>Yes, if the role lives in a field the user is allowed to write. The usual cause is a profiles table with a role, is_admin or plan column and an update policy that only checks that the row is the user's own, or Firebase rules that let a user write their whole user document. Keep roles where users cannot write them (a column they have no update privilege on, a separate roles table, Supabase app_metadata or Firebase custom claims), check them on the server, and confirm with a test account that changing your own role fails.</description>
      <category>Supabase</category>
      <category>Firebase</category>
      <category>PostgreSQL</category>
    </item>
    <item>
      <title>Can users unlock paid features without paying? Stripe in an AI-built app</title>
      <link>https://usesaqr.com/blog/stripe-payments-security-ai-built-app/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/stripe-payments-security-ai-built-app/</guid>
      <pubDate>Thu, 26 Nov 2026 08:00:00 GMT</pubDate>
      <description>They can if your app decides who has paid from anything the browser controls: a price sent from the page, a visit to the success URL, a plan column the user can update, or a webhook endpoint that does not verify Stripe's signature. Look prices up on the server, grant access only from a verified, idempotent webhook or a server-side check of the Checkout Session, and keep the plan field out of the user's reach.</description>
      <category>Stripe</category>
      <category>Supabase</category>
      <category>Next.js</category>
      <category>Lovable</category>
    </item>
    <item>
      <title>How to stop strangers running up your AI bill through your app</title>
      <link>https://usesaqr.com/blog/stop-ai-api-bill-abuse/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/stop-ai-api-bill-abuse/</guid>
      <pubDate>Thu, 26 Nov 2026 08:00:00 GMT</pubDate>
      <description>Treat your AI endpoint like a paid API you resell: refuse every request without a verified sign-in, count each user's requests on the server and stop them at a daily limit. Fix the model, the instructions and the maximum output tokens in server code, so the browser only sends the user's message. Then set a hard spend limit with your AI provider as the last line, because spend alerts alone do not stop traffic.</description>
      <category>Supabase</category>
      <category>OpenAI</category>
      <category>Anthropic</category>
      <category>Next.js</category>
      <category>Cloudflare</category>
    </item>
    <item>
      <title>Is your .env file, source map or .git folder public? How to check your own site</title>
      <link>https://usesaqr.com/blog/env-file-source-map-git-exposed/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/env-file-source-map-git-exposed/</guid>
      <pubDate>Thu, 26 Nov 2026 08:00:00 GMT</pubDate>
      <description>Request /.env, /.git/HEAD, /.git/config and the .map file next to your main script on your own domain, then read the response body, not only the status code, because many single-page apps answer every address with their home page and a 200. A safe answer is a 404, a 403 or your app's normal page. If a file with secrets comes back, treat every secret in it as leaked: remove the file, rotate the secrets, check your providers' logs and purge your CDN cache.</description>
      <category>Vite</category>
      <category>Next.js</category>
      <category>Netlify</category>
      <category>Sentry</category>
      <category>Bun</category>
      <category>npm</category>
      <category>Anthropic</category>
      <category>OpenAI</category>
      <category>Stripe</category>
      <category>AWS</category>
      <category>Google</category>
      <category>nginx</category>
    </item>
    <item>
      <title>Is AI-generated code secure? What the studies found, and what to do about it</title>
      <link>https://usesaqr.com/blog/is-ai-generated-code-secure/</link>
      <guid isPermaLink="true">https://usesaqr.com/blog/is-ai-generated-code-secure/</guid>
      <pubDate>Thu, 26 Nov 2026 08:00:00 GMT</pubDate>
      <description>Not by default. In Veracode's 2025 test of over 100 models on 80 security-sensitive tasks, 45% of code samples failed its security checks, and a Stanford study found people using an AI assistant wrote less secure code while believing it was more secure. AI code is not uniquely bad; the risk is that nobody reads it, so the permissive defaults it picks ship unchanged.</description>
      <category>GitHub Copilot</category>
      <category>OpenAI</category>
      <category>Veracode</category>
      <category>Escape</category>
      <category>Supabase</category>
      <category>Claude Code</category>
      <category>Cursor</category>
      <category>Lovable</category>
    </item>
  </channel>
</rss>
