Verify cache archive digest before restore #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Caches are restored from shared object storage, but cache-action has no metadata digest check before extracting an archive. A poisoned or corrupted object can be expanded directly into the workspace/home cache paths.
Verified
git grep origin/main -- src/lib digest sha256shows key/version hashing but no archive digest sidecar verification.src/lib/restore-impl.jsdownloads and extracts the matched object directly.Build