fix(security): 🔒 harden CI permissions and patch vulnerable transitive deps#232
Merged
justapithecus merged 2 commits intomainfrom Mar 17, 2026
Merged
Conversation
…e deps Workflow hardening: - Add explicit `permissions: contents: read` to ci.yml, nightly.yml, and release-dry-run.yml (resolves 19 CodeQL code-scanning alerts) Dependency patching (all transitive devDependencies): - flatted ≥3.4.0 — unbounded recursion DoS in parse() - minimatch ≥3.1.4 — ReDoS via nested extglobs - rollup ≥4.59.0 — arbitrary file write via path traversal - basic-ftp ≥5.2.0 — path traversal in downloadToDir() Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Use exact versions instead of open-ended ranges to prevent silent drift on future lockfile refreshes - Scope minimatch override to `^3` selector so it stays within glob@7's declared range (3.1.4, not 10.x) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
4 tasks
justapithecus
added a commit
that referenced
this pull request
Mar 17, 2026
## Summary Lockstep version bump to v0.13.3 — security hardening release covering CI workflow permission scoping and transitive devDependency patching from #232. ## Highlights - Lockstep bump across all 14 targets (Go, SDK, events.ts, golden fixtures, executor bundle, docs, container guide, test fixtures) - Changelog promoted with `[0.13.3] - 2026-03-17` section - No code changes — version metadata and rebuilt artifacts only ## Test plan - [ ] CI passes (version lockstep, lint, test, build, bundle freshness, examples) - [ ] `quarry/types/version.go` reads `0.13.3` - [ ] `sdk/package.json` reads `0.13.3` - [ ] Golden fixtures contain `contract_version: 0.13.3` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Resolves all 19 CodeQL code-scanning alerts (missing workflow permissions) and all 5 open Dependabot alerts (vulnerable transitive devDependencies).
Highlights
permissions: contents: readtoci.yml,nightly.yml, andrelease-dry-run.yml— enforces least-privilege GITHUB_TOKEN scopepnpm.overridesforflatted(≥3.4.0),minimatch(≥3.1.4),rollup(≥4.59.0), andbasic-ftp(≥5.2.0)release.ymlalready had explicit permissions and is unchangedTest plan
🤖 Generated with Claude Code