Monday, March 17, 2025
HomeCyber AttackSupply Chain Attack Targets 23,000 GitHub Repositories

Supply Chain Attack Targets 23,000 GitHub Repositories

Published on

SIEM as a Service

Follow Us on Google News

A critical security incident has been uncovered involving the popular GitHub Action tj-actions/changed-files, which is used in over 23,000 repositories.

The attack involves a malicious modification of the Action’s code, leading to the exposure of CI/CD secrets in GitHub Actions build logs.

This vulnerability was detected by StepSecurity’s Harden-Runner, a tool designed to secure CI/CD workflows by monitoring network activities and controlling access on GitHub-hosted and self-hosted runners.

The compromised Action executes a malicious Python script that dumps sensitive data from the GitHub Actions runner’s memory.

The exploit specifically targets Linux environments, where it attempts to extract secrets by reading the memory of the Runner Worker process.

The malicious code was introduced through a retroactive update of multiple version tags, all pointing to the same malicious commit hash.

This sophisticated attack strategy allowed the attackers to compromise most versions of the Action without immediately raising suspicion.

Incident Timeline

The incident began on March 14, 2025, and was quickly identified by StepSecurity’s anomaly detection capabilities.

By March 15, GitHub had removed the compromised Action, preventing further use in workflows.

However, the repository was later restored with all versions updated to exclude the malicious code.

To mitigate the impact, StepSecurity released a secure drop-in replacement for the compromised Action, recommending that users replace all instances of tj-actions/changed-files with step-security/changed-files.

Response

The attack highlights the risks associated with supply chain vulnerabilities in open-source software.

While there is no evidence that leaked secrets were exfiltrated to remote networks, public repositories are particularly vulnerable as their build logs are accessible to anyone.

Users are advised to review recent workflow logs for signs of leaked secrets and rotate these secrets immediately if found.

An official CVE (CVE-2025-30066) has been published to track this incident, emphasizing the need for proactive security measures in CI/CD pipelines.

Are you from SOC/DFIR Teams? – Analyse Malware Incidents & get live Access with ANY.RUN -> Start Now for Free.

Aman Mishra
Aman Mishra
Aman Mishra is a Security and privacy Reporter covering various data breach, cyber crime, malware, & vulnerability.

Latest articles

Hackers Rapidly Adopt ClickFix Technique for Sophisticated Attacks

In recent months, a sophisticated social engineering technique known as ClickFix has gained significant...

Beware! Malware Hidden in Free Word-to-PDF Converters

The FBI has issued a warning about a growing threat involving free file conversion...

MassJacker Clipper Malware Targets Users Installing Pirated Software

A recent investigation has uncovered previously unknown cryptojacking malware, dubbed MassJacker, which primarily targets...

SocGholish Exploits Compromised Websites to Deliver RansomHub Ransomware

SocGholish, a sophisticated malware-as-a-service (MaaS) framework, has been identified as a key enabler in...

Supply Chain Attack Prevention

Free Webinar - Supply Chain Attack Prevention

Recent attacks like Polyfill[.]io show how compromised third-party components become backdoors for hackers. PCI DSS 4.0’s Requirement 6.4.3 mandates stricter browser script controls, while Requirement 12.8 focuses on securing third-party providers.

Join Vivekanand Gopalan (VP of Products – Indusface) and Phani Deepak Akella (VP of Marketing – Indusface) as they break down these compliance requirements and share strategies to protect your applications from supply chain attacks.

Discussion points

Meeting PCI DSS 4.0 mandates.
Blocking malicious components and unauthorized JavaScript execution.
PIdentifying attack surfaces from third-party dependencies.
Preventing man-in-the-browser attacks with proactive monitoring.

More like this

Hackers Rapidly Adopt ClickFix Technique for Sophisticated Attacks

In recent months, a sophisticated social engineering technique known as ClickFix has gained significant...

Beware! Malware Hidden in Free Word-to-PDF Converters

The FBI has issued a warning about a growing threat involving free file conversion...

MassJacker Clipper Malware Targets Users Installing Pirated Software

A recent investigation has uncovered previously unknown cryptojacking malware, dubbed MassJacker, which primarily targets...