Making Tech Headlines · Page 3
GitHub Automation Gives Strangers an Overly Warm Welcome
· New York time
Python Software Foundation security developers warn that some GitHub Actions triggers can let an internet stranger start a workflow with access to secrets. Automation is wonderfully attentive, right up to the moment it becomes attentive to the wrong person. The developers say dangerous triggers have contributed to real incidents. Their discussion contrasts two triggers that look similar in a workflow file but carry different implications. For a pull request from a fork, the pull_request trigger runs code with a read-only token and no secrets. The similarly named pull_request_target requires more care because a workflow can have access to sensitive information. That small difference is a large administrative problem. Maintainers use automation to handle routine project work quickly and consistently, often across contributions from many people. A configuration that responds to outside activity must also decide what authority the resulting process should have. The developers note that unsafe and safe versions can be just one line apart. That makes this less a morality tale about careless maintainers than a design problem involving settings that look deceptively alike. A workflow can be helpful without being universally hospitable. The trick is to make the invitation list as carefully considered as the job the automation is meant to perform.
Read this story in the full newspaper →Satire. Not factual reporting. Read the original reporting from the linked publishers. How we make the newspaper.