Key Takeaways

- Version 0.23.3 of element-data contained malware that stole credentials, API tokens, and SSH keys
- Attackers exploited a GitHub Actions vulnerability to gain access to package signing keys
- Anyone who installed version 0.23.3 should rotate all credentials immediately
What Happened
Element-data, a command-line tool for monitoring performance and anomalies in machine-learning systems, was hijacked on Friday. Unknown attackers pushed version 0.23.3 to both the Python Package Index (PyPI) and Docker Hub. The malicious code ran quietly, scouring infected systems for sensitive data.
The malware targeted user profiles, warehouse credentials, cloud provider keys, API tokens, SSH keys, and the contents of .env files. It ran for about 12 hours before the developers removed it on Saturday.
Elementary Cloud, the Elementary dbt package, and all other CLI versions were not affected. Only version 0.23.3 contained the malicious code.
How the Attack Worked
The attackers found a vulnerability in a GitHub Action the developers created. By posting malicious code to a pull request, they triggered a bash script that ran inside the developer's account. This script retrieved signing keys and account tokens.
With those credentials in hand, the attackers published a malicious package that looked nearly identical to a legitimate release. This is a classic supply chain attack. The package appeared authentic, came from the official accounts, and bore valid signatures.
A third-party issue report alerted the developers. Within three hours of learning about the compromise, they removed the package, rotated all exposed credentials, fixed the vulnerability, and audited all their other GitHub Actions.
Check If You're Affected
The developers are urging anyone who installed version 0.23.3 to act immediately. Here's how to check your installed version:
pip show elementary-data | grep VersionIf you see version 0.23.3, uninstall it and install the safe version:
pip uninstall elementary-data
pip install elementary-data==0.23.4Pin your requirements and lockfiles explicitly to version 0.23.4 to prevent accidental reinstallation.
Check for Malware Execution
The malware left a marker file on systems where it ran. Check for this file to confirm whether the payload executed:
- macOS / Linux: /tmp/.trinny-security-update
- Windows: %TEMP%\.trinny-security-update
If the file exists, the malware ran on that machine. Treat all credentials accessible from that environment as compromised.
What to Rotate
Anyone who installed the compromised version should rotate these credentials immediately:
- dbt profiles
- Warehouse credentials
- Cloud provider keys (AWS, GCP, Azure)
- API tokens
- SSH keys
- Contents of any .env files
CI/CD runners are especially exposed. These systems often have broad access to production credentials and run automated processes without human oversight. If your CI/CD pipeline installed version 0.23.3, assume your deployment secrets were exposed.
The Bigger Picture
This attack follows a familiar pattern. Attackers target developer infrastructure because it's often the weakest link in the supply chain. A single compromised GitHub Action can grant access to signing keys, which then unlock the ability to publish malicious packages that millions of users will trust.
The element-data team responded quickly. Three hours from discovery to removal is solid incident response. But 12 hours of exposure is still enough time for the malware to spread widely in automated CI/CD pipelines that pull packages without human review.

Logicity's Take
Protecting Your Organization
Supply chain attacks are not going away. Here are practical steps to reduce your exposure:
- Pin dependencies to specific versions. Never use floating version specifiers in production.
- Use a private package mirror or proxy that caches packages before they reach your CI/CD systems.
- Audit your GitHub Actions for secrets exposure. Check what data they can access and who can trigger them.
- Enable two-factor authentication on all package registry accounts.
- Monitor for unexpected package updates. A new minor version appearing without a changelog warrants investigation.
Frequently Asked Questions
How do I know if I installed element-data version 0.23.3?
Run 'pip show elementary-data | grep Version' in your terminal. If it shows 0.23.3, you're affected.
What data did the malware steal?
The malware harvested user profiles, warehouse credentials, cloud provider keys, API tokens, SSH keys, and .env file contents.
Is the element-data package safe to use now?
Yes. Version 0.23.4 is clean, and the developers have fixed the vulnerability and rotated their credentials.
How long was the malicious version available?
About 12 hours, from Friday when it was published until Saturday when it was removed.
Should I rotate credentials even if I'm not sure I'm affected?
If there's any chance your systems pulled version 0.23.3, yes. Rotating credentials is faster than investigating a breach.
Need Help Implementing This?
Source: Ars Technica
Manaal Khan
Tech & Innovation Writer
Produced with AI assistance and reviewed by the Logicity editorial team. Learn more in our Editorial Policy.
Related Articles
More in Trending Tech
Humanity Just Went Farther Into Space Than Ever Before — And Made It Back Alive
Four astronauts splashed down in the Pacific Ocean on April 10, 2026, after traveling farther from Earth than any human beings in history. The Artemis II crew shattered a 56-year-old distance record set by Apollo 13, journeying nearly 253,000 miles from our planet during their 10-day lunar flyby mission. This marks the first time humans have ventured beyond low Earth orbit since 1972.

Amflow's Electric Bikes Are Blowing The Competition Away
Amflow, the e-bike brand spun out of DJI, has just released two impressive new electric mountain bikes that are breaking the mold with unprecedented power, range, and lightness. The flagship bikes are powered by the innovative Avinox motors and come with features like onboard navigation and heart rate control.

Canva Just Made a Power Play: Here's What It Means for the Future of Design and Marketing
Canva has made a bold move by acquiring two companies, Simtheory and Ortto, to boost its AI and marketing automation capabilities. This strategic move is set to revolutionize the way teams work on design and marketing projects. With these acquisitions, Canva is poised to become an all-in-one platform for businesses and individuals alike.



