Skip to content
stack atlasby Kristen Aing · as of 3 Dec 2026

Breach

Python admin GitHub token leaked in a Docker Hub image

Seed reviewedSourcedDisclosed 8 Jul 2024Occurred: not statedLast reviewed 17 Nov 2026

What was reported

PyPI reported that a GitHub personal access token with admin access to the python, pypi, psf and pypa organizations was found in a compiled .pyc file inside a public Docker Hub image. The token was revoked immediately and no indicators of malicious activity were found.

What is not known

  • This is a researcher-found exposure with no reported attacker activity. It is typed as a breach because the feed has no exposure type.
  • No ATT&CK technique is asserted until a separate sourced mapping review.

Sources (1)

Classification

MITRE ATT&CK
Not evaluated
Ecosystems
PyPI, Docker Hub
Industry
Not stated
Where it was exposed
Build artifact or image
Packages
None linked

Secret type and location are only what the sources state; “Not stated” means the sources don’t say. Location is where the first exposed secret sat. Techniques are listed only after a sourced mapping review. “Not evaluated” means nobody has reviewed it yet, not that the technique was absent.

Related market categories

  • Secrets detection and remediation

    An admin token was exposed inside a compiled file in a public container image.

    Does not imply: Any malicious use; PyPI found none.

    Reviewed 17 Nov 2026