Use sec-fetch-site for socket transports

Open
#6,785 5 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
elixir
Domain
backend, security

Research direction

The issue does not name files, tests, or an entry point. Start by locating the socket transport handling for check_origin and check_csrf, then compare the proposed Sec-Fetch-Site API options and their interaction. Done means an agreed API and implemented origin-validation behavior for socket transports, with coverage for the explicit override cases.

Written by the indexing model from the issue text.

Description

The Sec-Fetch-Site header will allow us to validate CSRF in a cleaner way.

Dominant language
Elixir
Stars
23.2k
Forks
3.2k
Avg merge
16h 35m
Merged PRs (30d)
18

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from phoenixframework/phoenix

All issues in phoenixframework/phoenix

Similar issues

More Elixir issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.