Extend CodeQL to the actions language and settle the query suite
Maintainer antworten meist innerhalb von 4 Tagen
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 70/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- github-actions, yaml
- Bereich
- developer-experience, devops, security
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- TypeScript
- Sterne
- 13
- Forks
- 24
- Ø Merge
- 2 T. 3 Std.
- Gemergte PRs (30 T.)
- 16
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus IntersectMBO/developer-experience
-
Rename the q4-2025 sesion-notes folder to session-notes, and keep its URL workingEvtl. vergeben @IanoNjuguna hat das heute übernommen. Offendocumentation Low Priority
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
IntersectMBO/developer-experience#406 ·
Maintainer antworten meist innerhalb von 4 Tagen
-
react 19: the Dependabot halves cannot resolve alone, so the bump needs one combined PREvtl. vergeben @IanoNjuguna hat das heute übernommen. Offendependencies
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
IntersectMBO/developer-experience#403 ·
Maintainer antworten meist innerhalb von 4 Tagen
-
Document colour roles in the brand baseline, and resolve the gradient and alpha restrictions it contradictsEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offendocumentation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
IntersectMBO/developer-experience#376 ·
Maintainer antworten meist innerhalb von 4 Tagen
-
documentation pinned
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100
IntersectMBO/developer-experience#363 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 4 Tagen
-
documentation pinned
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
IntersectMBO/developer-experience#362 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 4 Tagen
Alle Issues in IntersectMBO/developer-experience
Ähnliche Issues
-
[UI] Guard webApis against undefined window in SSR environmentsEvtl. vergeben @madhavzanwar hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
headroomlabs-ai/headroom#4992 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
paperclipai/paperclip#22575 ·
Maintainer antworten meist innerhalb von 1 Tag
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
lingdojo/kana-dojo#34502 · 1 Kommentar · 5 Reaktionen ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug frontend good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
nikhilb2/simple_invoicing#935 ·