Skip to content

Potential Mitigation for Abandoned S3 Buckets in Casks #5954

Discussion options

You must be logged in to vote

Hi. I'm Homebrew's Security Manager. This is indeed outside our threat model. We use sha256 :no_check because the casks will break when they are updated in place, and no one will be able to install/upgrade if we defined the current sha256.

The best way to handle this is to have upstreams use versioned URLs. Much like how there are upstreams who do not understand that retagging in git is the insane thing to do, there will be upstreams who are more interested in having the easiest release process. This may involve unversioned URLs. The alternative is to remove all casks without versioned URLs, but this is likely to upset many users. Unfortunately status quo is as good as it gets for this si…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thatrobotdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants