Skip to content

Threats

Every threat in the wiki, in the two categories a review checks separately.

🔓 Business logic

Controls that should be there. Checked at every entry point — each route, event, webhook, job or command the change adds or alters.

💉 Source to sink

Untrusted input reaching somewhere dangerous. Checked at every sink the change introduces or feeds.

How to use a page

Read When is it relevant first and rule the threat in or out. If it applies, work through Mitigation, then open the tab for your stack: it lists the mitigation options, vulnerable and fixed code for each, the bypasses worth checking, and what to grep for.

New to this? Start with the methodology, which puts these in order over one pull request.