spam PyPI phishing shipped malware
Part of the JuiceLedger phished PyPI maintainers campaign
JuiceLedger used phished PyPI credentials to publish malicious spam 2.0.2 and 4.0.2. The releases collected environment data and ran a downloaded trojan at install time.
Story
spam was one of the legitimate PyPI projects hit during the JuiceLedger phishing campaign. The attacker did not have to create a lookalike package or wait for a typo. Stolen maintainer credentials gave them the ability to publish under the real spam project name.
The poisoned releases were versions 2.0.2 and 4.0.2. Like the companion exotel compromise, the malicious code ran during package installation, collected host and environment details, contacted attacker-controlled infrastructure, and downloaded a larger trojan payload.
That made the exposure surface broader than production applications that explicitly imported spam. Developer machines, build jobs, and automated dependency refreshes could execute the setup path simply by resolving and installing the package from PyPI.
PyPI removed the malicious releases and advisories were published through GitHub, PyPA, and GitLab. This page keeps the record narrow to the real spam package compromise; the broader JuiceLedger activity also included exotel and a large typosquat cleanup campaign.
Affected Artifacts
- Observed
- 2022-08-24
- Fixed
- Not listed
- Hashes
-
- sha256:60434af3ebe924efabc96558e6c8d8176bf4eb06dd6cc47b4c491da9964be874
Incident Context
- Motive
- Credential Theft
- Attribution
- Group
- Cause
- Compromised Account Credentials
- Transitive
- No
- Actor
- JuiceLedger
- User Impact
- 200000
External References
- `spam` project on PyPI compromised, malicious releases madegithub.com
- PYSEC-2022-251 spam advisorygithub.com
- GHSA-2r6g-7r83-jg72: `spam` project on PyPI compromised, malicious releases madeadvisories.gitlab.com
- PyPI packages hijacked after developers fall for phishing emailsbleepingcomputer.com
- First Known Phishing Attack Against PyPi Userscheckmarx.com
- PyPI Phishing Campaign | JuiceLedger Threat Actor Pivots From Fake Apps to Supply Chain Attackssentinelone.com
- PyPI packages succumb to Mailchimp phishing scamitpro.com
Source record: oss/attacks/spam/meta.yaml