ci: add ActionScope GitHub Actions security exposure scan#116547
Closed
r12habh wants to merge 1 commit into
Closed
ci: add ActionScope GitHub Actions security exposure scan#116547r12habh wants to merge 1 commit into
r12habh wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 4f391f6. Configure here.
| persist-credentials: false | ||
|
|
||
| - name: Install ActionScope | ||
| run: python3 -m pip install "actionscope>=0.3.5,<1.0" |
Contributor
There was a problem hiding this comment.
Missing Python setup breaks pip
High Severity
The job runs on ubuntu-24.04 and installs actionscope with system python3 -m pip install, but there is no actions/setup-python step or virtualenv. On that image, PEP 668 blocks installs into the default interpreter, so the install step fails and the scan never runs.
Reviewed by Cursor Bugbot for commit 4f391f6. Configure here.
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.


What
Adds a lightweight ActionScope workflow to scan GitHub Actions, Terraform, and IAM/policy JSON changes for CI/CD security exposure.
The workflow is intentionally conservative:
contents: readactions/checkoutto a full commit SHAactionscope>=0.3.5,<1.0from PyPIcriticalfindings, so the current non-critical findings do not block CIWhy
I ran ActionScope locally against this repository and it found enough workflow-level signal to make a recurring check useful.
Notable current signal:
id-token: writeor write-capableGITHUB_TOKENscopes.Because this uses
--fail-on critical, this PR should add visibility without changing the current pass/fail posture.