salvo-csrf
OfficialCSRF protection with flexible token storage.
Authorsalvo-rs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
CSRF protection prevents unauthorized state-changing requests by ensuring that actions originate from the legitimate site, safeguarding Salvo applications.
Core Features & Use Cases
- Supports cookie-based and session-based storage for tokens.
- Provides multiple token generation methods: bcrypt (no key), HMAC, AES-GCM, ChaCha20Poly1305.
- Token discovery via FormFinder, HeaderFinder, and QueryFinder; easy middleware integration on selected routes.
Quick Start
Create a Salvo router and apply the CSRF middleware to protect state-changing routes.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: salvo-csrf Download link: https://github.com/salvo-rs/salvo-skills/archive/main.zip#salvo-csrf Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.