request-shield · live demo

API requests that can't be replayed from cURL or Postman

Changing headers like User-Agent or X-Client-Type proves nothing, because anyone can fake them. request-shield signs every request from your Angular or React app with a key the browser won't let anyone export, and your server rejects anything it didn't sign.

npm install @request-shield/angular npm install @request-shield/react
1

The browser makes a key

On load, your app creates a key pair with WebCrypto. The private key is non-exportable, so not even DevTools can read it.

2

The server checks it's really your app

The public key is registered once. The server checks the browser Origin and a bot check (Cloudflare Turnstile).

3

Every request is signed

Method, path, body, timestamp and a one-time nonce are signed. Change anything, or send it twice, and it's rejected.

Your app

browser

A normal request from your frontend. The interceptor signs it automatically.

Attacker

cURL / Postman

They opened DevTools and used Copy as cURL on your request:

Send a transfer from the app first →

Server log

FromRequestResultWhy
No requests yet.

In this demo, the server runs inside this page so you can see both sides. In production, it's your backend: the Go middleware or @request-shield/server for Node/Express, Bun, Deno and Workers. The demo skips the Turnstile bot check.

What it doesn't stop