CyberSIXT Search
Original
Image: StepSecurity

StepSecurity

Malicious PyPI package mrmustard steals SSH, AWS, K8s keys

On July 24, 2026, the Python Package Index (PyPI) hosted a malicious version (0.7.4) of the mrmustard package, which steals SSH keys, AWS, and Kubernetes credentials upon import. This compromise resulted from a hijacked maintainer's GitHub account that executed a series of steps, including the exfiltration of publishing tokens and inserting malicious code into the package. The attack's implications emphasize the need for immediate credential rotation and removal of persistence mechanisms installed by the malware.

Steps for identifying affected environments and recovering from the attack are detailed, along with measures to protect against such threats, all supported by StepSecurity's detection capabilities.

Sources

On this device

Following

Intel

VendorsThreat actorsResearch reports

Settings

CyberSIXT summarises security news every 30 minutes.

↑↓ move↵ open⌘C copy CVE IDEsc close

Keyboard shortcuts

Everything works with a mouse or touch. Shortcuts are a faster path.

Search ⌘K
Search /
Next item J
Previous item K
Go to Today GT
Go to News GN
Go to CVEs GC
Go to Briefing GB
Reduce motion on this device