Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpinned Actions Full Length Commit SHA @ /.github/workflows/main.yml #50

Closed
helderfvieira opened this issue Jan 31, 2024 · 0 comments
Closed

Comments

@helderfvieira
Copy link
Owner

Checkmarx (IaC-Security): Unpinned Actions Full Length Commit SHA
Checkmarx Project: helderfvieira/astlab
Repository URL: https://github.com/helderfvieira/astlab
Branch: main
Scan ID: 73604313-b4a6-4869-96a9-c9ccbf87aedc


Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.

Locations:

Result #1:
Severity: MEDIUM
State: TO_VERIFY
Status: NEW
    File: /.github/workflows/main.yml[16,0]
    Expected value: Action pinned to a full length commit SHA.
    Actual value: Action is not pinned to a full length commit SHA.
    Review result in Checkmarx One: Unpinned Actions Full Length Commit SHA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant