Cyberwiki
Cyberwiki is a reference on the security of web applications: the common types of attack, the concepts needed to understand them, and procedures for securing an application. Each article defines its subject, describes how the attack works and gives the code that prevents it. The wiki has 219 articles and a glossary of 260 terms.
Common attacks
Common types of attack on web applications summarises eight types that recur across web applications, each mapped to the OWASP Top 10:2025:
- Injection: SQL injection
- Cross-site scripting: Cross-site scripting
- Broken access control: Insecure direct object reference
- Exposed credentials: Exposed credentials in source code repositories
- Authentication attacks: Credential stuffing
- Security misconfiguration: Exposed sensitive files
- Vulnerable and malicious dependencies: Vulnerable dependencies
- Server-side request forgery: Server-side request forgery
Attack articles by category
Concepts
- Authentication, verifying who is making a request
- Authorization, deciding what that identity may do
- Session management, cookies, tokens and their lifetime
- Secrets management, storing, supplying and rotating keys
- Encryption in transit, TLS between browser and server
- Encryption at rest, stored data encrypted on disk
- Input validation, accepting only expected values
- Output encoding, escaping text for the place it is shown
- Principle of least privilege, only the permissions a task needs
- Attack surface, every point that accepts input
- Defence in depth, several independent layers of protection
- Row level security, per-row rules in Postgres and Supabase
- Rate limiting, a cap on requests per address or account
- Multi-factor authentication, a second proof at sign-in
- HTTP security headers, response headers that restrict the browser
- Content Security Policy, which hosts a page may load from
- Cross-origin resource sharing, which sites may read API responses
- Email authentication (SPF, DKIM and DMARC), DNS records that prove mail is genuine
- Backup and restore, copies that have been restored at least once
- Threat modelling, listing what can go wrong before building
- JSON Web Token, a signed token that carries claims about a user
- Cookie attributes, HttpOnly, Secure, SameSite and the cookie prefixes
- OAuth 2.0, delegated access with tokens instead of passwords
- Certificate Transparency, public logs of every issued TLS certificate
- Password storage, slow, salted hashes instead of stored passwords
- Trusted Types, a browser rule that blocks unsafe writes to the page
- HTTP Strict Transport Security, the header that keeps browsers on HTTPS
- Audit logs, the record of who changed what in an account
- Security logging and alerting, which events to record and when to be told
- Same-origin policy, the browser rule that separates sites
- MTA-STS and TLS-RPT, forcing encrypted delivery of email
- GDPR for application builders, what the regulation asks of a small app
- Data retention, how long to keep personal data, and deleting it
- Security of AI-generated code, the flaws coding assistants tend to produce
- TLS certificates, how certificates, authorities and renewal work
- DNS records, A, CNAME, MX, TXT and NS, and what each one exposes
- Reverse proxy, the server in front of an app, and what it should check
- Host and cloud firewalls, ufw, security groups and what each one blocks
- DNSSEC, signed DNS answers
- Web application firewall, request filtering in front of an app
- STRIDE, six kinds of threat for threat modelling
Guides
Securing an application
- Securing a Next.js and Supabase application
- Security checklist before launch
- Securing a Firebase application
- Securing a Docker application on a self-managed server
- Securing Stripe payments
- Securing Rails, Django and Laravel applications
- Securing an application made with an AI app builder
- Securing a GitHub repository
- Security maintenance after launch
- Rotating API keys at each provider
- Setting up SPF, DKIM and DMARC
- Certificates and TLS settings
- Adding security headers on each host
- Moving an admin panel off the internet
Responding to an incident
- Responding to a leaked API key
- Responding to unauthorised changes to a website
- Responding to an unrecognised server login
- Responding to a malicious package installation
- Diagnosing website downtime
- Responding to a database exposed to the internet
- Responding to an administrator account takeover
- Handling a vulnerability report
- Bug bounty program
- security.txt
- Audit logs
- Breach notification
Testing and standards
- Static application security testing, reading source code for flaws without running it
- Dynamic application security testing, testing the running application from outside
- Software composition analysis, checking dependencies for known vulnerabilities
- Secret scanning, searching code and its history for credentials
- Penetration testing, an authorised, simulated attack
- Fuzzing, malformed input sent until something breaks
- Vulnerability scanning, automated checks for known weaknesses
- Bug bounty program, payment for flaws reported by outside researchers
- Threat modelling, listing what can go wrong before building
- Security code review, reading changes for security flaws
- OWASP, the foundation and its projects
- OWASP Top 10, the ranking of web application risks
- OWASP Application Security Verification Standard, a list of testable security requirements
- Common Weakness Enumeration, the catalogue of weakness types
- Common Vulnerabilities and Exposures, identifiers for individual vulnerabilities
- Common Vulnerability Scoring System, the 0 to 10 severity score
- Exploit Prediction Scoring System, the probability that a vulnerability is exploited
- Known Exploited Vulnerabilities catalog, the list of vulnerabilities used in real attacks
- Severity levels, how critical, high, medium and low are assigned
- Software bill of materials, the list of components in an application
- National Vulnerability Database, the NIST database of scored CVE records
- security.txt, the file that tells researchers where to report
- Dependabot, GitHub alerts and update pull requests for dependencies
- OWASP API Security Top 10, the ranking of API risks
- Stakeholder-Specific Vulnerability Categorization, a decision tree for what to patch first
- CWE Top 25, the yearly list of the most dangerous weaknesses
- Vulnerability Exploitability eXchange, a statement that a known flaw does or does not affect a product
- CycloneDX and SPDX, the two common SBOM formats
- STRIDE, six kinds of threat for threat modelling
- SARIF, the shared file format for scanner results
- OSV, the open vulnerability database for packages
- NIST SP 800-63, the US rules for passwords and sign-in
Glossary
The glossary defines 260 terms used across the wiki, from anon key to web application firewall.
Reference
- Mapping to the OWASP Top 10:2025
- Mapping to MITRE ATT&CK
- Stages of an attack on a web application
- All articles, A to Z
Categories
Injection · Access control · Authentication · Secrets · Security misconfiguration · Software supply chain · Data exposure · Availability and abuse · Persistence · Reconnaissance · Supabase · Self-managed servers · Security concepts · Guides · Incident response · Testing and standards · Reference