An open source package with more than 1 million monthly downloads, `element-data`, was compromised after attackers exploited a flaw in the developers’ GitHub-based workflow. The vulnerability let the threat actor access signing keys and other sensitive account data, then publish a malicious release, version 0.23.3, to both Python Package Index and Docker accounts. The fake package was nearly identical to the legitimate one, making it difficult to detect.
When executed, the malicious version searched infected systems for credentials and secrets, including user profiles, warehouse credentials, cloud provider keys, API tokens, SSH keys, and `.env` file contents. The developers said anyone who installed version 0.23.3 or ran the affected Docker image should assume exposed credentials may have been compromised. The malicious release was removed within about 12 hours, and the issue was discovered through a third-party report.
The attackers reportedly abused a GitHub action tied to a pull request, running a bash script inside the developers’ account to steal data. After the incident, the maintainers rotated exposed credentials, fixed the flaw, and audited other GitHub actions for similar weaknesses.
Users are advised to verify their installed version, uninstall 0.23.3, upgrade to 0.23.4, clear caches, check for the malware marker file, and rotate any potentially exposed secrets. The incident highlights the growing risk of supply-chain attacks against open source software.
Article timeline
Build this article’s timeline
Extract dated events, key actors, and open questions using the same timeline analysis available in Signal.
HD Moore, Ars Technica, Elementary Cloud, and Elementary
🤖 AI prefill
📰What
An open source package with more than 1 million monthly downloads, `element-data`, was compromised after attackers exploited a flaw in the developers’ GitHub-based workflow.
🤖 AI prefill
📅WhenWhen did this happen, or what is the timeframe?
📍Where
San Francisco, macOS, and Linux
🤖 AI prefill
💡Why
Centers on supply-chain attack, open source package, and element-data
🤖 AI prefill
Login to answer and earn XP for each gap you fill.
Comments
Login to view and post comments.