Security Playbook
← All code reviews
Find the bug · 07/10Medium

Admin-only middleware

Tokens are issued by your own auth service, signed with HS256.

middleware/auth.ts01 · Tap the vulnerable line
02 · What's the problem?
03 · How do you fix it?