oRPC Simple CSRF Protection Plugin

Installation
SKILL.md

Simple CSRF Protection Plugin

Helps ensure requests originate from JavaScript code, not from HTML forms or direct browser navigation.

When to Use

Beneficial if you store sensitive data (session/auth tokens) in cookies with SameSite=Lax (default) or SameSite=None.

Server

import { SimpleCsrfProtectionHandlerPlugin } from '@orpc/server/plugins'
Installs
First Seen
oRPC Simple CSRF Protection Plugin — ali-master/skills