Only procedures explicitly accepting GET can be called via HTTP GET (CSRF protection).
Scanned 9/12/2026
Install to Claude Code
npx -y skills add ali-master/skills --skill orpc-strict-get-method --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Orpc Strict Get Method?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/ali-master-orpc-strict-get-method)More formats (shields.io, HTML) on the badges page.
---
name: oRPC Strict GET Method Plugin
description: Only procedures explicitly accepting GET can be called via HTTP GET (CSRF protection).
license: MIT
metadata:
author: Ali Torki
homepage: https://github.com/ali-master
version: "1.0.0"
---
# Strict GET Method Plugin
Enhances security by ensuring only procedures explicitly marked to accept `GET` requests can be called using HTTP `GET` for [RPC Protocol](/docs/advanced/rpc-protocol). Helps prevent certain CSRF attacks.
## When to Use
Beneficial if your application stores sensitive data (session/auth tokens) in cookies with `SameSite=Lax` or `SameSite=None`.
> Enabled by default for HTTP Adapter. You may switch to [Simple CSRF Protection](/docs/plugins/simple-csrf-protection) or disable entirely.
## How it works
Only procedures configured with `method: 'GET'` can be invoked via GET requests:
```ts
import { os } from '@orpc/server'
const ping = os
.route({ method: 'GET' })
.handler(() => 'pong')
```
## Setup
```ts
import { StrictGetMethodPlugin } from '@orpc/server/plugins'
const handler = new RPCHandler(router, {
plugins: [
new StrictGetMethodPlugin()
],
})
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.
Wire a service's OpenTelemetry output to Sematext Cloud. Walks through region, App-type, instrumentation flow (managed OTLP endpoint vs Sematext Agent), and signal selection (traces/metrics/logs), then produces the exact env-var block and points at a runnable reference example in this repo. Invoke when instrumenting a new app for Sematext.
Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up deployment infrastructure or planning releases.
Watch a pull request or review cycle until it is ready to merge. Use when asked to babysit, monitor, or keep checking PR comments, reviews, and CI until all actionable issues are resolved.
Interact with the Paperclip control plane API for task coordination and governance. Use when checking assignments, updating issue status, posting comments, delegating work, managing routines, or calling Paperclip API endpoints.