Breach
Python admin GitHub token leaked in a Docker Hub image
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)
PyPI · Company incident report
Published 8 Jul 2024 · Reviewed 17 Nov 2026
Rights: Citation and short paraphrase only; check publisher terms before reuse.
Open source from PyPI (external site) ↗
Classification
- MITRE ATT&CK
- Not evaluated
- Ecosystems
- PyPI, Docker Hub
- Industry
- Not stated
- Secret type
- Git platform token
- 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