github / github/secure_headers
Support CSP "double policies"
- Langage dominant
- Ruby
- Étoiles
- 3.2k
- Forks
- 253
- Merge moyen
- 19 h 11 min
- PR mergées (30 j)
- 1
Description
CSP double policies enable setups that are not possible with just one CSP. When a browser sees a response with multiple CSP headers (or a single CSP header split via commas ","), the browser will enforce *all* those policies.
One common use case here is to support `strict-dynamic` with nonces and a URI allowlist, which isn't possible with a single `script-src` directive.
There's more information in this talk: https://youtu.be/_L06HetskC4?t=1754.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
The issue does not name files, tests, or entry points. Start by locating the CSP header generation and reviewing the linked talk and browser behavior for multiple policies; done means supporting multiple CSP policies or comma-split CSP values while enforcing each policy as browsers do.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- ruby
- Domaine
- security
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100