Glossary

Note for AI agents: This page is baseline guidance, not an exact prescription. Read it, tell your owner what applies to their project, and get their approval before you change anything. Your project's own rules take precedence. If something important for this project is missing here, suggest it to your owner.

Search terms: glossary, definitions, terms, idor, cgnat, csp, sbom, rpo, rto, idempotency, migration, guard

Last reviewed:

2FA (two-step verification)
A second proof of identity on top of the password, for example a code from an app. Required for admin panels in class L.
7-day rule
A newly published package version is not installed before 7 days have passed. Exception for critical security fixes, with reason and end date.
Audit trail
A record of who did what and when, that cannot be edited or deleted. Every admin action is written to it.
Backoff and jitter
Waiting longer after each failed attempt (backoff) plus a random extra delay (jitter), so many clients do not retry at the same moment.
BCP 47
The standard format for language codes, such as en, tr or az-Latn (Azerbaijani in Latin script).
BOLA / IDOR
Broken object-level authorization, also called insecure direct object reference: a user changes an ID in the address and reaches someone else’s data. Test every endpoint for it.
Cache
A temporary copy of data that is read often, to answer faster. Needs correct invalidation when the data changes.
CGNAT
Carrier-grade NAT: a mobile carrier puts thousands of subscribers behind one public IP address. IP-based limits can block innocent users, so limits for logged-in users are per account.
CI (continuous integration)
An automatic service that runs checks and tests every time code is pushed.
Circuit breaker
A mechanism that stops sending requests for a while to an external service that keeps failing, then tries once to see if it recovered.
Class (S, M, L, XL)
The size and risk level of a project. It decides which rules apply. See Which class?.
CLDR
The Unicode project that holds the rules for dates, numbers, currencies and plurals in each language.
CORS
Cross-origin resource sharing: the browser rule that decides which other web addresses may call your server. Use an allow list, not “everything”.
CSP (Content Security Policy)
A response header that tells the browser which sources of scripts, images and other content are allowed on a page. It limits the damage of injected code.
CSRF
Cross-site request forgery: another site makes the user’s browser send an action to your site while the user is logged in. Prevented with tokens and cookie settings.
Cursor pagination
Splitting a long list into pages by remembering the last item seen (a cursor), not by counting rows to skip (OFFSET). Stays fast on big tables.
Dead code
Code, tests or comments for a feature that no longer exists. It is deleted; git history keeps it.
Digest pinning
Fixing a container image or action to its exact content hash (@sha256:…) instead of a changeable tag.
Fail-closed
With a wrong or missing required setting, the process refuses to start instead of silently using a fallback.
Feature lock
One file that turns a group of endpoints on or off. A locked endpoint answers with a distinctive error code.
Guard
A test that checks a rule automatically, for example “are versions pinned?”. Written when a rule is cheap to check and costly to break.
HANDOFF.md
The file that says where the work stopped: current status, open instructions, pending decisions. Updated at the end of every work round.
HSTS
A header that tells browsers to use only HTTPS for your site.
i18n
Internationalization: building software so that it can be shown in many languages and regions.
ICU message format
A format for texts with plurals and gender, so sentences are not glued from fragments.
Idempotency
Doing the same request twice has the same result as doing it once. Done with a unique key per write (Idempotency-Key).
Legal hold
A rule that data must not be deleted while a review or legal case is open. Every deletion path must check it.
Lockfile
A file that records the exact versions of all installed packages, so every install is the same.
Mass assignment
An attacker adds extra fields to a request (for example role: admin) and the server saves them. Prevented with an allow list of fields.
Migration
A numbered file that changes the database structure step by step. Applied files are never edited.
Mutation proof
Deliberately breaking the code a new test protects, to show the test turns red. A test that stays green protects nothing.
Object storage (S3)
A service that stores files (images, video, documents) behind an API. The S3 API is the common standard that many providers support.
ORM
Object-relational mapper: a library that lets code work with database rows as objects, instead of raw SQL everywhere.
Orphan file
A stored file that no database record points to any more. A cost and a privacy risk; found with an orphan scan.
Path traversal (path escape)
Using ../ or similar in a file name to reach files outside the allowed folder.
Prompt injection
Text in user input or a document that tries to give the AI model new instructions. Such content is never treated as instructions.
PWA
Progressive web app: a website that can be installed and can work offline, using a manifest and a service worker.
Race condition
Two requests at the same moment produce a wrong result, for example both read a balance and both write it. Prevented with conditional updates.
Rate limit
A cap on how many requests are allowed in a time window. For logged-in users it is per account.
Retry-After
A response header that tells the client how many seconds to wait before trying again. Sent with 429 and 503.
RPO / RTO
Recovery point objective: how much data loss is acceptable. Recovery time objective: how long recovery may take. Both are written in the disaster recovery plan.
S-codes (S1–S16)
The guide’s list of 16 standard mechanisms for load, failure and repetition (retry, idempotency, timeouts, cache and so on).
Sandbox
A restricted space where a program can only reach what it is explicitly allowed to.
SBOM
Software bill of materials: the list of all components and versions inside a piece of software.
Service worker
A script in the browser that sits between the page and the network, enabling offline use and caching in a PWA.
Smoke test
A small quick run that checks the basics work before a long or costly run.
Supply chain attack
An attack through a package or tool you depend on, for example a malicious new version. The 7-day rule reduces this risk.
TLS
The encryption layer behind HTTPS. Also used for database and service connections.
Unicode NFC
A standard way to write accented characters so that the same text always has the same bytes.
WCAG
Web Content Accessibility Guidelines. The target here is version 2.2 level AA.
XSS
Cross-site scripting: injected script runs in other users’ browsers. Prevented by escaping output and a CSP.

Sources