• 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
Subscribe
Sq Magazine Logo
  • Latest News
  • Statistics
  • About
  • Contact
  • Subscribe
Subscribe
Home » Cybersecurity

New Megalodon Malware Hits Thousands of GitHub Projects

Published on: May 22, 2026, 4:09 AM EDT
Sofia Ramirez
Senior Tech Writer • 637 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:
ASOS Hack Warning: Customers Urged to Watch for Phishing
UK’s Legal AI Sandbox Closes Applications as 83% of Lawyers Flag Hallucination Risk
LibreOffice Fixes Silent RCE Vulnerability, OpenOffice Still Exposed
Robert A. Lee
Senior Editor • 464 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:
Google Unveils AI-Powered Playground for No-Code Game Creation
Clash Royale Statistics 2026: Revenue, Players and Engagement
Email Security for Small Businesses: The Five Controls That Matter Most
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.

Read by pros at Fortinet, TSMC, Barclays, and Deloitte.

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

Weekly stats quiz Week 41

How much of a tech geek are you?

5 fast questions from this week's verified industry data. About a minute.

Play the quiz New every Monday

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
  • Cookie Policy

Worth Checking

  • The Tech Index
  • The Threat Index
  • Social Media Attention Span Stats
  • Instagram Followers Stats
  • Google Usage Stats
  • LLM Hallucination Stats
  • Gen Z Social Media Stats
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
  • Cryptocurrency
Internet
Average Attention Span Statistics The Cross-Domain Numbers
Average Attention Span Statistics 2026: The Cross-Domain Numbers
How Many Videos Are on YouTube Statistics
How Many Videos Are on YouTube Statistics 2026: Key Data
How Many People Work at WhatsApp
How Many People Work at WhatsApp 2026: Employee Count and History
Spotify Listening Statistics
Spotify Listening Statistics 2026: Average Listening Time
How Many Subscribers Does MrBeast Have
How Many Subscribers Does MrBeast Have in 2026? Channel Growth Statistics
WhatsApp Business Statistics
WhatsApp Business Statistics 2026: Real Market Insights
Technology
Average US Salary Statistics Median Income by Age and State
Average US Salary Statistics 2026: Median Income by Age and State
Aptoide Statistics 2026: Downloads, Users and App Store Share
Aptoide Statistics 2026: Downloads, Users and App Store Share
AppsFlyer Statistics Customers Revenue and Market Position
AppsFlyer Statistics 2026: Customers, Revenue and Market Position
How Many iPhones Has Apple Sold
How Many iPhones Has Apple Sold in 2026? Units Sold by Year
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
Artificial Intelligence
Cursor AI Statistics 2026: Users, Revenue and Developer Adoption
Cursor AI Statistics 2026: Users, Revenue and Developer Adoption
AI Search Engine Statistics Usage Market Share and Adoption
AI Search Engine Statistics 2026: Usage, Market Share and Adoption
AI Music Statistics
AI Music Statistics 2026: Generation, Adoption and Industry Impact
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
Gaming
Clash Royale Statistics Revenue Players and Engagement
Clash Royale Statistics 2026: Revenue, Players and Engagement
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 2026: Players, Revenue, and Esports
Apex Legends Statistics 2026: Players, Revenue, and Esports
Cryptocurrency
How Many Bitcoins Are There
How Many Bitcoins Are There in 2026? Supply, Mined and Remaining Statistics
Stablecoin Usage Statistics
Stablecoin Usage Statistics 2026: Explosive Growth
Cryptocurrency Adoption Statistics
Cryptocurrency Adoption Statistics 2026: Shocking Trends Now
Coinbase Wallet Statistics
Coinbase Wallet Statistics 2026: Users, Security
Dogecoin Statistics 2026: Circulating Supply, Inflation Rate and ETFs
Dogecoin Statistics 2026: Circulating Supply, Inflation Rate and ETFs
BONK Coin Statistics Supply Holders Price and Treasury Data
BONK Coin Statistics 2026: Supply, Holders, Price and Treasury Data
Categories
  • Artificial Intelligence
  • Cybersecurity
  • Technology
  • Internet
  • Cryptocurrency
Artificial Intelligence
Google Launch Synthid Checker Tool
Google Opens SynthID Detector to Public for AI Media Checks
Nano Banana 2 1 Launched Ai Search
Nano Banana 2.1 Lands in Google Search With Big Upgrades
Amazon Strands Deciders 2b Ai Model Jev Killer
Amazon’s Strands Decider 2B Model Targets Faster AI Agents
Gemini 4 Argon Launch
Gemini 4 Argon Launched by Google With Cybersecurity Features
Meta Dispute Muse Private Message Read Claim
Meta Disputes Claim Muse AI Read Private Messages
Openai Dots Gpt 6 1 Sol Launched
OpenAI Launches Dots Agents and GPT-6.1 Sol at DevDay 2026
Cybersecurity
Asos Data Breach Confirmed By Company
ASOS Hack Warning: Customers Urged to Watch for Phishing
Libreoffice Java Malicious Spreadsheets Flaw Patch
LibreOffice Fixes Silent RCE Vulnerability, OpenOffice Still Exposed
Gmo And Mrmax Data Breach
GMO Research & AI Breach Hits 948,500 infoQ Members
Gitlab Cybersecurity Patch Alert
GitLab Warns of Critical RCE Flaw in Self-Hosted AI Gateway
Microsoft X Account Hacked Clippy Crypto
Microsoft X Hackers Push Unauthorized Clippy Crypto Token
Dell Cybersecurity Infrastructure Alert
Dell Patches Two CVSS 10 Container Storage Modules Flaws
Technology
Apple Autumn Launch Surprise
Apple Eyes Surprise Late-October Launch for New Macs
Microsoft Windows Deployment Service Deprecation
Microsoft Will Deprecate Windows Deployment Services After Server 2025
Youtube Custom Feeds With Gemini Ai
YouTube’s AI Feed Builder Changes Video Discovery
Iphone 18 Pro Face Id Bug Reboot Crash
New iPhone 18 Pro Bug Makes Face ID Crash and Reboot
Googlebook With Gemini Ai Launched
Googlebook’s Bold Laptop Launch Starts at $899 in the US
New Samsung Patent Reveals Galaxy Watch Glucose Tracking
New Samsung Patent Reveals Galaxy Watch Glucose Tracking
Internet
Meta Launched Meta One Subscription
Meta One Bundles Instagram, Facebook, WhatsApp Into One AI Subscription
Apple Wallet Ids Launch In Oklahoma
Apple Wallet IDs Launch in Oklahoma in Major Expansion
Meta to Pay 18 Billion in Landmark Teen Safety Deal
Meta to Pay $18 Billion in Landmark Teen Safety Deal
Whatsapp Brings Passkeys 2fa
WhatsApp Hits 1 Billion Passkey Users, Adds 2FA Passwords
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
Cryptocurrency
Sonic Labs Launch Ussd Stablecoin
Sonic Launches USSD Stablecoin Backed by US Treasuries
Bhutan Moves 12m In Bitcoins
Bhutan Moves $12 Million in Bitcoin from Primary Wallets
Curve Finance Accuses Pancakeswap For Code Stealing
Curve Accuses PancakeSwap of Copying StableSwap Code
Strike Receives Bitlicense In New York
Strike Gets New York BitLicense for Bitcoin Financial Services
Scotiabank Multi Crypto Etf 3iqlogos
Scotiabank Launches Multi Crypto ETF With 3iQ in Canada
Nyse Parent Invests In Okx Crypto Exchange
ICE Invests in OKX to Bridge Crypto and Traditional Finance
Newsletter

Too much tech noise?

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

Read by pros at Fortinet, TSMC, Barclays, and Deloitte.
Newsletter

The SQ Briefing

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

Read by pros at Fortinet, TSMC, Barclays, and Deloitte.