supply chain / setuptools

setuptools

registryPyPI
package namesetuptools
maintainerPython Packaging Authority

setuptools is the foundational Python package build system, present in virtually every Python environment as a transitive dependency. It is used by pip to build packages from source and by projects that define `setup.py` or `pyproject.toml`. As a near-universal dependency, a compromise propagates to every package install step.

api usage

Checking setuptools

setuptools 72.0.0 is a clean version with no known supply chain compromise. The response returns compromised: false with an empty sources array.

bash
curl "https://api.attestd.io/v1/check?product=setuptools&version=72.0.0" \
  -H "Authorization: Bearer YOUR_API_KEY"
json
{
  "product": "setuptools",
  "version": "72.0.0",
  "supported": true,
  "risk_state": "none",
  "supply_chain": {
    "compromised": false,
    "sources": [],
    "malware_type": null,
    "description": null,
    "advisory_url": null,
    "compromised_at": null,
    "removed_at": null
  },
  "last_updated": "2026-05-01T00:00:00Z"
}
attack surface

Why this package is monitored

Build system packages run during every `pip install` invocation, including the install of all other packages in the environment. A compromised version can execute code at the point when environment variables, SSH agents, and cloud credentials are all active.

Attestd monitors setuptools using the following detection sources:

registry

Manually curated advisories in the Attestd registry, verified by a human analyst. Confidence 1.0.

osv

OSV.dev malicious-package advisories with IDs prefixed MAL-. Confidence 0.95.

pypi_yank

Versions yanked on PyPI with a security-related yanked_reason annotation. Confidence 0.80.

related