csrf-protection
Installation
SKILL.md
CSRF Protection
Prevent Cross-Site Request Forgery attacks on your web application.
When to Use
- Implementing forms that change state
- Building APIs consumed by browsers
- Setting up session cookies
- Reviewing authentication flows
- Any state-changing POST/PUT/DELETE requests
How CSRF Works
<!-- Attacker's malicious page -->
<html>
<body onload="document.forms[0].submit()">
<form action="https://bank.com/transfer" method="POST">
Related skills