Skip to content

Add security side quest: Long-Lived Credential Risks (PATs vs ephemeral GITHUB_TOKEN)#1253

Merged
pelikhan merged 2 commits into
mainfrom
copilot/security-side-quest-long-lived-credential-risks
Jul 16, 2026
Merged

Add security side quest: Long-Lived Credential Risks (PATs vs ephemeral GITHUB_TOKEN)#1253
pelikhan merged 2 commits into
mainfrom
copilot/security-side-quest-long-lived-credential-risks

Conversation

Copilot AI commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Adds a new security side quest covering why personal access tokens create a larger attack surface than the ephemeral GITHUB_TOKEN in unattended agentic workflows, and how permissions: minimization and network.allowed-domains contain the blast radius of a leaked credential.

Changes

  • workshop/side-quest-16-05-long-lived-credentials.md (new) — covers the PAT vs GITHUB_TOKEN risk 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 unavoidable
  • workshop/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 quests
  • workshop/README.md — adds the new side quest to the Optional Side Quests table in step-16 sequence

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
Copilot AI requested a review from pelikhan July 15, 2026 22:10
@pelikhan pelikhan marked this pull request as ready for review July 16, 2026 04:15
@pelikhan pelikhan merged commit f560e81 into main Jul 16, 2026
21 checks passed
@pelikhan pelikhan deleted the copilot/security-side-quest-long-lived-credential-risks branch July 16, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[security-side-quest] Add security side quest: Long-Lived Credential Risks

2 participants