• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Sq Magazine LogoSQ Magazine

Smarter Insights for a Fast-Moving Digital World

  • Latest News
  • Statistics
  • About
  • Contact
Subscribe
Sq Magazine Logo
  • Latest News
  • Statistics
  • About
  • Contact
Subscribe
Home » Cybersecurity

New Megalodon Malware Hits Thousands of GitHub Projects

Published on: May 22, 2026
Sofia Ramirez
Written By
Sofia Ramirez
Sofia Ramirez
Senior Tech Writer • 473 Articles
Sofia Ramirez is a technology and cybersecurity writer at SQ Magazine. With a keen eye on emerging threats and innovations, she helps reader...
LATEST POSTS:
PamStealer Malware Verifies Stolen Mac Passwords Live
Google, FBI Disrupt NetNut Residential Proxy Network
India Drafts Stricter Rules for VPN Providers: Report
Robert A. Lee
Reviewed By
Robert A. Lee
Robert A. Lee
Senior Editor • 396 Articles
Robert A. Lee is a journalist at SQ Magazine who unpacks the fast-moving worlds of gaming and internet trends. He tracks everything from maj...
LATEST POSTS:
Spotify vs Apple Music Statistics 2026: Subscribers, Revenue, Market Share
How UK Online Casino Regulation Compares to the Rest of Europe
Time Spent on TikTok Statistics 2026: Daily Minutes by Age
Megalodon Malware Hits Thousands Of Github Projects
As Featured In
The New York Times LogoForbes LogoWired LogoDeloitte LogoResearch.com Logo
Share on LinkedIn ChatGPT Perplexity Share on X Share on Facebook

A massive malware campaign called Megalodon has infected thousands of GitHub repositories by abusing trusted CI/CD workflows and fake automation commits.

Quick Summary – TLDR:

  • More than 5,500 GitHub repositories were targeted in a large scale malware campaign.
  • Attackers used fake CI automation commits to inject malicious GitHub Actions workflows.
  • The malware steals cloud credentials, API keys, SSH keys, tokens, and sensitive developer data.
  • Security researchers warn this attack signals a dangerous new phase in software supply chain attacks.

What Happened?

Security researchers from SafeDep and OX Security have uncovered a large malware campaign named Megalodon that spread rapidly across GitHub repositories through malicious CI/CD workflow injections. The attack reportedly affected over 5,500 repositories within just a few hours on May 18, 2026.

The malware campaign relied on fake automated commits disguised as routine CI maintenance updates. Once repository owners unknowingly merged the malicious commits, the malware executed inside GitHub Actions workflows and began stealing secrets, cloud credentials, and other sensitive information.

🚨 The “𝙼𝚎𝚐𝚊𝚕𝚘𝚍𝚘𝚗” Campaign is live…

𝟻,𝟽𝟷𝟾 malicious commits to 𝟻,𝟻𝟼𝟷 GitHub repositories in a six-hour window.

Using throwaway accounts and forged author identities (build-bot, auto-ci, ci-bot, pipeline-bot), the attacker injected 𝙶𝚒𝚝𝙷𝚞𝚋… pic.twitter.com/qJQJ3RDQwh

— SafeDep (@safedepio) May 21, 2026

How the Megalodon Attack Worked?

According to researchers, attackers created fake commits using identities such as build bot, auto ci, ci bot, and pipeline bot. The commits appeared legitimate and carried harmless looking messages including:

  • “ci: add build optimization step”
  • “build: improve ci performance”
  • “chore: optimize pipeline runtime”
  • “fix: correct build workflow”

These commits injected malicious GitHub Actions workflow files containing Base64 encoded bash payloads. Once triggered, the payload silently executed in the CI/CD environment.

Researchers said the malware campaign pushed over 5,700 malicious commits across 5,561 GitHub repositories in just a six hour period.

Malware Focused on Stealing Developer Secrets

The Megalodon malware was designed specifically to target developer environments and cloud infrastructure credentials. Once active, the malware searched systems for:

  • AWS access keys and session tokens
  • Google Cloud access tokens
  • Azure instance metadata credentials
  • GitHub Actions tokens
  • SSH private keys
  • Docker authentication configs
  • Terraform and Kubernetes credentials
  • .env files and configuration secrets
  • npm and PyPi credentials
  • Shell history files

Researchers also found that the malware scanned source code using more than 30 secret matching patterns to identify API keys, database credentials, JWT tokens, and private encryption keys.

The stolen data was then sent to a command and control server linked to the campaign.

Newsletter
Subscribe To Our Newsletter!

Be the first to get exclusive offers and the latest news.

Compromised npm Package Raised More Concerns

One of the most alarming discoveries involved the popular open source project Tiledesk. Researchers found that versions 2.18.6 through 2.18.12 of the npm package @tiledesk/tiledesk-server contained a malicious GitHub workflow backdoor.

Interestingly, investigators believe the npm account itself was not hacked. Instead, attackers compromised the GitHub repository and inserted malicious workflow code before the legitimate maintainer unknowingly published the infected package.

The malware replaced an existing workflow with a hidden backdoor called Optimize Build, allowing attackers to remotely trigger malicious activity using GitHub APIs.

Indicators of Compromise

Researchers identified several warning signs linked to the Megalodon campaign, including:

  • Connections to 216.126.225.129:8443
  • Suspicious GitHub workflow files named SysDiag
  • Unknown workflow modifications in .github/workflows/
  • Fake automation email accounts such as:
    • build-system@noreply.dev
    • ci-bot@automated.dev

Security teams are being advised to immediately rotate credentials, revoke compromised tokens, and audit GitHub Actions workflows for unauthorized changes.

GitHub Supply Chain Attacks Are Growing Fast

The Megalodon campaign highlights how attackers are increasingly targeting software supply chains instead of individual users. By abusing trusted platforms like GitHub, threat actors can quietly spread malware through open source projects that developers already trust.

Researchers warned that these attacks are becoming more automated and harder to detect. Attackers continuously upload new malicious repositories, making removal efforts difficult.

Organizations are now being urged to adopt stricter zero trust security practices for software development. Experts recommend verifying repository authenticity, using sandbox testing environments, enabling multi factor authentication, and carefully reviewing all CI/CD workflow changes before merging them.

SQ Magazine Takeaway

I think this attack should be a wake up call for every developer and company relying heavily on open source tools. GitHub workflows and automation systems are supposed to save time, but attackers are now turning those exact systems into malware delivery mechanisms. The scary part is how normal these fake commits looked. Most developers would probably merge them without a second thought. This is no longer just about downloading suspicious software. Even trusted repositories and automated build systems are becoming attack surfaces.

This article has been reviewed and fact-checked by Robert A. Lee. SQ Magazine follows strict Publishing Principles and a documented Fact-Check Policy to ensure accuracy, transparency, and editorial independence across all content.

Add SQ Magazine as a Preferred Source on Google for updates! Follow on Google News
Share ChatGPT Perplexity

References

  • Megalodon: New CI/CD Malware Spreads Across GitHub, Infecting ~5,000+ Repositories
  • Megalodon: Mass GitHub Repo Backdooring via CI Workflows
Sofia Ramirez

Sofia Ramirez

Senior Tech Writer


Sofia Ramirez is a technology and cybersecurity writer at SQ Magazine. With a keen eye on emerging threats and innovations, she helps readers stay informed and secure in today’s fast-changing tech landscape. Passionate about making cybersecurity accessible, Sofia blends research-driven analysis with straightforward explanations; so whether you’re a tech professional or a curious reader, her work ensures you’re always one step ahead in the digital world.

Related Posts

Aws Codebreach Bug Exposed Millions
Cybersecurity

AWS CodeBreach Bug Exposed Millions to Potential Supply Chain Attack

Salesloft Confirms Github Account Behind Cyberattacks
Cybersecurity

Salesloft Confirms GitHub Breach Behind Widespread Drift Attacks

Github Fixes Copilot Prompt Injection Camoleak Vulnerability
Cybersecurity

GitHub Copilot’s Prompt Injection Flaw Sparks Security Concerns

Disclaimer: The content published on SQ Magazine is for informational and educational purposes only. Please verify details independently before making any important decisions based on our content.

Reader Interactions

Leave a Comment Cancel reply

Primary Sidebar

Connect With Us

facebook x linkedin google-news telegram pinterest whatsapp email
google-preferred-source-badge Add as a preferred source on Google

You Should Also Read

Zapier, Postman, ENS Hit as Shai-Hulud Malware Infects Hundreds of npm Packages
TrapDoor Malware Targets npm, PyPI, and Rust Developers
Developers Targeted in GitHub OAuth Phishing Campaign

Table of Contents

  • Quick Summary – TLDR:
  • What Happened?
  • How the Megalodon Attack Worked?
  • Malware Focused on Stealing Developer Secrets
  • Compromised npm Package Raised More Concerns
  • Indicators of Compromise
  • GitHub Supply Chain Attacks Are Growing Fast
  • SQ Magazine Takeaway
Connect on Telegram

Footer

SQ Magazine Logo

Smarter Insights for a Fast-Moving Digital World

Connect With Us

Follow Us on Google News

Editorial & Trust

  • About
  • Publishing Principles
  • Fact-Check Policy
  • Corrections Policy
  • Ethics Policy
  • Disclaimer

Worth Checking

  • Social Media Attention Span Stats
  • Gen Z Social Media Statistics
  • TikTok vs. Instagram Statistics
  • LLM Hallucination Statistics
  • Spotify User Statistics
  • Apple Customer Loyalty Statistics
Contact Us
13570 Grove Dr #189,
Maple Grove, MN 55311,
United States
10 a.m. to 6 p.m. | Every day

Copyright © 2022–2026 SQ Magazine. All Rights Reserved. Powered by the Neural Stack.

  • Privacy Policy
  • Terms
  • Accessibility Statement
Company
  • About Us
  • Our Team
  • Our Mission
  • Core Values
Discover
  • Brand Assets
    Brand Assets
  • Stats Methodology
    Stats Research Process
  • Glossary
    Glossary
Categories
  • Internet
  • Technology
  • Artificial Intelligence
  • Gaming
  • Cybersecurity
Internet
Spotify vs Apple Music Statistics
Spotify vs Apple Music Statistics 2026: Subscribers, Revenue, Market Share
Time Spent on TikTok Statistics
Time Spent on TikTok Statistics 2026: Daily Minutes by Age
Google Workspace Statistics
Google Workspace Statistics 2026: Users, Market Share and AI
YouTube vs TikTok Statistics
YouTube vs TikTok Statistics 2026: Users, Revenue, Creator Economy
Internet Outage Statistics
Internet Outage Statistics 2026: Frequency, Cost and Causes
Upwork Statistics
Upwork Statistics 2026: Revenue, GSV, AI Work
Technology
Google Cloud Platform Statistics
Google Cloud Platform Statistics 2026: Market Growth
Asana Statistics
Asana Statistics 2026: Revenue, Customers, AI ARR and Market Share
AWS Statistics
AWS Statistics 2026: Revenue, Market Share and AI Growth
Adobe Creative Cloud Statistics
Adobe Creative Cloud Statistics 2026: Subscribers, Revenue and Market Share
Adobe Statistics
Adobe Statistics 2026: Revenue, ARR, and Workforce Data
Employee Productivity Statistics
Employee Productivity Statistics 2026: Engagement, Costs & Trends
Artificial Intelligence
Grammarly AI Statistics
Grammarly AI Statistics 2026: Users, Revenue, Funding, Rebrand
Copilot Statistics
Copilot Statistics 2026: Users, Adoption, Revenue and Market Share
AI Image Generation Statistics
AI Image Generation Statistics 2026: Market Size, Adoption & Risks
Machine Learning Adoption
Machine Learning Adoption in 2026: What Businesses Need to Know
AI Influencer Marketing Statistics
AI Influencer Marketing Statistics: Market Size and Engagement
AI Market Statistics
AI Market Statistics 2026: Size, Growth & Investment
Gaming
Online Gambling Regulations Statistics
Online Gambling Regulations Statistics 2026: Global Compliance and Enforcement Data
Fantasy Sports Statistics
Fantasy Sports Statistics 2026: Users, Revenue & Trends
Apex Legends Statistics
Apex Legends Statistics 2026: Players, Revenue, and Esports
Fortnite Statistics
Fortnite Statistics 2026: Players, Revenue, Esports, and Engagement
Gamers Statistics
Gamers Statistics 2026: Players, Habits & Global Data
Minecraft Statistics
Minecraft Statistics 2026: 300 Million Copies Sold & 212M Monthly Players
Cybersecurity
Password Statistics
Password Statistics 2026: Credential Theft, MFA, and the Passkey Tipping Point
Identity Theft Statistics
Identity Theft Statistics 2026: Key Fraud Data and Trends
CVE Statistics
CVE Statistics 2026: Severity Distribution and Top Affected Vendors
Dark Web AI Tool Marketplace Statistics
Dark Web AI Tool Marketplace Statistics 2026: Explosive Market Growth
API Security Breach Statistics
API Security Breach Statistics 2026: Hidden Threats
AI Voice Cloning Fraud Statistics
AI Voice Cloning Fraud Statistics 2026: Alarming Trends You Must Know Now
Categories
  • Cybersecurity
  • Artificial Intelligence
  • Internet
  • Technology
  • Gaming
Cybersecurity
Pamstealer Macos Malware Exposed
PamStealer Malware Verifies Stolen Mac Passwords Live
Google Fbi Disrupt Netnut Residential Proxy Network
Google, FBI Disrupt NetNut Residential Proxy Network
India Drafts Stricter Rules For Vpn Providers
India Drafts Stricter Rules for VPN Providers: Report
Cisco Confirms Active Exploits Of Unified Cm Flaw
Cisco Confirms Active Exploits of Unified CM Flaw
Medtronic Confirms Shinyhunters Data Breach
Medtronic Notifies Patients of ShinyHunters Data Breach
India Orders Whatsapp To Pause Username Rollout
India Orders WhatsApp to Pause Username Rollout
Artificial Intelligence
Microsoft Launches Frontier Company
Microsoft Launches Frontier Company With $2.5B Bet
Openai Proposes 5 U S Government Equity Stake
OpenAI Proposes 5% U.S. Government Equity Stake
Meta Plans Cloud Business To Sell Excess Ai Compute
Meta Plans Cloud Business to Sell Excess AI Compute
Anthropic Receives Green Signal For Fable 5 And Mythos Release
Anthropic Restores Claude Fable 5 After Export Ban Lifts
Anthropic Unveils Claude Science
Anthropic Unveils Claude Science to Transform Research
Wimbledon Adopts Ibm Ai Tools
Wimbledon Debuts Advanced AI Match Features Powered by IBM
Internet
Whatsapp Launches Username Reservation Feature
WhatsApp Opens Username Reservations for Its 3 Billion Users
Chrome 149 Update Fixes Serious Vulnerabilities
Google Chrome 149 Fixes 18 Serious Security Flaws
Meta Hands Whatsapp Reins To Cred Founder Kunal Shah
Meta Hands WhatsApp Reins to CRED Founder Kunal Shah
Major X Outage Disrupts Users Worldwide
Major X Outage Disrupts Users Worldwide, Service Restored
Meta Adds 13 Plus Age Verification For Teen Safety
Meta Adds 13+ Content Settings and AI Age Checks for Teens
Telegram Restricted In India Temporarily
Telegram Restricted in India as NEET Fraud Crackdown Grows
Technology
Chrome Update Fixes 382 Vulnerabilities
Chrome 150 Patches 382 Security Fixes, 15 Critical
Apple Leak Reveals Six New Iphones For 2027
Massive Apple Leak Reveals Six New iPhones for 2027
Google Finance Comes Out Of Beta With Android App
Google Finance Gets Major AI Upgrade and New Android App
Windows Recycle Bin Bug Confirmed After June Security Update
Windows Recycle Bin Bug Confirmed After June Security Update
Apple Urgently Fixes Beats Studio Buds Bug
Apple Urgently Fixes Beats Studio Buds Bug That Enabled Spying
Google Launches Android 17 With Gemini And Advanced Security
Android 17 Is Here With Powerful AI Features and Security Boosts
Gaming
Gta Vi Official Cover Art
GTA 6 Pre-Orders Start June 25, New Cover Art Unveiled
Epic Games Teases Unreal Engine 6 For Rocket League
Epic Games Teases Unreal Engine 6 for Rocket League
Stardew Valley Launched For Nintendo Switch 2 Edition
Stardew Valley Switch 2 Edition Arrives with Online Co-op
Hogwarts Legacy Game Crosses 40m Downloads
Hogwarts Legacy Crosses 40M Sales, Beating Industry Giants
Pubg Black Budget Closed Alpha Launched
PUBG: Black Budget Launches Closed Alpha Test With a Bold PvPvE Twist
Counter Strike 2 Skin Market Crashes After Valve Update
Counter-Strike 2’s $5.9 Billion Skin Economy Just Got Shattered
Newsletter

Subscribe To Our Newsletter!

Be the first to get exclusive offers and the latest news.

Newsletter

Subscribe To Our Newsletter!

Be the first to get exclusive offers and the latest news.