Commit 87857e4
chore: pin GitHub Actions to commit SHAs (#7813)
## Pin GitHub Actions to commit SHAs
GitHub Actions referenced by tag (e.g. `actions/checkout@v4`) use a
mutable pointer — the tag owner can move it to a different commit at any
time, including a malicious one. This is the attack vector used in the
tj-actions/changed-files incident (CVE-2025-30066).
Pinning to a full 40-character commit SHA makes the reference immutable.
The `# tag` comment preserves human readability so reviewers can tell
which version is pinned.
Important: a SHA can also originate from a forked repository. A
malicious actor can fork an action, push a compromised commit to the
fork, and the SHA will resolve — but it won't exist in the upstream
canonical repo. Each SHA in this PR was verified against the action's
canonical repository (not a fork).
### Changes
- `actions/checkout@v6` ->
`actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2`
- Version: v6.0.2 | Latest: v6.0.2 | Release age: 88d
- Commit:
actions/checkout@de0fac2
- `actions/upload-artifact@v7` ->
`actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7`
- Version: v7 | Latest: v3.2.2 | Release age: 22d
- Commit:
actions/upload-artifact@bbbca2d
- `actions/download-artifact@v8` ->
`actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c #
v8.0.1`
- Version: v8.0.1 | Latest: v3.1.0-node20 | Release age: 22d
- Commit:
actions/download-artifact@3e5f45b
- Warnings: 1 security advisory(ies) found, Action has 1 known
advisory(ies)
- `dfinity/setup-dfx@main` ->
`dfinity/setup-dfx@e50c04f104ee4285ec010f10609483cf41e4d365 # main`
- Version: main | Latest: ? | Release age: ?
- Commit:
dfinity/setup-dfx@e50c04f
- `actions/setup-go@v6` ->
`actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0`
- Version: v6.4.0 | Latest: v6.4.0 | Release age: 9d
- Commit:
actions/setup-go@4a36011
- `docker/setup-buildx-action@v4` ->
`docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd #
v4`
- Version: v4 | Latest: v4.0.0 | Release age: 34d
- Commit:
docker/setup-buildx-action@4d04d5d
- `docker/build-push-action@v7` ->
`docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7`
- Version: v7 | Latest: v7.0.0 | Release age: 33d
- Commit:
docker/build-push-action@d08e5c3
- `actions/setup-node@v6` ->
`actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0`
- Version: v6.3.0 | Latest: v6.3.0 | Release age: 35d
- Commit:
actions/setup-node@53b8394
- `actions/cache@v5` ->
`actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4`
- Version: v5.0.4 | Latest: v5.0.4 | Release age: 20d
- Commit:
actions/cache@6682284
- `dfinity/internet-identity/.github/actions/slack@release-2023-08-28`
->
`dfinity/internet-identity/.github/actions/slack@b278eab440b6adfcb561f18fe24bdea66c1987c3
# release-2023-08-28`
- Version: release-2023-08-28 | Latest: release-2026-04-03 | Release
age: 11d
- Commit:
dfinity/internet-identity@b278eab
- Warnings: Latest release release-2026-04-03 is only 5 day(s) old (< 7
days). Using previous safe release., 3 security advisory(ies) found,
Action has 3 known advisory(ies)
- `actions/create-github-app-token@v2` ->
`actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349
# v2.2.2`
- Version: v2.2.2 | Latest: v3.0.0 | Release age: 25d
- Commit:
actions/create-github-app-token@fee1f7d
- `peter-evans/create-pull-request@v8` ->
`peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0
# v8.1.0`
- Version: v8.1.0 | Latest: v8.1.0 | Release age: 76d
- Commit:
peter-evans/create-pull-request@c0f553f
### Files modified
- `.github/workflows/build.yml`
- `.github/workflows/checks.yml`
- `.github/workflows/deploy-to-app.yaml`
- `.github/workflows/docker-main.yaml`
- `.github/workflows/nightly.yaml`
- `.github/workflows/reproducible.yaml`
- `.github/workflows/tag.yaml`
- `.github/workflows/update-aggregator.yml`
- `.github/workflows/update-didc.yml`
- `.github/workflows/update-ic-cargo-deps.yaml`
- `.github/workflows/update-next.yml`
- `.github/workflows/update-rust.yml`
- `.github/workflows/update-sns-aggregator-response.yml`
- `.github/workflows/update-snsdemo.yml`
### Security warnings
- 1 security advisory(ies) found
- Action has 1 known advisory(ies)
- Latest release release-2026-04-03 is only 5 day(s) old (< 7 days).
Using previous safe release.
- 3 security advisory(ies) found
- Action has 3 known advisory(ies)
---------
Co-authored-by: Yusef Habib <yusef.fernandez@dfinity.org>1 parent 2293b8c commit 87857e4
File tree
14 files changed
+104
-104
lines changed- .github/workflows
14 files changed
+104
-104
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
| 329 | + | |
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
| 366 | + | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
| 470 | + | |
471 | 471 | | |
472 | | - | |
| 472 | + | |
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
481 | | - | |
| 481 | + | |
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | | - | |
| 492 | + | |
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
| 504 | + | |
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
| 541 | + | |
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
0 commit comments