[bug] Sidecar-less artifacts are permanently un-downloadable (digest fallback is dead code) #10
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?
Autonomous audit finding (needs triage — possibly intended fail-closed).
src/lib/download-impl.js:97-100returns a meta object with nodigestfor sidecar-less artifacts, butverifyDigest(:161-166) throws when the digest is absent. So the documented sidecar-less fallback path always throws → dead code. If fail-closed-on-missing-digest is intended (per the #9 hardening), remove/relabel the fallback so it isn't presented as supported; if sidecar-less downloads should work, the fallback must skip verification explicitly.