Cascadity Audio
← All streams

#python

Everything tagged python, across every stream.

0

Guido van Rossum announces that Tim Peters, author of the Zen of Python and Timsort, died in July

Van Rossum's tribute and the thread of anecdotes from Python's core developers are a portrait of how the language was built.

Python creator Guido van Rossum announced on the Python discussion forum on November 11 that Tim Peters died earlier this year, on July 15. Peters is best known for the Zen of Python (PEP 20), but van Rossum calls him a mentor and language co-designer long before that. His first contribution, van Rossum writes, was convincing him that Python should support mixed arithmetic between integers and floats.

On the Python mailing lists Peters earned the nickname "Timbot" for countless careful, patient answers marked with a mild , and van Rossum credits his mathematical and compiler knowledge with saving the project from design mistakes and with setting a tone of explaining rather than dismissing. In 2002 he created Timsort, the sorting algorithm for Python lists later adopted by Java and Android. Van Rossum invited others to share their own Tim anecdotes, and the thread has filled with them.

Rabbit Holes 2
  • Timsort

    After exploring In Memoriam: Tim Peters 1952–2026, for the algorithm that carries his name, read Timsort.

    A hybrid, stable sorting algorithm derived from merge sort and insertion sort, designed to perform well on real-world data and implemented by Tim Peters in 2002 for Python.

    Wikipedia · Wade · 5 min

    0
  • PEP 20 – The Zen of Python

    After exploring In Memoriam: Tim Peters 1952–2026, in his own words, there's PEP 20 – The Zen of Python.

    In this Python Enhancement Proposal, Tim Peters channels the guiding principles for Python's design into 20 aphorisms, only 19 of them written down; it also shows how to print them with "import this".

    Python Enhancement Proposals · Wade · 5 min

    0
0

CISA says a bug in Google's Brotli decompressor is now being exploited; Node.js, Python, .NET and firewalls need patches

The Broccoli2Shell page is a clear, vendor-by-vendor checklist; The Register explains why .NET shipped an emergency fix.

A flaw in Google's reference C decoder for Brotli, the compression format many websites use, lets crafted compressed data write past the end of a buffer, which can crash a program, leak memory or, in some setups, run code. Node.js disclosed it on October 21 with credit to OpenAI's Codex Security researchers; the fix was in Brotli's source in February, but nobody knew then it was a security bug, The Register reports.

This week the fallout spread. Microsoft shipped out-of-band .NET updates on October 25, and Palo Alto Networks rolled out hotfixes for PAN-OS firewalls that inspect Brotli traffic. According to the Broccoli2Shell site, threat-intelligence firm ELLIO saw exploit traffic using the public proof of concept on October 26, and CISA added CVE-2026-111497 to its exploited-vulnerabilities catalog on October 27.

Anything that decompresses Brotli data from others with Brotli 1.0.3 to 1.2.0 can be exposed, including Node's built-in fetch and Python's requests when a Brotli package is installed. Patched programs must also be restarted, and container images rebuilt.

Rabbit Holes 1
0

Hijacked LiteLLM release on PyPI and Docker planted a credential stealer and backdoor

SafeDep shows exactly how the malicious files got into the package; BleepingComputer lists the affected images and what to rotate.

Version 1.107.0 of LiteLLM, a popular open-source Python gateway for calling AI models, was published to PyPI and Docker registries with malware on October 21, according to SafeDep and BleepingComputer. LiteLLM confirmed the compromise and says the release pipeline was hijacked; SafeDep says LiteLLM believes the attacker took three developers' GitHub CLI credentials from the logs of an internet-exposed internal deployment.

All seven wheels for Linux, macOS and Windows added three files that run whenever Python starts, even if litellm is never imported. One steals SSH keys, cloud and CI/CD credentials, AI tool tokens, browser passwords and stored model-provider keys; another checks in hourly and downloads and runs more code. The PyPI release was live from 11:39 to 13:23 UTC; Docker Hub and GHCR tags pointed to bad images for a couple of hours. Versions 1.106.2 and the 1.107.0 release candidates are clean.

BleepingComputer says affected systems should be isolated and rebuilt and all exposed secrets rotated, and warns that running Python or pip to investigate also triggers the malware.

Cascadic Analysis 1
UndertowPrivilege escalation + credential propagation

What hidden risk could pull against this, even if the news is good?

SafeDep says LiteLLM believes the attacker started with three developers' GitHub CLI credentials, found in the logs of an internet-exposed internal deployment. Those let the attacker publish a release, and the release's job was to collect more credentials: SSH keys, cloud and CI/CD secrets, AI tool tokens and stored model-provider keys. Because LiteLLM is a gateway that sits in front of many model providers, the machines that run it tend to hold keys to all of them at once.

0
Rabbit Holes 2