Commit d466042
fix(ci): verify mcp-publisher tarball SHA-256 before extracting
Previous install step piped curl output straight to tar — any compromise of
the release URL (CDN, account, MITM) would have executed arbitrary code
with OIDC write access. Now: download to file, verify SHA-256 against
pinned digest, then extract. Workflow aborts on mismatch.
Pinned to mcp-publisher v1.3.3 linux_amd64 (digest cross-checked against
the official registry_1.3.3_checksums.txt file).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent ce76c82 commit d466042
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
34 | 40 | | |
35 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
36 | 46 | | |
37 | 47 | | |
38 | 48 | | |
| |||
0 commit comments