Extend CodeQL to the actions language and settle the query suite
維護者通常 4 天內回覆
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 70/100
- Issue 類型
- 功能
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- github-actions, yaml
研究方向
Start with .github/workflows/codeql.yml, add the issue's actions analysis configuration, and run the workflow against .github/workflows/. Record the default-suite and security-extended alert counts, triage the actions findings, and document the code-scanning dismissal policy in TRIAGE.md. Done means actions analysis runs, the query-suite decision and comparison numbers are recorded, and the dismissal policy states who may dismiss alerts and which reason codes are allowed.
由索引模型根據 Issue 內容生成。
描述
Problem statement
Follow-up to #298 and the workflow merged in #335.
#298 asked for SAST covering "the website (JS/TS) and workflow/config surfaces". The workflow that landed in #335 covers the first half only: a matrix entry for javascript-typescript, which extracts 274 files from website/** and scripts/ and reports 0 findings against 87 rules.
The workflow half was assumed to need a different tool. It does not: CodeQL ships an actions language with its own extractor and security queries (github/codeql/actions/ql/src/Security), covering CWE-094 (code injection in workflows), CWE-829 (unpinned or third-party actions), CWE-312 (cleartext credentials), plus CWE-275, CWE-285 and CWE-349.
Nothing in this repo analyses .github/workflows/, which is the highest-privilege code here: deploy.yml holds pages: write and id-token: write.
Separately, the query suite was never chosen, only defaulted. The baseline is 87 rules and 0 results, which is a clean starting point but says nothing about what security-extended would surface.
Proposed solution
- Add
- language: actionswithbuild-mode: noneto the matrix in.github/workflows/codeql.yml, run it, and confirm whether this repo's workflows analyse cleanly without extra configuration. - Run
security-extendedon a throwaway branch and compare the alert count with the default suite. Decide, and record the numbers in this issue. - Add the dismissal policy to
TRIAGE.md: who may dismiss a code scanning alert, and which reason codes are acceptable.
If the actions queries turn out to be thin, the fallback is actionlint in CI for syntax and shellcheck, and zizmor for workflow security rules. Do not add a second scanner before testing the one already being installed.
Scope and impact
One matrix line plus a comparison run. The risk is noise: if security-extended or the actions queries produce a wall of findings, the gate gets ignored, so the baseline has to be triaged before either change lands as a default.
Acceptance criteria:
-
actionsanalysis runs and its findings are triaged - Query suite chosen, with the comparison numbers recorded here
-
TRIAGE.mdstates the dismissal policy for code scanning alerts
- 主要語言
- TypeScript
- 星號
- 13
- 分支
- 24
- 平均合併
- 2 天 3 小時
- 30 天內合併 PR
- 16
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
IntersectMBO/developer-experience 的其他 Issue
-
Rename the q4-2025 sesion-notes folder to session-notes, and keep its URL working可能已有人在做 @IanoNjuguna 今天認領。 未關閉documentation Low Priority
難度 2/5 1-3 小時 新手友好度 62/100
IntersectMBO/developer-experience#406 ·
維護者通常 4 天內回覆
-
react 19: the Dependabot halves cannot resolve alone, so the bump needs one combined PR可能已有人在做 @IanoNjuguna 今天認領。 未關閉dependencies
難度 2/5 1-3 小時 新手友好度 70/100
IntersectMBO/developer-experience#403 ·
維護者通常 4 天內回覆
-
Document colour roles in the brand baseline, and resolve the gradient and alpha restrictions it contradicts可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉documentation
難度 2/5 1-3 小時 新手友好度 72/100
IntersectMBO/developer-experience#376 ·
維護者通常 4 天內回覆
-
documentation pinned
難度 2/5 1-3 小時 新手友好度 90/100
IntersectMBO/developer-experience#363 · 1 則留言 ·
維護者通常 4 天內回覆
-
documentation pinned
難度 2/5 1-3 小時 新手友好度 88/100
IntersectMBO/developer-experience#362 · 1 則留言 ·
維護者通常 4 天內回覆
查看 IntersectMBO/developer-experience 的全部 Issue
相似的 Issue
-
[UI] Guard webApis against undefined window in SSR environments可能已有人在做 @madhavzanwar 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
headroomlabs-ai/headroom#4992 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
paperclipai/paperclip#22575 ·
維護者通常 1 天內回覆
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難度 1/5 1 小時以內 新手友好度 82/100
lingdojo/kana-dojo#34502 · 1 則留言 · 5 個 reaction ·
維護者通常 1 天內回覆
-
bug frontend good first issue help wanted
難度 2/5 1-3 小時 新手友好度 86/100
nikhilb2/simple_invoicing#935 ·