Skip to content

[Aikido] AI Fix for actions/checkout may expose GITHUB_TOKEN via git config#15

Merged
toindev merged 1 commit into
mainfrom
fix/aikido-security-sast-57958605-uz6x
Jul 20, 2026
Merged

[Aikido] AI Fix for actions/checkout may expose GITHUB_TOKEN via git config#15
toindev merged 1 commit into
mainfrom
fix/aikido-security-sast-57958605-uz6x

Conversation

@aikido-autofix

Copy link
Copy Markdown

This patch mitigates credential exposure risk in GitHub Actions workflows by setting persist-credentials to false on multiple actions/checkout steps across four workflow files (.github/actions/build-test-push/action.yml, .github/actions/merge/action.yml, .github/workflows/continuous-delivery.yml, and .github/workflows/pull-request-cleanup.yml), preventing the GITHUB_TOKEN from being persisted in the local git configuration where it could be accessed by subsequent workflow steps or third-party actions.

Aikido used AI to generate this PR.

@florianharnet
florianharnet requested a review from toindev June 30, 2026 14:11
@toindev
toindev merged commit 503b695 into main Jul 20, 2026
1 check passed
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.

2 participants