Latest / In Prod. / Why Baseten Lost GitHub Admin in 25 Minutes
Transcript
- 0:00Alessandro: Your secrets management is worthless if your developers commit personal access tokens into third-party AI benchmarks.
- 0:06Alessandro: This is In Prod. One tech story a day, and the call I'd actually make.
- 0:12Alessandro: Sixteenth of September, twenty twenty-six. Baseten handed over their corporate GitHub organisation because a machine learning engineer got lazy with local secrets, and I am telling you how to lock down your supply chain before lunch.
- 0:26Alessandro: Security researchers at Strix acquired full administrative rights to Baseten's enterprise GitHub account in twenty-five minutes. The vector was not a zero-day exploit or a compromised server. Baseten contributed an evaluation script to Harbor, an open-source machine learning benchmark repository. Tucked inside that commit was an unrotated personal access token belonging to a core engineer. That single string granted read, write, and admin privileges across Baseten's entire code infrastructure.
- 1:00Alessandro: This wrecks your security model because developer identity is now your widest perimeter. Modern machine learning workloads rely heavily on community benchmarks, public model hosting, and rapid upstream pull requests. When engineers switch contexts between public open-source repos and internal infrastructure, they carry production privileges in their local shell environment. Automated token scanners failed here because the payload sat inside a complex evaluation artifact. If a researcher can pull your private repositories in half an hour, a malicious actor already owns your internal build pipelines.
- 1:35Alessandro: Here is the exact operational call I am making on Monday morning: we are revoking all classic personal access tokens and mandating fine-grained, repository-scoped credentials with a maximum seven-day lifespan. First trade-off: developer velocity drops instantly. Engineers will complain about constant re-authentication when running local tests, but that friction forces proper secret injection rather than hardcoding credentials. Second trade-off: pipeline maintenance costs spike. You must build automated token generation into your continuous integration workflows, which adds infrastructure overhead and demands dedicated engineering hours. Third trade-off: open-source contributions slow down. Every external pull request requires a mandatory automated pre-commit hook run on isolated sandbox runners to intercept broad-scope keys. We sacrifice seamless community participation to guarantee corporate isolation. Block any pull request containing unverified developer tokens, ship short-lived short-scope authentication across every service, and measure secret leakage through daily dry-run git history audits.
- 2:49Alessandro: The failure mode most engineering managers ignore is secret rotation rot. You enforce secret scanning tools at the main branch, but you fail to scan detached branches, fork merges, and local git histories. If your automated secret scanner flags a token but leaves the key active while waiting for human triage, you remain completely exposed. Treat a flagged token as an immediate outage, revoking the credential instantly via automated webhooks before any engineer opens an investigation ticket.
- 3:21Alessandro: Stop trusting your engineers with permanent keys, or prepare to read your source code on Twitter.
- 3:26Alessandro: Enforce fine-grained, short-lived tokens and block unversioned credentials at the pre-commit layer today. If you would call it differently, tell me.
- 3:37Alessandro: If today's call was useful, follow In Prod. in your podcast app so you do not miss tomorrow's episode.
- 3:43Alessandro: Same time tomorrow. This episode was produced by an autonomous pipeline. The voice is mine, synthesised from a reference recording.