Skip to content
News
MARKET SIGNAL:

Attackers breach 42 GitHub repositories with oversized hidden payloads

Newsroom brief

JFrog identified compromised repositories carrying developer-tool execution hooks and large concealed payloads, with stolen credentials linking npm releases to further repository attacks.

Verified against source materialSource: infoworld.com
Attackers breach 42 GitHub repositories with oversized hidden payloads
Image source: InfoWorld

Attackers compromised 42 third-party GitHub repositories and concealed malicious payloads in files too large for ordinary search-based detection, according to InfoWorld’s coverage of an investigation by JFrog Security Research. The affected projects carried execution hooks for AI coding assistants and development environments, alongside wrappers reaching 13.7MB.

JFrog’s analysis connected the repository compromises to malicious npm releases, stolen credentials and publishing workflows that could spread the infection again. Differently packaged wrappers concealed the same CI-publisher payload, while an attacker-controlled repository received encrypted snapshots of collected data.

Another concealment mechanism separated the loader from its payload. A compiled native addon decrypted a file called .napi_cache during execution rather than carrying the malicious code itself. The investigation also uncovered hijacked accounts, manipulated commit histories, temporary publishing branches and exposed npm credentials.

From package installation to malicious publishing

The npm activity came into view when JFrog’s scanners detected shai-hulud packages on October 21. On October 22, SafeDep published its examination of the npm activity, including a decoded version of event-bus-lite-testmetest@0.0.1. Its assessment placed the payload in the Miasma family without settling its lineage. What initially appeared to SafeDep to be a test of the attacker’s packages was subsequently connected to malicious content in existing repositories.

Installation provided one execution route. Malicious testmetest packages used command expansion in binding.gyp to launch index.js without declaring a normal install script. Bun 1.2.18 supplied the runtime for the decrypted payload, with the loader either finding it locally or downloading it. Before that execution, a build-specific Caesar transformation operated on character codes and an AES-128-GCM encryption layer concealed the next stage. Some builds passed it directly to Bun; others used temporary directories that were deleted afterward.

The full worm harvested credentials, altered repositories and CI configuration, and spread through package registries. Stolen GitHub and npm credentials could open access to third-party projects, where attackers planted either placeholders or armed payloads. Decoded ci.js files contained publishers built for GitHub Actions: npm tokens or trusted publishing could then release additional malicious testmetest packages, reconnecting package distribution with repository compromise.

Folder-open hooks and evasive loaders

Aman Mahapatra, chief strategy officer at Tribeca Softech, identified a different execution trigger in the development tools themselves. Claude Code SessionStart hooks, Gemini settings, Cursor configuration and rules, and VS Code folder-open tasks could cause the payload to run when a developer opened a project, rather than only during an explicit installation or build.

Mahapatra also linked the oversized wrappers to gaps in detection: GitHub’s search indexing and contents API limits could leave analysts seeing the hooks without obtaining the hidden payload files. Early analysis consequently mistook those files for empty ones.

Frank Dickson, principal analyst at Dickson Research, highlighted the native addon’s environment checks. In his assessment, it avoided execution in CI environments, containers, small virtual machines and debugging sessions; on Windows, Wireshark or Process Monitor could also stop it from running.

Dickson distinguished the execution hooks from software vulnerabilities. The hooks were legitimate features, while stolen credentials were the underlying cause. His warning concerned the combination of automatic project-open execution and developer laptops holding repository, registry, cloud and AI-provider credentials.

Recovery extends beyond deleting packages

JFrog’s mitigation guidance calls for direct enumeration of repository trees instead of relying on code search or the contents API. Repository audits should examine assistant and editor configuration, unexpected execution hooks, unauthorized publishing branches and malicious workflows, as well as fake CodeQL artifacts.

For organizations that installed a full-worm version, JFrog recommends treating the host as compromised and revoking and rotating the accessible credentials. Its scope includes GitHub, GitLab, npm, PyPI, RubyGems, cloud, SSH, Vault, Kubernetes and AI providers—not just the token used to install the affected package.

Share this article
inXf

Related articles

More
OVHcloud CLI attack replaced releases using stolen developer keys
Cybersecurity

OVHcloud CLI attack replaced releases using stolen developer keys

A customer flagged malicious OVHcloud CLI releases that were blocked within 94 minutes. The company traced the attack to stolen developer credentials following an extension installation on a personal MacBook.

Fake GitHub Repositories Turned Developer Trust Into BoryptGrab Delivery Chain
Cybersecurity

Fake GitHub Repositories Turned Developer Trust Into BoryptGrab Delivery Chain

DeveloperTech's article on Arctic Wolf Labs research describes a fake-repository campaign that used polished GitHub project pages as a delivery route for BoryptGrab malware. The case makes artifact provenance and workstation controls more important than visual trust in repository pages.

SAP confirms cyber incident as reports point to GitHub source-code access
Cybersecurity

SAP confirms cyber incident as reports point to GitHub source-code access

SAP has confirmed suspicious activity but found no evidence of unauthorized access to customer business data. German reporting describes restrictions on development systems and replacement of software-verification keys.

AI Coding Push Turns Developers Into a Prime Cybersecurity Target
Cybersecurity

AI Coding Push Turns Developers Into a Prime Cybersecurity Target

A Japanese @IT analysis says attackers are increasingly targeting developers because AI coding tools, OSS, CI/CD pipelines and cloud services concentrate valuable credentials around them. The report highlights vulnerable AI-generated code, fake recruiting approaches, polluted open-source packages and GitHub Actions-style automation attacks. The practical warning is that companies need stronger identity, dependency and workflow controls rather than relying only on individual developer caution.

GitHub Actions Malware Risk Returned When Old Tags Came Back Online
Cybersecurity

GitHub Actions Malware Risk Returned When Old Tags Came Back Online

Two compromised GitHub Actions were disabled again after old malicious release tags became reachable, reviving CI/CD credential-theft risk tied to Mini Shai-Hulud.

GitHub Outage Hit Actions And Enterprise Login Paths In Global Disruption
Cybersecurity

GitHub Outage Hit Actions And Enterprise Login Paths In Global Disruption

DigiconAsia reported that GitHub’s August 17 outage affected repositories, Actions, API traffic, archive downloads and enterprise identity tools, with Microsoft confirming worldwide platform issues.

Google uncovers AI agent that writes and launches exploits without human direction
Cybersecurity

Google uncovers AI agent that writes and launches exploits without human direction

An exposed staging server revealed automated exploit development, while separate campaigns abused model quotas and developer-tool settings, Google investigators found.

Optimizely signup flaw exposes at least 178 organisations to malicious scripts
Cybersecurity

Optimizely signup flaw exposes at least 178 organisations to malicious scripts

Attackers used Optimizely's account signup flow to inject card-skimming and cryptocurrency-stealing code. Customers disabled the tool while the company fixed the flaw.

Keep Reading

More Stories

Latest
Cloudflare jumps 10% as encryption warning lifts cybersecurity stocksCybersecurityDec 4, 2026Cloudflare jumps 10% as encryption warning lifts cybersecurity stocksCloudflare, Palo Alto Networks and CrowdStrike rose in Thursday premarket trading after major technology companies urged encryption upgrades following an NSA alert.Lava sets December 9 India launch for Bold N4 5G and N4 Pro 4GTelco & ConnectivityDec 4, 2026Lava sets December 9 India launch for Bold N4 5G and N4 Pro 4GLava's next Bold phones are scheduled for December 9, with a 7,000mAh battery in the 4G Pro model and a sub-Rs 15,000 price planned for the N4 5G.Isomorph raises $3.5 million to expand AI governance teams and US salesAIDec 4, 2026Isomorph raises $3.5 million to expand AI governance teams and US salesRTP Global led the seed round for Isomorph, which plans engineering expansion in Bengaluru and San Francisco and a bigger US go-to-market operation.Premji Invest announces $1.5 billion fund for US AI, chip and robotics companiesCloud & Data CentersDec 4, 2026Premji Invest announces $1.5 billion fund for US AI, chip and robotics companiesFund V targets early- and growth-stage US businesses, with Premji Invest planning support through to public markets. Its remit also includes infrastructure software and life sciences.LITEON and MaiaEdge target existing telecom sites for AI inference, with HDCO building first serviceCloud & Data CentersDec 4, 2026LITEON and MaiaEdge target existing telecom sites for AI inference, with HDCO building first serviceThe joint solution combines rack-level power and cooling with private connectivity. HDCO is developing an inference offering using GPUs at a solar-powered LITEON site in Texas, with South America planned next.Pangram raises $50m as Andreessen Horowitz backs AI detectionAIDec 4, 2026Pangram raises $50m as Andreessen Horowitz backs AI detectionAndreessen Horowitz led Pangram Labs’ Series A, with the New York start-up planning to accelerate research and train more advanced AI-detection models.UK advances ransomware payment ban but drops advance-notification planCybersecurityDec 3, 2026UK advances ransomware payment ban but drops advance-notification planBritain plans to bar hospitals, schools, councils and critical infrastructure operators from paying ransoms, while limiting mandatory attack reporting to medium and large organizations and requiring payment disclosure only afterward.Viettel starts selling Starlink in Vietnam with VND9.3 million kitsCapital & PolicyDec 3, 2026Viettel starts selling Starlink in Vietnam with VND9.3 million kitsViettel Telecom is offering Starlink broadband in Vietnam after obtaining a resale licence, with monthly service plans starting at VND1.59 million.Qatar Cabinet approves bankruptcy bill prioritising viable business rehabilitationCapital & PolicyDec 3, 2026Qatar Cabinet approves bankruptcy bill prioritising viable business rehabilitationThe draft would replace bankruptcy provisions in Qatar's 2006 Commercial Law. The Cabinet approved referring it to the Shura Council, with rehabilitation before liquidation among its aims.French crypto ownership reaches 12% as AMF survey exposes scam lossesCrypto/Web3Dec 3, 2026French crypto ownership reaches 12% as AMF survey exposes scam lossesAn AMF survey of more than 9,000 French adults puts current crypto-asset ownership at 12%, while 24% of current holders report having fallen victim to scams.iPhone Duo beats Samsung foldables by 37% in third-week salesDevices & Consumer TechDec 3, 2026iPhone Duo beats Samsung foldables by 37% in third-week salesCounterpoint figures put Apple ahead in the iPhone Duo’s third week, but Samsung’s Galaxy Z Fold 8 models retained a 2% combined lead across the full three weeks.US Air Force Cloud One breach blocks application updatesCybersecurityDec 3, 2026US Air Force Cloud One breach blocks application updatesA reported intrusion into the military cloud platform has disrupted updates and migration work. The extent of access and any data theft remain unclear.