Post

๐Ÿ’ฅ just released a github action: `uppt` it aims to be a very simple, secure release workflow for maintainers that adheres to best security practices โšช trusted, staged publishing on npmjs.com โšช github environment protection โšช generated release PR + changelog โšช automatic release + publish on merge โœจ

I don't have time right now to do a full review, but happy to setup some time next week if you want to discuss why I believe this to be true and show me why I am wrong.

FWIW, I think *most* of what you are doing in here is what I hoped to do myself (I even had a local repo where I started sometime a few months ago). The only thing I noticed in my quick review just now was that `pull_request_target` detail.

The TLDR of the problem is that CI is complex, and if you use pull_request_target you have to secure *the whole supply chain* you use in that CI, no exceptions. And nearly everyone who has looked at this through a robust security lens concludes that you *cannot* achieve that.

So it is not even specifics of what you are doing, it is *inherently flawed*. This is the same reason trusted publishing was flawed in the first place. Staged publish "fixes" that problem mostly, but PRT opens you up to some different classes of attacks again.