Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
Back to intelligence
open-source-dependency-vulnerabilitypackage-repository-poisoningend-of-life-softwarevendor-distribution-compromise

Legacy Python Bootstrap Scripts Enable Domain Takeover Risk in PyPI Packages

Updated 3mo agoFirst seen Nov 28, 20253 sources

Security researchers have identified a vulnerability in legacy Python packages distributed via PyPI, stemming from outdated bootstrap scripts that reference the now-defunct domain python-distribute[.]org. These scripts, associated with the zc.buildout tool, automate the download and installation of dependencies, including the obsolete 'Distribute' package, by fetching installation scripts from the aforementioned domain. Since the domain is currently up for sale and managed for ad revenue, an attacker who acquires it could serve malicious code to any environment executing these legacy bootstrap scripts, potentially compromising the software supply chain.

The affected packages include widely used libraries such as tornado, pypiserver, slapos.core, roman, xlutils, and testfixtures, among others. While the vulnerable code is largely unused in modern development, it may still be present in legacy production environments, posing a latent risk. The issue highlights the ongoing dangers of abandoned infrastructure and the importance of auditing dependencies and installation scripts, especially in open-source ecosystems where legacy code may persist unnoticed.

Share:
Legacy Python Bootstrap Scripts Enable Domain Takeover Risk in PyPI Packages
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

5 events from the most recent confirmed update back to the earliest known activity.

5 EVENTS
Nov 26, 20257mo ago

ReversingLabs published PoC and affected-package details

As part of the disclosure, ReversingLabs released a proof of concept and shared affected package names and script hashes as indicators to help defenders identify exposure. The researchers noted no known exploitation of this specific issue.

ReversingLabs disclosed PyPI domain-takeover supply chain risk

ReversingLabs researchers identified and publicly disclosed that legacy Python bootstrap scripts could enable a supply chain attack if an attacker acquired `python-distribute.org` and served malicious code to users who manually ran the scripts.

Jan 1, 20251y ago

Legacy PyPI packages retained vulnerable bootstrap scripts

Over time, multiple Python packages continued shipping old `distribute_setup.py` or `bootstrap.py` code that fetched and executed content from the abandoned domain, including `slapos.core` and development versions of Tornado.

Jan 1, 201412y ago

python-distribute.org domain became available for sale

The `python-distribute.org` domain, still hard-coded in legacy Python bootstrap scripts, has reportedly been available for purchase since 2014, creating the possibility of a future domain-takeover supply chain attack.

Jan 1, 201313y ago

Distribute bootstrap script became obsolete after setuptools integration

The legacy `distribute_setup.py` mechanism was rendered obsolete in 2013 after Distribute was merged back into setuptools, but the bootstrap pattern remained embedded in some projects.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

12 LINKEDOpen in app
Malware
1 linked
Organizations
11 linked
Python Package IndexReversingLabsTornadoPython Software FoundationHelixGuardPython Packaging AuthorityOpenaizc.buildoutsetuptoolsDistribute AidSpectra Assure Community
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.