Repository navigation
ci: add Dependabot security updates and a weekly dependency audit - #6
Merged
Merged
Conversation
satori pins fflate 0.7.3 exactly, even in its latest release, and only runs while building the og:image cards. Ignore GHSA-px8p-9vwx-vf98 in pnpm audit so the weekly audit does not keep reopening it; the alert is dismissed in Dependabot too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TkHa1BVnm277qEiEuipG6n
Dependabot opens security updates only (open-pull-requests-limit: 0 keeps version updates off) with a one-day cooldown that mirrors pnpm's minimumReleaseAge. A weekly workflow runs pnpm audit on pnpm-lock.yaml and keeps an issue labeled dependency-audit open while it finds known vulnerabilities. zizmor's dependabot-cooldown rule accepts the one-day cooldown, and the README mentions both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TkHa1BVnm277qEiEuipG6n
|
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
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
One known vulnerability, in build-time tooling only. It can't be fixed without an override, so
pnpm auditignores it and the alert gets dismissed in Dependabot.unzipSyncon malformed ZIP64)satorionly runs while building theog:imagecards.>satori>fflatesatoripinsfflate: 0.7.3exactly, even in its latest release. Ignored inpnpm audit, dismissed in Dependabot. Drop the ignore whensatorimoves on..github/dependabot.yml):open-pull-requests-limit: 0turns version updates off, while security updates still open PRs, grouped into one per ecosystem.cooldown.default-days: 1mirrors pnpm'sminimumReleaseAge. GitHub applies it to version updates only, so check the fixed version's age before merging a security PR..github/workflows/dependency-audit.yml): this runs on a schedule and onworkflow_dispatch, not as apull_requestcheck, so a new advisory never blocks unrelated PRs. It keeps one issue labeleddependency-auditopen while the audit finds known vulnerabilities, and closes it once the audit comes back clean. The only repo-specific line isaudit "pnpm-lock.yaml" pnpm audit.package.jsonandpnpm-lock.yamlare untouched.dependabot.ymlhas nothing to act on, and the weekly audit is the only check that runs.Evidence
pnpm audit→1 vulnerabilities found, Severity: 1 moderate, exit 1.After:
pnpm audit→Severity: 1 moderate (1 ignored), exit 0.dependency-auditworkflow.After: I ran the audit step script locally from the worktree root (
RUNNER_TEMP=$(mktemp -d) GITHUB_OUTPUT=/dev/stdout bash -e -o pipefail -c '<step>'). It printsfound=falseand leaves the report empty.pipx run --spec zizmor==1.30.1 zizmor --offline .and the online run with a token both report no findings. The one suppressed finding isundocumented-permissionsonissues: write, which only shows with--persona=auditor.pnpm install --frozen-lockfile(lockfile unchanged),pnpm rr jsc,pnpm astro check(0 errors, 0 warnings),pnpm astro build(5 pages).Merge Danger
Door: two-way
To undo it, revert the PR. The audit ignore lives in a single config key, and nothing else in the dependency tree changes.
Blast Radius: repo-maintenance
Nothing changes in the site or its build. After merge, Dependabot may open security PRs, and the Monday audit may open an issue. If a future advisory touches
fflate, it gets a new GHSA id, so the ignore won't hide it.🤖 Generated with Claude Code
https://claude.ai/code/session_01TkHa1BVnm277qEiEuipG6n