Attackers planted execution hooks targeting Claude, Gemini, Cursor, and Visual Studio Code, turning routine development activity into opportunities to launch hidden malware.
The findings show the operation extended beyond attacker-controlled test packages. Established developers and organizations had real repositories armed with malicious code.
Researchers also found stolen credentials, forged commit dates, temporary publishing branches, and an attacker-owned repository receiving encrypted data snapshots.
Hackers Weaponize GitHub Repositories
The compromised repositories contained .github/init.js files wrapped in 12.9 to 13.7 MB of obfuscated code.
Their size prevented GitHub code search from indexing them and blocked retrieval through the content paths researchers initially used. Direct inspection through Git trees and blobs APIs revealed the hidden files.
Across all 42 repositories, researchers identified ten different wrappers. Despite their changing appearance and size, every wrapper decoded to the same roughly 2 MB publisher payload.
The differences came from character encoding rather than additional malware capabilities.
Execution triggers appeared in .claude/settings.json, .gemini/settings.json, .cursor/mcp.json, .cursor/rules/setup.mdc, and .vscode/tasks.json.
A Claude SessionStart hook attempted to run the hidden script through Node.js or Bun. Other configurations created similar opportunities during tool sessions or workspace opening.

The publisher searched for GitHub credentials and npm publishing access. It could abuse GitHub Actions identity tokens through npm trusted publishing, modify packages, add malicious installation commands, and attempt to publish infected releases.
Researchers stressed that recovered code proves the intended mechanism, not successful execution for every observed release.
Malicious npm versions supplied the broader credential-stealing worm. Some used binding.gyp command expansion to execute JavaScript during installation without declaring a conventional install script. Shared loaders and publishing logic connected these packages to the compromised GitHub infrastructure.
Later packages introduced compiled Node.js addons that concealed their JavaScript payload inside .napi_cache, a file resembling a build cache.
The addon decoded its contents using XOR key 0x96, wrote JavaScript into a temporary location, and launched Node.js separately from the installation process.
The loader avoided CI environments, containers, debuggers, and machines with limited resources. Its Windows variant also checked for tools including Wireshark, Process Monitor, and x64dbg.
These checks helped it remain inactive in analysis environments while targeting ordinary developer systems, jfrog said.
JFrog also found 27 encrypted snapshot files in an attacker-owned repository. Their metadata did not establish victim identities or affected system counts.
Related shellpanel workflows linked the repository cluster to attempted cPanel exploitation, but researchers did not confirm downstream compromises.
Indicators of Compromise
| Indicator type | Indicator | Purpose |
|---|---|---|
| Scanner command-and-control | 43[.]228[.]157[.]68:80 | Hosts shellpanel scanner infrastructure |
| Scanner download URL | hxxp[:]//43[.]228[.]157[.]68:80/api/dl/<amd64\|386\|arm\|arm64> | Delivers architecture-specific scanner binaries |
Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.
Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team