Skip to content

Latest commit

 

History

History

15-security

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Family 15. Security

Origin. OWASP ASVS

38 entries, 227,330 words. Every entry carries all 18 dimensions from the entry contract.

Authorization

Pattern Maturity Words Intent
Attribute-Based Access Control established 6,262 Authorization starts simple. A user has a role, a resource has an owner, and the application checks whether the role or owner permits the action.
OAuth 2.1 Flows established 7,023 A service needs to let software access protected resources without giving that software the resource owner's primary credential.

Injection Defense

Pattern Maturity Words Intent
Parameterized Query canonical 7,354 An application must issue a query whose predicate values come from runtime state: a user id, tenant id, search term, date range, account status, cursor, or authorization scope.

Security

Pattern Maturity Words Intent
Audit Log established 6,348 A system accepts actions whose history must survive beyond the request that performed them.
CSRF Token established 6,833 A web application uses browser-sent ambient credentials for authentication.
Complete Mediation canonical 7,109 A system contains objects that are not public.
Content Security Policy established 6,860 A web page runs with large ambient power.
Defense in Depth canonical 6,513 A system has assets that must remain confidential, correct, and available while being exposed to users, code, networks, dependencies, administrators, build systems, and other ...
Dual LLM Pattern emerging 1,678 Willison's own text states the problem directly, naming the failure mode this pattern exists to contain.
Egress Lockdown established 1,845 A workload that can reach any destination on the network can also be misused to reach an attacker's destination, whether through a genuine compromise or, for an LLM-driven agent ...
Envelope Encryption established 6,285 A system must encrypt many records, objects, files, messages, volumes, or tenant datasets.
Fail Securely established 6,868 A program must make a decision that protects a resource, but the information needed for that decision can be absent, stale, malformed, contradictory, late, or produced by a ...
Idempotency Key established 6,618 A client sends a mutating request and then loses the answer.
Input Validation canonical 6,193 A program accepts bytes, strings, numbers, objects, headers, files, paths, identifiers, query parameters, form fields, JSON bodies, environment variables, messages, or records ...
JWT established 6,088 A resource server needs to accept repeated calls without contacting the issuer for every request, yet it still needs an issuer, subject, audience, expiry, possibly scopes, and a ...
Key Rotation established 6,773 A system depends on secret material that cannot be treated as permanent.
Least Privilege canonical 6,400 A system needs trusted actions to happen, but the code, user, service account, container, or job that performs those actions can also fail, be tricked, or be taken over.
Lethal Trifecta Threat Model emerging 1,830 Willison's own text states why the three conditions matter only in combination, not individually.
Mutual TLS established 6,039 A service accepts network calls from other machines.
OpenID Connect established 7,027 The problem appears when an application needs to sign in users through an external identity system without copying passwords, duplicating multi-factor logic, or inventing its own ...
Output Encoding established 6,306 A program has data that may contain characters with special meaning in the output grammar.
Passkeys and WebAuthn established 6,525 A web service needs strong user authentication, but passwords have become the wrong primitive.
Passwordless Authentication established 6,482 A user-facing system needs to authenticate people without making a reusable shared secret the center of the login ceremony.
Relationship-Based Access Control established 6,017 A collaborative system grants access because of how a subject is related to a particular object.
Role-Based Access Control canonical 6,909 A system has many people, services, jobs, and automated agents, and each one needs different authority over many objects.
STRIDE established 6,096 A team has an architecture sketch, a data flow, a new feature, or a service boundary, and needs a disciplined way to ask security questions before the design becomes expensive to ...
Secrets Management established 2,754 An application needs credentials to call a database, sign a token, decrypt a record, publish to a queue, or call a third-party API.
Secure by Default established 6,833 A system has settings, generated files, API defaults, permission rules, feature switches, installation steps, or project scaffolds.
Separation of Duties canonical 6,664 A system has operations where one trusted actor can cause damage and hide it.
Supply Chain SBOM established 6,121 A software artifact enters production with code from many origins.
Threat Modeling established 6,236 A software team is making a design choice that changes who can reach which asset, what data crosses which boundary, what authority a component holds, or what a failed control ...
Token Binding and DPoP established 6,254 Bearer tokens are convenient because a resource server can authorize a request by checking the token.
Token-based Authentication established 7,195 The problem appears when a system must authenticate repeated requests without asking the caller to resend a long-lived secret, such as a password, private key, or root cloud ...
Webhook Signature Verification established 6,050 A webhook endpoint receives requests from the public internet, usually without a browser session, an OAuth bearer token, or a mutual TLS client certificate.
Zero Trust established 6,653 A system has users, services, jobs, devices, and partners that need access to resources from many networks.

Supply Chain Security

Pattern Maturity Words Intent
SLSA Provenance emerging 3,939 A person or a system consuming a software artifact, a compiled binary, a container image, a published package, has no way to answer a basic question from the artifact alone.

Transport Security

Pattern Maturity Words Intent
Certificate Pinning established 6,224 TLS authenticates a server by building and validating a certificate chain from the server's leaf certificate to a trusted root.

Web Security

Pattern Maturity Words Intent
Session Management established 6,126 HTTP requests arrive independently. A user signs in on one request, then clicks through pages, posts forms, uploads data, and calls APIs on later requests.

Reading order

Entries are independent. Each one names the patterns it composes with and the patterns it conflicts with in dimension 13, so following those links gives a better path than reading top to bottom.

Generated by tools/gen-indexes.py. Do not edit by hand.