Mutation Request Origin & CSRF Context Guard
Start with README.md, then review SECURITY.md and INTEGRATION.md.
- Run
npm test; all 143 assertions must pass. - Copy
src/index.jsand optionallysrc/index.d.ts. - Configure exact allowed origins and connect a real host-owned CSRF-token verifier.
- Test trusted proxy, origin, host, fetch-metadata, token, authentication, and authorization paths before production.
- In Floot, finish by choosing Update or Publish so the reviewed integration becomes live.
This package never verifies a token, authenticates a user, authorizes a resource, sends a request, persists data, or performs a mutation.