Python 3.15 (the final release is currently scheduled for October 9, 2026) intro...
Stephan Berger @malmoeb@infosec.exchange
Python 3.15 (the final release is currently scheduled for October 9, 2026) introduces .start files as a structured replacement for executable import lines in .pth files.
A .start file in site-packages references a package.module:callable. Python imports the module and invokes the callable during interpreter startup, before the user-supplied Python code runs. From a DFIR perspective, this creates another startup artifact worth checking when investigating unexpected Python execution or persistence.
A wrote a short blog post about it, with an example showcasing the technique: