Work · Case study 03
Livewhy:The validator checks structure, not truth. Accuracy relies on sourced review.
Security Attack Catalog
A searchable, community-maintained reference of web, API, cloud and infrastructure attacks with prevention guidance.
- Status
- Live
- Stack
- React
- Vite
- JSON
- GitHub Actions
- Links
- Live site (external site)Source on GitHub (external site)

Problem
Security attack patterns and their defences are scattered across blog posts, cheat sheets and tool docs. A single reference only helps if it stays searchable as it grows, and if contributions can be checked before they reach readers.
Approach
Store content as data, not pages. Each section is a JSON file, so a contribution is a reviewable diff, not a database edit, and the interface can be rebuilt without touching the content.
Make the data defend itself. A validator script checks section identity and ordering, file names, duplicate entries, required text and the structure of prevention fields. It runs in CI and again before every production build, so malformed data can't ship.
Design search around how people look things up: by attack name, section, description, tool or prevention technique, with a section filter and a view that surfaces entries still missing prevention guidance.
Diagram · Content pipeline
01JSON per section
Each section is one file under src/data/categories.
data02Pull request
Changes arrive as diffs; new claims should cite a source.
review03CI checks
Validator tests, real-catalog validation and a production build.
GitHub Actions04Build gate
The build runs the validator before bundling.
validator05Deploy
Merges to main publish to GitHub Pages.
Pages
Build details
Validation as a build gate
The same validator runs against test fixtures (to prove it catches bad data) and against the real catalog. The production build calls it before bundling, so the deploy pipeline can't skip it.
Gaps are visible on purpose
Entries without prevention guidance are counted and filterable rather than hidden. That's honest about coverage and gives contributors an obvious place to start.
A reviewed contribution path
Issues for new attacks, prevention guidance or corrections; pull requests for data changes, with new security claims expected to cite a reliable source; a code of conduct and private vulnerability reporting.
Evidence
why:Snapshots are dated; follow the source to check them.
589 entries in 36 sections
208 with prevention guidance (35%); 381 open for contributions
Snapshot as of 15 Nov 2026Live catalog (external site)
Catalog data is validated in CI before every build and deploy
Limits & next
Current limits
- An educational reference, not a scanner or security assessment tool.
- Automated validation checks data structure, not the accuracy of security claims.
What I’d improve
- Source-based review of existing entries: the validator can't tell whether a security claim is accurate.
- Close the prevention gap: 381 entries still need guidance (as of 15 Nov 2026).