The cybersecurity landscape faces a new kind of threat — one that does not come from shadowy dark web forums or phishing emails, but from the very platforms developers trust most. On June 16, 2025, Trend Micro exposed a sophisticated threat actor dubbed Water Curse, which has weaponized at least 76 GitHub accounts to deliver multi-stage malware through seemingly legitimate open-source repositories. The campaign represents a troubling evolution in supply chain attacks, one that directly impacts the crypto and blockchain developer community.
The Exploit Mechanics
Water Curse operates by cloning and modifying legitimate open-source projects, embedding malicious payloads within Visual Studio project configuration files. When a developer downloads and compiles the project, the malicious code executes during the build process — specifically through a snippet embedded inside the <PreBuildEvent> tag. This triggers a Visual Basic Script (VBS) that initiates a complex infection chain.
The VBS script then drops and executes obfuscated PowerShell scripts, which download encrypted archives and extract Electron-based applications. The malware performs extensive system reconnaissance, employing anti-debugging techniques, privilege escalation methods, and persistence mechanisms such as scheduled tasks and registry modifications. The initial access vector exploits GitHub’s codeload.github.com domain — the standard endpoint for repository archiving — making the downloads appear entirely legitimate to both users and security tools.
Two notable weaponized repositories identified by Trend Micro include an SMTP Email Bomber tool and Sakura-RAT, a remote administration tool. Both were presented as legitimate penetration testing utilities, targeting red teams, security professionals, and developers who frequently rely on open-source tooling. Bitcoin traded at approximately $106,796 on the day of the disclosure, with the broader crypto market capitalization hovering around $3.3 trillion — a tempting pool of value for financially motivated threat actors.
Affected Systems
The primary targets span three distinct communities: cybersecurity professionals and penetration testers, game developers, and DevOps teams. Water Curse’s malware enables credential theft, browser data exfiltration, session token harvesting, and remote access — all of which are particularly dangerous for anyone managing cryptocurrency wallets or exchange accounts on the same machine.
Evidence suggests that related GitHub accounts and activity date back to March 2023, indicating a long-running, patient operation. The group employs a diverse toolkit including PowerShell, JavaScript, C#, VBS scripts, and compiled PE binaries, suggesting a well-resourced operation with cross-functional development capabilities. Data staging and exfiltration activities use 7-Zip compression and communicate with multiple external domains for both payload delivery and data upload.
The Mitigation Strategy
For developers and security teams, the Water Curse campaign demands a fundamental reassessment of how open-source tools are consumed. Organizations should implement strict code review processes for any third-party repositories, particularly those related to security testing or system administration. Build files, scripts, and project configuration files should be inspected for anomalous commands before compilation.
Enterprises should deploy endpoint detection and response solutions capable of identifying suspicious build-time executions. Trend Micro’s Vision One platform has been updated to detect and block the indicators of compromise associated with Water Curse. Additionally, network monitoring tools should flag unusual outbound connections to unknown domains during or after software builds.
Cryptocurrency users and developers should maintain strict separation between development environments and wallet management. Hardware wallets should be used for any significant holdings, and development machines should never store exchange credentials or private keys in browser sessions or configuration files.
Lessons Learned
Water Curse underscores a growing trend in the cybersecurity space: the blurring of lines between legitimate red team tooling and active malware distribution. The campaign exploits the fundamental trust that developers place in open-source ecosystems, turning GitHub — the world’s largest code hosting platform — into a delivery mechanism for sophisticated malware.
The financial motivation behind the campaign is clear. With session hijacking and credential theft capabilities, attackers can potentially access cryptocurrency exchange accounts, wallet extensions, and DeFi platforms. The group’s observed behaviors indicate goals such as credential theft, session hijacking, and the resale of illicit access — all of which have direct implications for the digital asset ecosystem.
User Action Required
Anyone who has recently downloaded open-source security tools, penetration testing utilities, or remote administration tools from GitHub should immediately scan their systems for indicators of compromise. Check for unexpected scheduled tasks, suspicious processes, and unauthorized outbound network connections. Rotate credentials for any accounts that may have been accessible from potentially compromised machines, and enable two-factor authentication on all cryptocurrency-related accounts.
Disclaimer: This article is for informational purposes only and does not constitute financial or investment advice. Always conduct your own research before making any financial decisions.
76 weaponized repos and nobody noticed until Trend Micro flagged it. the supply chain attack surface on open source is terrifying. if your build pipeline pulls from GitHub without checksum verification youre playing russian roulette
nuke_from_src 76 weaponized repos is terrifying. if your CI/CD pulls from GitHub without checksum verification you are exposed
The cost of a security breach always exceeds the cost of prevention
Mika is right but who pays for the audits? most small dev teams cant afford a proper security review. the cost of prevention only works if you have the budget for it
Arun small dev teams cant afford audits but they also cant afford a 100% breach. insurance and shared tooling are the middle ground
the cost asymmetry is the real problem. a proper audit costs $30K minimum. a supply chain attack costs almost nothing to execute. economics favor attackers heavily
30k audit vs free attack. small teams just cannot cover that cost gap without insurance mandates
0xSentry $30K audit vs free attack is the real ROI problem. most web3 projects spend more on marketing than security. until insurance mandates it nothing changes
The industry needs standardized security audit frameworks
Bridge security is still the weakest link in the ecosystem
not just bridges anymore. this Water Curse thing proves the attack vector shifted to dev tooling. poison the build process and every downstream user is compromised
76 weaponized repos and most devs still npm install without checking signatures. the PreBuildEvent vector is nasty because it runs before you even look at the code
PreBuildEvent running before you even read the code is brutal. CI pinning commit hashes instead of branch refs would have caught most of these
76 weaponized repos on github. prebuildevent running before anyone reads the code is such a nasty vector
build_hardened_ pinning commit hashes should be the default in every CI template. npm still resolves by tag which is insane in 2026
build_hardened_ pinning commit hashes should be the default in every CI template. npm still resolves by tag which is insane in 2026
76 weaponized repos on github and devs still pip install without checking hashes. the PreBuildEvent vector alone should have killed unsigned builds by now
76 weaponized repos on github and devs still pip install without checking hashes. the PreBuildEvent vector alone should have killed unsigned builds by now