Skip to content

Commit ced8a18

Browse files
semgrep workflow: pin Docker image and actions to version tags
Pin returntocorp/semgrep container image to a specific version and GitHub Actions to major version tags to prevent :latest tag resolution and reduce supply-chain attack surface. Fixes: LCNC-15821 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4a6697b commit ced8a18

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/Semgrep.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ jobs:
2727

2828
container:
2929
# A Docker image with Semgrep installed. Do not change this.
30-
image: returntocorp/semgrep
31-
30+
image: returntocorp/semgrep:1.166.0
3231
# Skip any PR created by dependabot to avoid permission issues:
3332
if: (github.actor != 'dependabot[bot]')
3433

0 commit comments

Comments
 (0)