Security wiki: terms explained plainly
Short definitions of the terms you run into while building with AI tools, each with an example and a link to the guide that goes deeper.
A
B
- Broken function level authorization (BFLA)BFLA means a normal user can call a function meant for admins, such as changing plans or deleting users. How it appears in Supabase apps, with tested SQL.
- Broken object level authorization (BOLA)BOLA is the API name for IDOR: an endpoint returns or changes an object without checking it belongs to the caller. Examples from Supabase apps and fixes.
C
- Content Security Policy (CSP)A Content Security Policy tells the browser which scripts and resources your page may load. How it limits XSS damage in Vite and Lovable apps and how to roll it out.
- Credential stuffingCredential stuffing is the automated testing of e-mail and password pairs leaked from other sites against your login. Why it works and how to protect a Supabase app.
- Cross-origin resource sharing (CORS)CORS is the browser rule set that decides which other websites may read your API’s responses. What it protects, what it doesn’t, and the settings to avoid.
- Cross-site request forgery (CSRF)CSRF tricks a signed-in user’s browser into sending a request your app did not intend. When Supabase and Lovable apps are exposed and how to defend.
- Cross-site scripting (XSS)XSS lets someone run their own JavaScript inside your app, in other users’ browsers. Where React apps are still exposed and how to check and fix yours.
- CVE (Common Vulnerabilities and Exposures)A CVE is a public ID for one known vulnerability in a specific product, like CVE-2021-44228. What it tells you, what it doesn’t, and how to check your dependencies.
- CVSS (Common Vulnerability Scoring System)CVSS scores a vulnerability’s severity from 0 to 10. How to read a score and a vector string, what Low to Critical means, and why severity is not the same as risk.
- CWE (Common Weakness Enumeration)CWE is the public catalogue of software weakness types, like CWE-862 Missing Authorization. How CWE differs from CVE and how to use CWE IDs in a security report.
E
- Edge functionAn edge function is server-side code that runs close to your users. What Supabase Edge Functions are for in AI-built apps and how to check they are locked down.
- Environment variableEnvironment variables hold configuration outside your code. Why VITE_ variables end up in the browser, where secrets belong instead, and how to check your app.
H
I
- IdempotencyAn idempotent operation has the same effect whether it runs once or many times. Why webhooks and payments need it, and a tested Postgres pattern to skip repeats.
- Insecure direct object reference (IDOR)IDOR means a user can read or change someone else’s record just by changing an ID. How it shows up in Supabase apps and how to check and fix yours.
J
L
- Least privilegeLeast privilege means every user, key and process gets only the access it needs. What that looks like in a Supabase app, with a tested query of anon’s grants.
- LockfileA lockfile records the exact version of every package your app installs. Why it matters for security in AI-built apps and how to use it correctly.
M
- Magic linkA magic link signs a user in through a one-time link sent by e-mail. How magic links work in Supabase, their limits, and what to check in your app.
- Multi-tenancyMulti-tenancy means one app and database serve many customers at once. The common models, why AI-built SaaS apps use shared tables, and what keeps tenants apart.
O
- OAuth 2.0OAuth 2.0 lets an app get limited access on a user’s behalf without their password. How ‘Sign in with Google’ works in Supabase apps and where it goes wrong.
- OWASP Top 10The OWASP Top 10 lists the most critical security risks to web applications. The 2025 categories, the API and LLM lists, and what they mean for AI-built apps.
P
- PKCEPKCE binds an OAuth login code to the browser that started the login, so a stolen code is useless. How Supabase uses it and how to check your app.
- Postgres policy (RLS policy)A Postgres policy is the rule row level security applies to each row. The parts of CREATE POLICY, how policies combine, and a tested query to review yours.
- Prompt injectionPrompt injection is when text a model reads changes what it does, against your app’s intent. Direct and indirect forms, examples from AI features, and defenses.
R
- Rate limitingRate limiting caps how often a client may call an endpoint in a time window. Why AI and login endpoints need it, what Supabase limits for you and what it does not.
- Row level security (RLS)Row level security is the Postgres feature that decides, row by row, who may read or change data. Why Supabase apps depend on it and how to check yours.
S
- SAST, DAST and SCASAST reads your source code, DAST tests the running app from outside, SCA checks your third-party packages. What each finds, what each misses and how they fit.
- Secret rotationSecret rotation means replacing an API key or password with a new one and retiring the old one. When to rotate, in which order, and how Supabase and Stripe help.
- SECURITY DEFINERA SECURITY DEFINER function runs with its owner’s rights, which in Supabase usually means it skips RLS. When to use it, how it goes wrong, and a tested check.
- Server-side request forgery (SSRF)SSRF lets a user make your server fetch a URL of their choice, including internal addresses. Where it hides in edge functions and how to block it.
- Service role key (secret key)The Supabase service_role or secret key bypasses row level security. What it is for, why it must never reach the browser and what to do if it did.
- Software supply chain attackA supply chain attack hits your app through code you didn’t write: npm packages, build tools or CI. How it affects AI-built apps and the habits that reduce the risk.
- SQL injectionSQL injection happens when user input becomes part of an SQL command. Where it still shows up in Supabase apps, how to find it and how to fix it, with tested SQL.
T
- Tenant isolationTenant isolation keeps each customer’s data out of every other customer’s reach in a shared app. How it fails in Supabase apps, and a tested membership policy.
- TyposquattingTyposquatting means publishing a malicious package under a name close to a popular one. Why AI-built apps are exposed and how to check your dependencies.
V
W
- WebhookA webhook is an HTTP request a service sends to your app when something happens, such as a paid invoice. How webhooks work in AI-built apps and what makes them safe.
- Webhook signatureA webhook signature proves that a webhook really comes from the provider and was not changed. How HMAC signatures work, how Stripe signs events and what to check.
Find this in your own app
ShipRely reads your repository (read-only), proves each finding with file and line, and gives you a fix prompt to paste into your AI builder.
Run a demo audit- Read-only access to your repository
- Every finding with file and line
- Fix prompts for Lovable, Cursor, Claude Code and Bolt