derrickaw commented on PR #41684:
URL: https://github.com/apache/beam/pull/41684#issuecomment-7175627755

   > > Dependabot security updates continue to bypass cooldown automatically
   > 
   > How is this measured? Do packages have to declare that they're 
specifically making security updates (I expect many packages don't do this well 
if so)
   
   My understanding is that dependabot security updates are driven by the 
Github Advisory Database, which aggregates CVEs etc rather than package-level 
metadata flags. Probably if silent security fixes are shipped without any CVE 
etc would be treated as routine version updates, but Github already applies an 
implicit 3-day default cooldown when cooldown parameter is omitted, so 
default-days of 7 only adds 4 days over current behavior.
   
   > 
   > I think there is tension here, but Beam's release voting period naturally 
provides some protection here anyways (we won't release bad binaries for at 
least 3 days, but practically it is usually longer). Given that, I'm not sure 
that this is a net positive for security.
   
   I think the primary threat cooldown mitigates isn't shipping a bad Beam 
release binary, but executing a compromised github-action, pip, gradle, gomod 
release inside apache beam CI itself as soon as the dependabot PR runs or 
merges and before a release vote happens. Most compromised releases are 
detected and yanked within a few days.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to