• 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 • 554 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:
Massive Azure Breach Hits McDonald’s, Vodafone, TCS and More
How Many Employees Does Amazon Have 2026: Workforce Growth
SafePal Data Breach Exposes 39,798 Customer Records
Robert A. Lee
Reviewed By
Robert A. Lee
Robert A. Lee
Senior Editor • 428 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:
Apple Sets New EU App Store Fees, Effective October 1
GitHub Down: Outage Hits Thousands of Users Worldwide
Subscription Apps for Learning: UK Costs and Features
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
Don’t chase tech news. We track it for you.

One weekly briefing with the launches, AI developments, and breaches that matter. No filler.

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
  • Data Breach Tracker
  • Patch Tuesday Dashboard
  • AI Model Tracker
  • AI Funding Tracker
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
Udemy Statistics
Udemy Statistics 2026: Revenue and Learner Data
Coursera Statistics
Coursera Statistics 2026: Learners, Revenue and Growth Data
Reddit vs X Statistics
Reddit vs X Statistics 2026: Users and Revenue
Apple Music Subscriber Statistics
Apple Music Subscriber Statistics 2026: Real User Insights
How Many Times Per Day Does The Average Person Check Social Media Statistics
How Many Times Per Day Does the Average Person Check Social Media Statistics 2026: Latest Insights
Outlook Statistics
Outlook Statistics 2026: Users, Market Share, Security & M365 Seats
Technology
How Many Employees Does Amazon Have
How Many Employees Does Amazon Have 2026: Workforce Growth
Netflix vs. Hulu Statistics
Netflix vs Hulu Statistics 2026: Viewer Growth Data
TripAdvisor Statistics
TripAdvisor Statistics 2026: Revenue, Reviews, Viator and TheFork Data
Search Engine Statistics
Search Engine Statistics 2026: Market Share, Volume & AI Shift
NVIDIA Employee Count Statistics
NVIDIA Employee Count Statistics 2026: Headcount, R&D, and Revenue
Meta Employee Count Statistics
Meta Employee Count Statistics 2026: Headcount, Layoffs and AI Reallocation
Artificial Intelligence
AI Coding Statistics
AI Coding Statistics 2026: Adoption, Productivity and Market Data
How Much Content on Social Media Is AI Generated Statistics
How Much Content on Social Media Is AI Generated Statistics 2026: Hidden Truths
ChatGPT vs DeepSeek Statistics
ChatGPT vs DeepSeek Statistics 2026: Users, Benchmarks & Pricing
ChatGPT vs Claude vs Gemini vs Perplexity Statistics
ChatGPT vs Claude vs Gemini vs Perplexity Statistics 2026: Users, Revenue & Market Share
How Many People Work At Midjourney
How Many People Work At Midjourney 2026: Lean Team, Big Revenue
Grammarly AI Statistics
Grammarly AI Statistics 2026: Users, Revenue, Funding, Rebrand
Gaming
Gaming Statistics
Gaming Statistics 2026: Market Size, Players, Revenue, and Platforms
Roblox vs Minecraft Statistics
Roblox vs Minecraft Statistics 2026: Players, Revenue, Creators
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
Cybersecurity
Signal Statistics
Signal Statistics 2026: Users, Finances and Encryption Adoption
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
Categories
  • Cybersecurity
  • Artificial Intelligence
  • Internet
  • Technology
  • Gaming
Cybersecurity
Azure Data Breach Fortune 500 Companies
Massive Azure Breach Hits McDonald’s, Vodafone, TCS and More
Safepal Data Breach Exposes 39 798 Customers
SafePal Data Breach Exposes 39,798 Customer Records
Threema Messenger Ddos Attack Outage
Threema Outage: DDoS Attacks Cut Off Messenger for Two Days
Ringcentral Breach Exposed 1 6 Million Accounts
RingCentral Breach Exposed 1.6 Million Accounts, HIBP Says
Questel Confirms Vishing Breach
Questel Confirms Breach After ShinyHunters Leaks Stolen Data
Trezor Supply Chain Data Breach
Trezor Says Shipping Breach Exposed 13,689 Customers
Artificial Intelligence
Claude Elevated Error Server Down
Claude Down: Anthropic Investigates Multi-Model Errors
Openai Blocks Personal Accounts From Building New Gpts
OpenAI Blocks Personal Accounts From Building New GPTs
Wispr Scores 280m To Expand Beyond Ai Dictation
Wispr Raises $280M at $2B Valuation for AI Dictation Push
Qwen 3 8 Open Weight Model Released
Qwen3.8 Open Weights Ship Under Two Different Licenses
Gemini Watermark Removal Option
Google Gives Users Control Over Gemini AI Watermarks
Sarvam Ai Maharashtra Government Partnership
Sarvam Indus Brings Secure AI to Maharashtra Government
Internet
Apple Eu App Store Fee Reduction
Apple Sets New EU App Store Fees, Effective October 1
Github Outage Aug 2026
GitHub Down: Outage Hits Thousands of Users Worldwide
Russia S Fsb Charges Telegram Founder Durov With Terrorism
Russia’s FSB Charges Telegram Founder Durov With Terrorism
Aws Cloudfront Outage Triggers Global 5xx Errors
AWS CloudFront Outage Triggers Global 5xx Errors
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
Technology
Google Pixel 11 Lands At 899
Google Pixel 11 Lands at $899 With Faster Tensor G6 Chip
Google Adds Tap To Share To Android Quick Share
Google Adds Tap to Share to Android Quick Share
Openai Launches Chatgpt Desktop App For Linux
OpenAI Launches ChatGPT Desktop App for Linux in Preview
Apple Drops Ios 27 Public Beta 3
Apple Drops iOS 27 Public Beta 3 With Siri AI Upgrade
Apple Ships Ios 26 6 1 Security Fix
Apple Ships iOS 26.6.1 Security Update for iPhone and iPads
Metabase Security Patch Zero Day Exploit
Metabase Urges Self-Hosted Users to Patch Critical SQL Flaw
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

Too much tech noise?

We respect your time. One high-signal briefing a week: tech, AI, and security. Nothing else.

Newsletter

The SQ Briefing

We track tech, AI, and security 24/7. You get a 5-minute weekly summary.