root - chore: defense - disable checkout credential persistence - #467
Merged
Conversation
3 tasks
cursor
Bot
force-pushed
the
cursor/defense-actions-permissions-9ffa
branch
from
August 16, 2026 17:45
a7daf35 to
b5bf3bd
Compare
Base automatically changed from
cursor/defense-actions-permissions-9ffa
to
main
August 16, 2026 17:52
Set persist-credentials: false on every actions/checkout that does not need to push, so the job token is not left in the workspace. Co-authored-by: Jared Wray <me@jaredwray.com>
Co-authored-by: Jared Wray <me@jaredwray.com>
Reconcile the § 4 contents: read checkbox against merged PR #466. Co-authored-by: Jared Wray <me@jaredwray.com>
cursor
Bot
force-pushed
the
cursor/defense-persist-credentials-9ffa
branch
from
August 16, 2026 17:53
63f07ed to
8b473fd
Compare
jaredwray
marked this pull request as ready for review
August 16, 2026 17:53
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #467 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 18 18
Lines 2760 2760
Branches 845 836 -9
=========================================
Hits 2760 2760 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
cursor Bot
pushed a commit
that referenced
this pull request
Aug 16, 2026
Reconcile the § 4 persist-credentials checkbox against merged PR #467. Co-authored-by: Jared Wray <me@jaredwray.com>
jaredwray
added a commit
that referenced
this pull request
Aug 16, 2026
* root - chore: defense - add Socket Firewall to every job Install Socket Firewall Free immediately after checkout on every job so later package installs are wrapped even if a job does not install today. Co-authored-by: Jared Wray <me@jaredwray.com> * root - chore: defense - record Socket Firewall PR number Co-authored-by: Jared Wray <me@jaredwray.com> * root - chore: defense - mark persist-credentials as merged Reconcile the § 4 persist-credentials checkbox against merged PR #467. Co-authored-by: Jared Wray <me@jaredwray.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.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
Set
persist-credentials: falseon everyactions/checkoutso job tokens are not left in the workspace.Status update
DEFENSE_IN_DEPTH.md:persist-credentials: falseon checkouts that don't push → (PR #467 pending)DEFENSE_IN_DEPTH.md:permissions: contents: readon every workflow → PR #466 (reconciled)Changes
persist-credentials: falseto tests, code-coverage, release, deploy-site, build-binaries, and codeql checkoutsVerification
build-binariesusesgithub.tokenforgh release upload)pnpm test(831 tests, 100% coverage)Reference
defense-in-depth-nodejs § 4