Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Over 5,500 GitHub Repositories Infected in ‘Megalodon’ Supply Chain Attack

0
Low
Vulnerability
Published: Mon May 25 2026 (05/25/2026, 07:40:55 UTC)
Source: SecurityWeek

Description

Fake automated commits injected GitHub Actions workflows containing payloads to steal credentials, CI secrets, keys, and tokens. The post Over 5,500 GitHub Repositories Infected in ‘Megalodon’ Supply Chain Attack appeared first on SecurityWeek .

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/25/2026, 07:55:05 UTC

Technical Analysis

The Megalodon attack is a supply chain compromise targeting GitHub repositories by injecting malicious GitHub Actions workflows via automated commits. Over 5,700 commits infected 5,561 repositories in a short time frame, adding or replacing workflows to steal credentials and secrets such as AWS, GCP, Azure credentials, SSH keys, Docker and Kubernetes configs, API keys, and CI/CD tokens. The attack used the 'workflow_dispatch' trigger to create dormant backdoors that can be activated later via the GitHub API, bypassing GitHub's anti-recursion protections. The infection spread through compromised source code published by legitimate maintainers unaware of the malicious changes. The attack highlights risks in automated CI/CD workflows and token permissions but no vendor advisory or patch information is provided.

Potential Impact

The attack results in the theft of a broad range of sensitive credentials and secrets from infected repositories, including cloud service credentials, SSH keys, API keys, and CI/CD tokens. This exposure can lead to unauthorized access to cloud environments, source code, and other critical infrastructure components. The widespread infection of over 5,500 repositories increases the potential attack surface for downstream users relying on these repositories. However, no known exploits in the wild or direct evidence of further compromise beyond credential theft are reported in the provided data.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Organizations should review their GitHub repositories for unauthorized workflow changes, revoke and rotate exposed credentials and tokens, and audit CI/CD pipeline configurations. Since no official fix or patch is indicated, mitigation relies on incident response actions and credential management. Monitoring for suspicious GitHub Actions activity and limiting token permissions can help reduce risk. Vendors and maintainers should verify the integrity of source code and workflows before publishing.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Article Source
{"url":"https://www.securityweek.com/over-5500-github-repositories-infected-in-megalodon-supply-chain-attack/","fetched":true,"fetchedAt":"2026-05-25T07:54:59.106Z","wordCount":1190}

Threat ID: 6a140053a5ae1af1aa738843

Added to database: 5/25/2026, 7:54:59 AM

Last enriched: 5/25/2026, 7:55:05 AM

Last updated: 5/26/2026, 7:54:25 AM

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses