Episode Details
Back to Episodes
#506: Raft, Rust, and release day
Episode 506
Published 1 day, 17 hours ago
Description
Topics covered in this episode:
- De-fanging dangerous triggers in GitHub Actions across an organization
- RQlite - The fault-tolerant relational database built on SQLite.
- diskcache-oxide now supports Django
- Muru: an AI-assisted Rust server for Python apps from mod_wsgi's creator
- Extras
- Joke
About the show
Sponsored by LongLink: Open-source platform for building and running custom business applications with Python and FastAPI
Connect with the hosts
- Michael: Mastodon / BlueSky / X / LinkedIn
- Calvin: Mastodon / BlueSky / X / LinkedIn
- Show: Mastodon / BlueSky / X
Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Tuesday at 7am PT. Older video versions available there too.
Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.
Calvin #1: De-fanging dangerous triggers in GitHub Actions across an organization
- GitHub will block
pull_request_targetby default in public repos starting Dec 2, 2026. GitHub announced this in its changelog on Nov 2; it isn't in effect yet. That default stops applying once you set your own event policy. - Two triggers are the main danger.
pull_request_targetandissue_commentboth run with a token that can write to the repo and with the repo's secrets. The classic "pwn request" is a workflow that checks out a stranger's PR code and runs it. - It's not theoretical. Ultralytics (Dec 2024), LiteLLM and Telnyx via Trivy (Mar 2026), and elementary-data (Apr 2026), where a single crafted PR comment led to a malicious release on PyPI.
- To get started, the first step is an Actions event policy. On GitHub Team or Enterprise, one org-wide policy allows only the triggers you expect:
pull_request,push,release,repository_dispatch,schedule,workflow_dispatch,workflow_run. - Start in Evaluate mode. It blocks nothing and logs what would have been blocked under "Policy insights". Leave it on long enough to cover a release and your least frequent sched