Repository navigation
Conversation
Adds .github/workflows/scorecard.yml (push to main + weekly schedule, scoped permissions, actions pinned by commit SHA) that runs the OpenSSF Scorecard analysis, publishes results, and uploads the SARIF to code scanning. Adds the Scorecard badge to README.md after the CI badge, and a CHANGELOG entry under Unreleased > Security. Findings are recorded, not remediated or gated on, per scope (#980 AC-5, #1025). The initial score and top remediations will be posted as a follow-up comment on the issue once the workflow has run on main. Entire-Checkpoint: 46aecea0ce5c
Closed
3 tasks
admarble
deleted the
feature/1025-ci-trust-openssf-scorecard-workflow-readme-badge-i
branch
September 11, 2026 01:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/scorecard.yml: runs OpenSSF Scorecard onpushtomainand weekly (30 4 * * 1),permissions: read-allat workflow level with narrowed job permissions (security-events: write,id-token: write), and every action (actions/checkout,ossf/scorecard-action,actions/upload-artifact,github/codeql-action/upload-sarif) pinned by 40-hex commit SHA (resolved live viagh api, not from memory), matching the pinning convention already used inci.yml.README.mdimmediately after the CI badge (the single line this node owns per the README serialization plan — node 03's link line and node 07's section are untouched).CHANGELOG.mdbullet under[Unreleased] > ### Security(same heading docs+ci(trust): public threat model with OWASP agentic mapping, SECURITY.md, recurring injection eval, and supply-chain trust signals #980 used).Scope
Per issue #1025: workflow file, one README badge line, one CHANGELOG bullet. No remediation of findings, no other workflow touched, no
SECURITY.md/threat-model changes.Pre-PR AC Verification
push(main) + weekly schedule, scopedpermissions, action pinned by 40-hex SHA; run concludessuccessgrep -c "ossf/scorecard-action@[0-9a-f]\{40\}" .github/workflows/scorecard.yml→1(verified). The "run concludessuccess" half is structurally post-merge — the workflow only triggers onpushtomain/schedule, so it cannot run inside this PR. Per the spec's plan (comment 2), this is an explicit stop-at-PR follow-up.api.securityscorecards.devreturns 404 until the workflow's firstpublish_results: truerun completes onmain, which requires merge. Per spec open questions, a pre-first-run 404 is expected, not a bug.main. Will be posted as a follow-up comment on #1025 after merge and first run, per the spec's plan step 5.Why AC-1/2/3 aren't fully closed pre-merge: the spec (issue #1025 comment) calls this out explicitly — the run-success check and the score/remediation comment are structurally post-merge actions requiring a
pushtomain, which cannot happen from inside an open PR. Stop-at-PR policy applies; a human merges and a follow-up comment records AC-3 once the workflow has executed.Checks
npm run build: ✅ passnpm run lint: ✅ passnpm test: 3 pre-existing failures unrelated to this change (batch-executor.test.ts,relay-hook.integration.test.ts,prompt-wait.test.ts) — none touch.github/workflows/,README.md, orCHANGELOG.md. 6277 passed / 4 skipped otherwise.testgen/security-reviewphases skipped as planned.Pre-PR Confidence Check
successconclusion (AC-1's second half) is unverified until it runs onmainpost-merge — YAML validated for syntax but not exercised in CI as part of this PR.Test plan
gh run list --workflow scorecard.yml --limit 1 --json conclusion --jq '.[0].conclusion'→successcurl -sI "https://api.securityscorecards.dev/projects/github.com/sequant-io/sequant/badge"Closes #1025