Glossary
Security words, in plain English
40 terms you will run into when you ship an app built with AI. Each one has a one-line definition, why it matters, and a way to check your own project.
.
A
- Anon keyKeys and secrets
An anon key is the public API key a Supabase app ships to the browser so visitors can talk to the database. It is safe to expose only when Row Level Security limits what it can read and write.
- API keyKeys and secrets
An API key is a string that identifies your app to a service and usually authorizes its requests and billing. Whether it is safe to expose depends on the service: some keys are public by design, most are private.
B
C
- Content Security Policy (CSP)Web attacks
Content Security Policy is an HTTP response header that tells the browser which sources of scripts, images, styles and other resources a page may load, limiting the damage if an attacker manages to inject code.
- CORS (Cross-Origin Resource Sharing)Web attacks
CORS is a browser rule set, driven by HTTP headers, that says which other websites may read responses from your server. It restricts browsers only and does not stop curl, scripts or other servers from calling your API.
- CSRF (Cross-Site Request Forgery)Web attacks
CSRF is an attack where a malicious website makes a logged-in visitor's browser send a request to your app, and the browser attaches their cookies automatically, so your server may treat the forged action as genuine.
- CVE (Common Vulnerabilities and Exposures)Process and tools
A CVE is a publicly listed security flaw in a specific product or library, identified by a unique ID such as CVE-2024-12345, so everyone can refer to the same vulnerability and track its fix.
D
- DAST (Dynamic Application Security Testing)Process and tools
Dynamic application security testing, or DAST, is testing a running app from the outside by sending it crafted requests and watching the responses, the way an attacker would, to find exploitable weaknesses.
- DPDP Act (India)Data and privacy
The Digital Personal Data Protection Act, 2023 is India's law on processing digital personal data, setting duties for organizations that decide why and how data is used and rights for the people it describes.
E
H
- HSTS (HTTP Strict Transport Security)Web attacks
HSTS is a response header that tells browsers to use only HTTPS for your site for a set time, automatically upgrading plain HTTP requests and blocking users from clicking through certificate warnings.
- HttpOnlyWeb attacks
HttpOnly is a cookie attribute that hides the cookie from JavaScript, so page scripts cannot read it through document.cookie. The browser still sends it to your server, which limits how much a cross-site scripting bug can steal.
I
J
L
- Least PrivilegeAccess and identity
Least privilege is the principle that every user, service, and key should get only the minimum access it needs to do its job, so a mistake or a stolen credential can do as little damage as possible.
- LockfileProcess and tools
A lockfile is a file, such as package-lock.json, that records the exact version of every dependency your project installed, so every install on every machine produces the same set of packages.
M
O
- OAuthAccess and identity
OAuth is a standard that lets one app get limited access to a user's account on another service, such as Google or GitHub, through an approval step, without ever seeing the user's password.
- OWASP Top 10Process and tools
The OWASP Top 10 is a widely used awareness list, published by the Open Worldwide Application Security Project, of the ten most critical categories of web application security risk, updated every few years.
P
- Password HashingAccess and identity
Password hashing is storing a one-way, deliberately slow, salted fingerprint of each password instead of the password itself, so a stolen database does not hand attackers everyone's real passwords.
- Penetration TestProcess and tools
A penetration test is an authorized, hands-on security assessment where a tester imitates real attackers against your app or systems to find weaknesses that could be exploited, then reports how to fix them.
- Prompt InjectionAI coding risks
Prompt injection is an attack where text given to an AI model, from a user or from content the model reads, overrides its instructions and makes it behave in ways its builder did not intend.
R
- Rate limitingWeb attacks
Rate limiting caps how many requests a client can make in a given time and rejects the excess, usually with an HTTP 429 response. It slows password guessing, scraping, spam and runaway bills from abuse.
- RBAC (Role-Based Access Control)Access and identity
Role-based access control, or RBAC, is a way of deciding what each user may do by giving them a role, such as admin or member, and attaching permissions to the role instead of to individual people.
- Row Level Security (RLS)Access and identity
Row Level Security is a Postgres feature that decides, row by row, which records each user may read or change, using rules called policies. In Supabase it is the main protection for data reachable from the browser.
S
- SameSiteWeb attacks
SameSite is a cookie attribute that tells the browser whether to attach the cookie to requests that start on a different site, using the values Strict, Lax, or None, which limits cross-site request forgery.
- SAST (Static Application Security Testing)Process and tools
Static application security testing, or SAST, is analysis of your source code without running it, using tools that look for insecure patterns such as injection flaws, hardcoded secrets, and unsafe function use.
- SecretKeys and secrets
A secret is any credential that grants access, such as an API key, database password, private key or signing key, and that must stay hidden from users, repositories and client-side code, and be rotated if it leaks.
- Secret ScanningProcess and tools
Secret scanning is automated checking of code, commits, and other text for hardcoded credentials such as API keys, tokens, and passwords, so a leaked secret is flagged before someone else finds and abuses it.
- Service role keyKeys and secrets
A service role key is Supabase's all-powerful backend key that bypasses Row Level Security and can read, change or delete any data in your project. It must live only on a server you control, never in a browser or mobile app.
- Session cookieAccess and identity
A session cookie is a small browser cookie that identifies a logged-in user to your server, and in the strict sense one with no expiry date that disappears when the browser session ends. Protect it with Secure, HttpOnly and SameSite.
- SlopsquattingAI coding risks
Slopsquatting is an attack where someone registers a package name that AI coding tools tend to invent, so that when you install the suggested but nonexistent dependency, you actually install attacker-controlled code.
- Source mapKeys and secrets
A source map is a file that links your minified, bundled JavaScript back to your original source code so debuggers can show readable code. If published to production, it lets anyone read your unbundled frontend source.
- SQL injectionWeb attacks
SQL injection is an attack where user input is inserted into a database query as code, letting an attacker read, change or delete data they should not reach. Parameterized queries prevent it by keeping input separate from the query.
- SSRF (Server-Side Request Forgery)Web attacks
Server-side request forgery, or SSRF, is a flaw where an attacker tricks your server into sending requests to a destination they choose, often internal services or cloud credential endpoints the attacker cannot reach directly.
- Supply Chain AttackProcess and tools
A supply chain attack is an incident where an attacker compromises something your software depends on, such as a library, build tool, or service, so the harm reaches you through code you chose to trust.
T
- Threat ModelProcess and tools
A threat model is a structured description of what you are protecting, who might attack it, how they could, and what you will do about it, made before problems appear so you spend effort on the risks that matter.
- Two-Factor Authentication (2FA)Access and identity
Two-factor authentication, or 2FA, is a login method that requires two different kinds of proof, such as a password plus a code from a phone app or a hardware key, so a stolen password alone is not enough.
X
Want the scanner when it ships?
Join the waitlist. One email when it opens, nothing else.