Add security side quest: Long-Lived Credential Risks (PATs vs ephemeral GITHUB_TOKEN)#1253
Merged
pelikhan merged 2 commits intoJul 16, 2026
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add security side quest for long-lived credential risks
Add security side quest: Long-Lived Credential Risks (PATs vs ephemeral GITHUB_TOKEN)
Jul 15, 2026
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.
Adds a new security side quest covering why personal access tokens create a larger attack surface than the ephemeral
GITHUB_TOKENin unattended agentic workflows, and howpermissions:minimization andnetwork.allowed-domainscontain the blast radius of a leaked credential.Changes
workshop/side-quest-16-05-long-lived-credentials.md(new) — covers the PAT vsGITHUB_TOKENrisk comparison (expiry, scope, rotation, revocation), how unattended workflows amplify long-lived credential danger, three gh-aw mitigations, and a practices table for when a PAT is unavoidableworkshop/16-connect-data-source.md— replaces the existing single-line token-exfiltration TIP with a<details>multi-line callout that links to both the exfiltration and new long-lived credentials side questsworkshop/README.md— adds the new side quest to the Optional Side Quests table in step-16 sequence