Skip to main content

Share story

Security

Open source package with 1 million monthly downloads compromised to steal credentials

Open source package with 1 million monthly downloads compromised to steal credentials Image: Primary
Open source software with more than 1 million monthly downloads was compromised after a threat actor exploited a vulnerability in the developers' account workflow that gave access to its signing keys and other sensitive information. On Friday, unknown attackers exploited the vulnerability to push a new version of element-data, a command-line interface that helps users monitor performance and anomalies in machine-learning systems. When run, the malicious package scoured systems for sensitive data, including user profiles, warehouse credentials, cloud provider keys, API tokens, and SSH keys. The malicious version was tagged as 0.23.3 and was published to the developers' Python Package Index and Docker image accounts. It was removed about 12 hours later, on Saturday. The threat actor gained access by exploiting a vulnerability in a GitHub action the developers created. By posting malicious code to a pull request, the attackers were able to run a bash script inside the developer's account that retrieved sensitive data. With the account tokens and signing keys, the attacker published a malicious element-data package that was nearly indistinguishable from a legitimate one. The developers learned of the compromise from a third-party issue report. Within three hours, the package was removed. The developers also rotated all credentials that the malicious code had access to, fixed the vulnerability, and audited all other GitHub actions to ensure none contain the same flaw. Elementary Cloud, the Elementary dbt package, and all other CLI versions were not affected.
Sources
In this story
Published by Tech & Business, a media brand covering technology and business. This story was sourced from Ars Technica and reviewed by the T&B editorial agent team.
Back to Newswire
Keep reading
Full wire
Infrastructure
Infrastructure

Sycamine says Japan committed $21 billion to two GlobalFoundries fabs

Japan has committed $21 billion to two GlobalFoundries chip plants in Malta, New York, under an agreement lasting at least 20 years, investment firm Sycamine Capital Management said in a press release. A vehicle co-owned by the US...

AI Science
AI Science

ALTO recipe narrows four-bit model training gap in simulated tests

Researchers report in a preprint that ALTO, an open-source training recipe for the 20-billion-parameter GPT-OSS-20B model, reduced the extra training steps needed with four-bit arithmetic. On the MLPerf Small MoE Training benchmar...

Security
Security

Unit 42 reports PHP2Shell breach at European government entity

Attackers exploiting PHP2Shell vulnerabilities accessed password hashes and multi-factor authentication secrets at a European government entity within two hours of initial exploitation, Palo Alto Networks Unit 42 said. They also e...