Skip to main content
CampaignPublished

Malicious pull request infects VS Code extension

Source AlienVault OTX General

0

Description

A VS Code extension for Ethereum smart contract development, ETHcode, was compromised through a GitHub pull request. The attacker, using a newly created account, submitted a PR that introduced a malicious dependency and code to execute it. The compromise was subtle, involving only two lines of code changes among thousands. The malicious code downloads and runs a batch script from a public file-hosting service, potentially to steal crypto assets or compromise Ethereum contracts. The extension, with nearly 6,000 installs, was removed from the marketplace after discovery. This incident highlights the importance of carefully reviewing contributions, especially from new accounts, and scrutinizing package dependencies in software development workflows.

Indicators of compromise

Hashes 7

  • 0a9b47d707e167af384403af7c466eb43d46f343
  • 17802c834861bb983a248234b0a5d17a62fe4474
  • 351a25bd647587aaf76bd8a303a687bb6ad79f8f
  • 442cac64cd5e7783503970c446a1d0d0a0dab69d
  • 8f93077e8193996fc096de359401a8e9aa6ffc7f
  • 933967db50602a058bd1764c44fc98305866e89e
  • e37adafde5e03001172663256cf3d480e3765b91

Community reviews

Loading reviews…