Tutorial series
Find and fix security flaws in a Node app
Prove and fix the OWASP Top 10 mistakes in a small Express app of your own, one at a time: access control, XSS, CSRF, SSRF, command injection and path traversal, and sessions, then keep them fixed with tests and Semgrep rules.
Fix broken access control and insecure direct object references in an Express app
You will prove with failing tests that one Noticeboard user can read and edit another user's draft and pose as an admin, then fix both with deny-by-default middleware, ownership checks in the query and server-side roles, and finish with a test that checks every route for every role.
Intermediate · 26 min
Block server-side request forgery in a link-preview feature
You will prove with failing tests that Noticeboard's link preview reads a loopback admin page and a stand-in cloud metadata service, then fix it with a fetcher that checks the scheme, port and every resolved address, connects only to the address it checked, re-checks each redirect and caps size and time.
Advanced · 32 min