ETHcode 0.5.0 for VS Code added the fake dependency keythereum-utils, which started a hidden PowerShell process that ran a downloaded script, in June 2025.
The attacker sent a pull request that the project accepted. Two lines of code in a large change did the harm.
What happened
A malicious pull request added a look-alike dependency to ETHcode, and the project merged it.
- The request came on 17 June 2025 from the new GitHub account
Airez299. - One line added
keythereum-utils, a look-alike ofkeythereum, topackage.json. - A second line called
require()to load it when the extension starts. - The obfuscated code starts a hidden PowerShell process.
- That process downloads a batch script from a public file-hosting service and runs it.
Microsoft removed the extension on 26 June 2025. The maintainers published 0.5.1 on 1 July 2025.
Affected versions
- ETHcode 0.5.0, from the 7finney project.
- Fixed in 0.5.1, published on 1 July 2025.
- Malicious npm package:
keythereum-utilsversions 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5 and 1.2.7. The Hacker News says the range runs from 1.2.1 to 1.2.7.
Indicators of compromise
- A dependency named
keythereum-utilsin the extensionpackage.json. - GitHub account:
Airez299. - npm accounts linked to the package:
0xlab,0xlabssand1xlab. - A hidden
powershellprocess that starts from VS Code and downloads a batch file. - SHA1 of the extension 0.5.0 file in the ReversingLabs report:
8f93077e8193996fc096de359401a8e9aa6ffc7f. - SHA1 of
keythereum-utils1.2.1:17802c834861bb983a248234b0a5d17a62fe4474.
How to check
Read the installed version of the extension and search its files for the fake dependency. Version 0.5.0 or a file match means the bad build is present.
code --list-extensions --show-versions | grep -i ethcode grep -rl "keythereum-utils" ~/.vscode/extensions/*ethcode*/ 2>/dev/null
What to do now
- Update ETHcode to 0.5.1 or later.
- Remove
keythereum-utilsfrom any project that lists it. - On a machine that ran 0.5.0, check for unknown PowerShell activity and downloaded batch files. Treat the machine as compromised if you find any.
- Move crypto assets and rotate private keys and tokens that the machine held.
Frequently asked questions
Which ETHcode version was compromised?
ETHcode 0.5.0 for VS Code. Version 0.5.1 removes the malicious dependency.
How was the ETHcode extension compromised?
An attacker sent a large pull request that added a fake dependency named keythereum-utils and one line that loaded it. The project merged the request.
What does keythereum-utils do?
It starts a hidden PowerShell process that downloads and runs a batch script.
Sources
Send this page to the person who looks after AI at your company.