github / github/secure_headers
Support CSP "double policies"
未關閉
- 主要語言
- Ruby
- 星號
- 3.2k
- 分支
- 253
- 平均合併
- 19 小時 11 分鐘
- 30 天內合併 PR
- 1
描述
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.
貢獻指南
研究方向
該 issue 沒有指出檔案、測試或進入點。首先定位 CSP 標頭的產生程式碼,並檢視連結的演講以及瀏覽器對多個策略的行為;完成的標準是支援多個 CSP 策略或以逗號分隔的 CSP 值,並像瀏覽器一樣強制執行每個策略。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- ruby
- 領域
- security
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100