Add zizmor + actionlint workflow analysis to CI; evaluate the new actions.lock workflow lockfile
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 76/100
Rechercherichtung
Start with .github/workflows/security-scan.yml, scripts/validate-github-actions-shas.sh, scripts/check-workflow-hygiene.sh, and .github/workflows/yaml-lint.yml to understand the existing workflow gates. Add the proposed zizmor analysis and SARIF upload, then determine whether actionlint needs separate work because it is already covered by yaml-lint.yml. Done means the CI job runs successfully, reports zizmor findings in code scanning, follows the repository’s SHA-pinning policy, and includes a documented decision on .github/workflows/actions.lock.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Summary
This repo already does the hard parts of Actions supply-chain hygiene: all uses: refs are SHA-pinned, scripts/validate-github-actions-shas.sh enforces it, and every workflow declares a permissions: block. Two 2026-era additions would close the remaining gap above the pin:
- zizmor static analysis of
.github/workflows/*.yml(injection, dangerous permissions,pull_request_targetmisuse, ref-confusion, impostor-commit — a SHA that only exists in an attacker's fork still resolves under the parent repo's name, which SHA-pinning alone does not catch). actionlint for workflow syntax/schema errors— already covered:yaml-lint.ymlrunsreviewdog/action-actionlint(SHA-pinned); see the status comment.- Evaluate
.github/workflows/actions.lock— GitHub's workflow dependency lockfile (public preview 14 Oct 2026) records the commit of every direct and transitive action dependency; Actions then runs the recorded commit even if a tag moves. This closes the transitive-trust gap that a direct-dependency pin cannot.
Evidence
- Existing hygiene:
scripts/validate-github-actions-shas.sh+scripts/check-workflow-hygiene.sh+yaml-lint.yml— but none perform security-pattern audits. - 2026 incident record: tj-actions/changed-files (CVE-2025-30066), TanStack May 2026 (CVE-2026-45321) — every publicly documented Actions compromise ran through a gap one of these controls closes.
Impact
- Security: upgrades the workflow gate from "SHA matches a tag" to "workflow is free of known dangerous patterns"; catches impostor-commit SHAs and expression injection that current validators are blind to.
- Low cost: zizmor runs as a single CI step; SARIF upload lands findings in code scanning alongside the existing gitleaks step in
security-scan.yml.
Proposed approach
- Add a job to
.github/workflows/security-scan.ymlrunningzizmorcore/zizmor-action(SHA-pinned, per repo policy) with SARIF upload. - Add actionlint step (or a BATS test in
tests/if the repo prefers the local-gate pattern). - Add both to
scripts/quality_gate.shonly if runtime cost stays within the gate budget. - Spike/ADR for
actions.lockwhile it is in preview; revisit before GA.
References
- zizmor (audits incl. impostor-commit): https://docs.zizmor.sh/
- 2026 hardening guide (SHA pinning, permissions, zizmor): https://safeguard.sh/resources/blog/github-actions-supply-chain-security
- Workflow lockfiles public preview (Oct 2026): https://www.ajayk.sh/blog/github-actions-security-2026-supply-chain/
- 2026 checklist grounded in incident history: https://www.stingrai.io/blog/github-actions-security-checklist
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3
- Forks
- 2
- Ø Merge
- 11 Std. 49 Min.
- Gemergte PRs (30 T.)
- 102
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- 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 d-oit/do-knowledge-studio
-
Migrate do-harness.toml to the current [[sensors]] schema (do-harness CLI 0.6.0 cannot parse it)Offenchore config priority: low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100
d-oit/do-knowledge-studio#1219 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Dependabot only scans the root manifest — add workspace packages/* directories, cooldown, and grouped updatesEvtl. vergeben @d-oit hat das heute übernommen. Offenci config deps priority: medium
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
d-oit/do-knowledge-studio#1212 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation priority: low
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
d-oit/do-knowledge-studio#1218 ·
Maintainer antworten meist innerhalb von 1 Tag
-
chore priority: low skills
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 72/100
d-oit/do-knowledge-studio#1217 ·
Maintainer antworten meist innerhalb von 1 Tag
-
discussion enhancement performance priority: low search
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
d-oit/do-knowledge-studio#1216 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in d-oit/do-knowledge-studio
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
danielmiessler/LifeOS#3028 ·
Maintainer antworten meist innerhalb von 5 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
iOS: last line of a long UITextView text is sometimes not drawn (frame a fraction of a point short)Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
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 90/100
Koenkk/zigbee2mqtt#33855 ·
Maintainer antworten meist innerhalb von 1 Tag