When a bad release lands, the reflex in the incident channel is "do we even import that?" For two recent releases of a Python agent framework, that question will let you close the ticket too early.
Installing either version dropped a .pth file into the environment. Python reads those at startup, before any of your code runs (unless you launch it with -S), and executes any line that begins with import. The feature exists so packages can tell Python where their code lives. This one loaded the attacker's.
So any Python process counted: a CI job, a test run, a throwaway script. Nobody had to import the framework. Ask whether 1.26.1 or 1.26.2 was ever installed. Check lockfiles, CI images and caches before the Thanksgiving freeze.
Nov 17, 20:35 UTC: 1.26.1 hits PyPI, Python's public package registry.
Nov 17, 21:08 UTC: 1.26.2 follows, 33 minutes later.
Nov 18: GitHub advisory published. Both versions were already pulled.
Reached for: secrets in environment variables, other running processes' environment variables, credential files, the cloud tokens platforms hand machines automatically, CI tokens.
Added in 1.26.2: GitHub Actions tokens, issued to each workflow run.
Unknown: when the versions came down, which means nobody knows how long they were live. Also unknown: how many installs happened and whether any breach downstream is confirmed.
Not established: that secrets actually left anyone's machine. The advisory describes code built to collect and send them.

