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

   > 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.
   
   We're already running untrusted code in the Beam CI environment. The only 
exception is the release workflows which don't execute arbitrary 
pip/gradle/etc..., so if we wanted to do something we could scope to those for 
GitHub Actions.
   
   > 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.
   
   Why is 7 better though? IMO, this just slows down our ability to get patches 
and is an overly opinionated alert.


-- 
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