IDE extension

The ETHcode VS Code Extension Supply Chain Attack

Updated 5 Oct 2026 · Incident date 17 Jun 2025

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 of keythereum, to package.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-utils versions 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-utils in the extension package.json.
  • GitHub account: Airez299.
  • npm accounts linked to the package: 0xlab, 0xlabss and 1xlab.
  • A hidden powershell process 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-utils 1.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

  1. Update ETHcode to 0.5.1 or later.
  2. Remove keythereum-utils from any project that lists it.
  3. 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.
  4. 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

  1. reversinglabs.com/blog/malicious-pull-request-infects-vscode-extension
  2. thehackernews.com/2025/07/malicious-pull-request-infects-6000.html
  3. securityonline.info/vs-code-ethcode-extension-hacked-just-2-lines-of-code-led-to-supply-chain-compromise-via-github-pr/

Send this page to the person who looks after AI at your company.

Email it

More supply chain attacks

All 172 attacks in the library · What is a supply chain attack? · How to prevent supply chain attacks

Check the next update before you install it

Vigilance compares the version you trust with the new one. It names the one file that gained a power the old version did not have.

Start the free 14-day trialBrowse the attack library