Skip to content

Commit 2145ea1

Browse files
committed
Fix mdformat.
1 parent f4080b5 commit 2145ea1

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

docs/semgrep-rules/actions-need-pinned-commits.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ For actions that look like:
66
uses: actions/checkout@v4
77
```
88

9-
GitHub uses the underlying git label v4 to fetch the action to run. As seen in the [tj-actions/changed-files](https://semgrep.dev/blog/2025/popular-github-action-tj-actionschanged-files-is-compromised/) vulnerabilty, these lables are not immutable and trivially changeable. So what you think is a nice stable safe version, an attacker has changed behind your back to something nefarious.
9+
GitHub uses the underlying git label v4 to fetch the action to run. As seen in the
10+
[tj-actions/changed-files](https://semgrep.dev/blog/2025/popular-github-action-tj-actionschanged-files-is-compromised/)
11+
vulnerabilty, these lables are not immutable and trivially changeable. So what you think is a nice
12+
stable safe version, an attacker has changed behind your back to something nefarious.
1013

11-
We are strongly encouraging use to use the full git commit hash instead to prevent this type of attacks.
14+
We are strongly encouraging use to use the full git commit hash instead to prevent this type of
15+
attacks.
1216

1317
## Ratchet
1418

0 commit comments

Comments
 (0)