fix(ci): pin GitHub actions by SHA, restrict token, add security policy

Resolves the open OpenSSF Scorecard code-scanning alerts that a change in this repository can fix:

- PinnedDependencies: every GitHub-owned action is pinned by commit SHA (actions/checkout v7.0.1, github/codeql-action init, analyze and upload-sarif v4.39.5); scorecard.yml carried checkout v7.0.0 under a wrong v4.2.2 comment. Dependabot keeps the pins current.
- TokenPermissions: mark-stable, publish-containers and security-codeql get a top-level contents: read; every job there already declares its own permissions, so no job token changes.
- SecurityPolicy: .github/SECURITY.md with private reporting via GitHub advisories.

Left open on purpose: the job-level write permissions those jobs need, the Dockerfile FROM ${BASE_IMAGE} that scripts/build/base.sh resolves per distro, and the repository-setting checks.

| Fix | Break | Tokens | Velocity | Security | Score |
| --- | --- | --- | --- | --- | --- |
| 93 % | 3 % | 100 % | 100 % | 100 % | 90 |

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-12-02 10:45:19 +00:00
1 parent 966892f648
commit 0a98f35492
14 files changed
+48 -19

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
# Security Policy
## Supported Versions
Only the latest release receives security fixes. Fixes land on `main` and ship
with the next release; the `stable` tag and the published container images
follow the highest released version.
## Reporting a Vulnerability
Please do not report security issues in a public issue or pull request.
Report them privately through either channel:
- GitHub: [report a vulnerability](https://github.com/kevinveenbirkenbach/package-manager/security/advisories/new)
- Email: Kevin Veen-Birkenbach, [kevin@veen.world](mailto:kevin@veen.world), [veen.world](https://veen.world)
Include the affected version, the steps to reproduce, and the impact you
expect.