Skip to content

chore(security): 🔒 fix scorecard vulnerabilities and adopt PR-only branch policy - #107

Merged
konih merged 3 commits into
mainfrom
fix/scorecard-vulns-pr-policy
Jul 13, 2026
Merged

konih merged 3 commits into
mainfrom
fix/scorecard-vulns-pr-policy

Conversation

@konih

@konih konih commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bump markdownlint-cli2 0.22.1 → 0.23.0 in docs/, pulling js-yaml 5.2.0 and markdown-it 14.2.0 — clears GHSA-h67p-54hq-rp68 and GHSA-6v5v-wf23-fmfq from the OpenSSF Scorecard vulnerability report.
  • Add osv-scanner.toml ignoring GO-2026-5932: the unmaintained x/crypto/openpgp package is never imported by this module (x/crypto enters the graph only via the golines lint tool); the advisory flags every x/crypto version and has no fixed release, so a bump cannot clear it. govulncheck (call-graph aware, in CI) reports no findings. Scorecard's Vulnerabilities check runs osv-scanner and honors this file.
  • Document the new PR-only branch policy in AGENTS.md (enforced separately via a GitHub ruleset on main; same policy applied to Kollect).

Verification

  • task lint:markdown with markdownlint-cli2 0.23.0: 86 files, 0 errors
  • npm audit in docs/: 0 vulnerabilities
  • go mod why golang.org/x/crypto: main module does not need the package

konih added 2 commits July 11, 2026 12:29
…anch policy

- bump markdownlint-cli2 0.22.1 -> 0.23.0 in docs/ to pull js-yaml 5.2.0
  and markdown-it 14.2.0, clearing GHSA-h67p-54hq-rp68 and
  GHSA-6v5v-wf23-fmfq from the OpenSSF Scorecard vulnerability report
- add osv-scanner.toml ignoring GO-2026-5932: the unmaintained
  x/crypto/openpgp package is never imported (module enters the graph
  only via the golines lint tool); the advisory has no fixed release
- document the PR-only branch policy (ruleset-enforced) in AGENTS.md
@konih
konih force-pushed the fix/scorecard-vulns-pr-policy branch from 796cfee to ea59a42 Compare July 11, 2026 10:29
GitHub Code Quality auto-detects languages from linguist stats; the
Brewfile made it schedule an Analyze (ruby) CodeQL job that fails with
'no Ruby code found'. Mark it non-detectable so only Go and Actions are
analyzed.
@sonarqubecloud

Copy link
Copy Markdown

@konih
konih merged commit b00f7af into main Jul 13, 2026
18 checks passed
@konih
konih deleted the fix/scorecard-vulns-pr-policy branch July 13, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant