Close Menu
Cryphedge.com
  • Home
  • Crypto News
    • Bitcoin
    • NFT News
  • Altcoins
  • Scams
  • Blockchain
  • Regulations
  • Trading
Facebook X (Twitter) Instagram
Cryphedge.com
  • Home
  • Crypto News
    • Bitcoin
    • NFT News
  • Altcoins
  • Scams
  • Blockchain
  • Regulations
  • Trading
Cryphedge.com
Home » Ethereum smart contracts quietly push javascript malware targeting developers
Ethereum smart contracts quietly push javascript malware targeting developers

Ethereum smart contracts quietly push javascript malware targeting developers

September 4, 20253 Mins ReadNo Comments Scams
Share
Facebook Twitter LinkedIn Pinterest Email
Ethereum smart contracts quietly push javascript malware targeting developers

Hackers are using Ethereum smart contracts to conceal malware payloads inside seemingly benign npm packages, a tactic that turns the blockchain into a resilient command channel and complicates takedowns.

ReversingLabs detailed two npm packages, colortoolsv2 and mimelib2, that read a contract on Ethereum to fetch a URL for a second-stage downloader rather than hardcoding infrastructure in the package itself, a choice that reduces static indicators and leaves fewer clues in source code reviews.

The packages surfaced in July and were removed after disclosure. ReversingLabs traced their promotion to a network of GitHub repositories that posed as trading bots, including solana-trading-bot-v2, with fake stars, inflated commit histories, and sock-puppet maintainers, a social layer that steered developers toward the malicious dependency chain.

The downloads were low, but the method matters. Per The Hacker News, colortoolsv2 saw seven downloads and mimelib2 one, which still fits opportunistic developer targeting. Snyk and OSV now list both packages as malicious, providing quick checks for teams auditing historical builds.

History repeating itself

The on-chain command channel echoes a broader campaign that researchers tracked in late 2024 across hundreds of npm typosquats. In that wave, packages executed install or preinstall scripts that queried an Ethereum contract, retrieved a base URL, and then downloaded OS-specific payloads named node-win.exe, node-linux, or node-macos.

Checkmarx documented a core contract at 0xa1b40044EBc2794f207D45143Bd82a1B86156c6b coupled with a wallet parameter 0x52221c293a21D8CA7AFD01Ac6bFAC7175D590A84, with observed infrastructure at 45.125.67.172:1337 and 193.233.201.21:3001, among others.

Phylum’s deobfuscation shows the ethers.js call to getString(address) on the same contract and logs the rotation of C2 addresses over time, a behavior that turns contract state into a movable pointer for malware retrieval. Socket independently mapped the typosquat flood and published matching IOCs, including the same contract and wallet, confirming cross-source consistency.

An old vulnerability continues to thrive

ReversingLabs frames the 2025 packages as a continuation in technique rather than scale, with the twist that the smart contract hosts the URL for the next stage, not the payload.

The GitHub distribution work, including bogus stargazers and chore commits, aims to pass casual due diligence and leverage automated dependency updates within clones of the fake repos.

NemoNemo
Crypto Investor BlueprintCrypto Investor Blueprint

The Crypto Investor Blueprint: A 5-Day Course On Bagholding, Insider Front-Runs, and Missing Alpha

Nice 😎 Your first lesson is on the way.

Please add [email protected] to your email whitelist.

The design resembles earlier use of third-party platforms for indirection, for example GitHub Gist or cloud storage, but on-chain storage adds immutability, public readability, and a neutral venue that defenders cannot easily take offline.

Per ReversingLabs, Concrete IOCs from these reports include the Ethereum contracts 0x1f117a1b07c108eae05a5bccbe86922d66227e2b linked to the July packages and the 2024 contract 0xa1b40044EBc2794f207D45143Bd82a1B86156c6b, wallet 0x52221c293a21D8CA7AFD01Ac6bFAC7175D590A84, host patterns 45.125.67.172 and 193.233.201.21 with port 1337 or 3001, and platform payload names noted above.

Hashes for the 2025 second stage include 021d0eef8f457eb2a9f9fb2260dd2e391f009a21, and for the 2024 wave, Checkmarx lists Windows, Linux, and macOS SHA-256 values. ReversingLabs also published SHA-1s for each malicious npm version, which helps teams scan artifact stores for past exposure.

Protecting against the attack

For defense, the immediate control is to prevent lifecycle scripts from running during install and CI. npm documents the --ignore-scripts flag for npm ci and npm install, and teams can set it globally in .npmrc, then selectively allow necessary builds with a separate step.

The Node.js security best practices page advises the same approach, together with pinning versions via lockfiles and stricter review of maintainers and metadata.

Blocking outbound traffic to the IOCs above and alerting on build logs that initialize ethers.js to query getString(address) provide practical detections that align with the chain-based C2 design.

The packages are gone, the pattern remains, and on-chain indirection now sits alongside typosquats and bogus repos as a repeatable way to reach developer machines.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
cryphedge

Related Posts

Crypto investor charged with using 8 companies and new investor cash to keep an alleged $20M fraud alive

July 20, 2026

Crypto malware in 8 Steam games steals tokens after leaving trail to Uber Eats deliveries

July 19, 2026

Robinhood Chain tokens are reportedly vanishing from wallets causing buyers to lose funds

July 13, 2026

One crypto wallet tied to a 20-year-old fraudster processed over $122M before Interpol closed in

July 12, 2026
Add A Comment

Comments are closed.

Editors Picks

BitMine is now $484 million away from completing its 5% Ethereum target

July 21, 2026

XRP Price is Breaking Out—Can Bulls Fuel a 5% Rally to $1.20?

July 21, 2026

Bitcoin ETFs Post First Five-Day Inflow Streak Since April as Institutional Demand Returns

July 21, 2026

Bitcoin and Ethereum Set To Extend Gains, but Remittix Could Offer Best Value With New Offerings

July 21, 2026
About

cryphedge is an online news portal that aims to share the latest crypto news, bitcoin, altcoin, blockchain, nft news, regulation, trading, crypto scams and much more stuff.

Facebook X (Twitter) Instagram Pinterest YouTube
Top Insights

CME Group set to launch Solana futures on March 17, strengthening ETF prospects

February 28, 2025

Shiba Inu Sees Daily, Weekly, And Monthly Gains: Delete A Zero?

March 30, 2026

Can Robinhood’s Involvement Boost Bullish Sentiment for $ARB Price Soon?

June 30, 2025
Subscribe
Please enable JavaScript in your browser to complete this form.
Loading
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms of Use
  • DMCA

Type above and press Enter to search. Press Esc to cancel.

  • bitcoinBitcoin(BTC)$66,488.001.72%
  • ethereumEthereum(ETH)$1,923.481.33%
  • tetherTether(USDT)$1.000.03%
  • binancecoinBNB(BNB)$574.150.23%
  • usd-coinUSDC(USDC)$1.000.00%
  • rippleXRP(XRP)$1.153.60%
  • solanaSolana(SOL)$77.980.59%
  • tronTRON(TRX)$0.3285710.81%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.00-0.72%
  • HyperliquidHyperliquid(HYPE)$61.49-1.18%
  • dogecoinDogecoin(DOGE)$0.0732930.30%
  • USDSUSDS(USDS)$1.000.01%
  • RainRain(RAIN)$0.014149-0.28%
  • zcashZcash(ZEC)$537.29-2.09%
  • leo-tokenLEO Token(LEO)$9.710.11%
  • WhiteBIT CoinWhiteBIT Coin(WBT)$57.831.52%
  • stellarStellar(XLM)$0.1935242.27%
  • moneroMonero(XMR)$348.593.85%
  • cardanoCardano(ADA)$0.1738964.67%
  • chainlinkChainlink(LINK)$8.661.58%
  • CantonCanton(CC)$0.1254051.25%
  • daiDai(DAI)$1.000.01%
  • bitcoin-cashBitcoin Cash(BCH)$225.073.86%
  • USD1USD1(USD1)$1.000.03%
  • Gram (prev. Toncoin)Gram (prev. Toncoin)(GRAM)$1.536.53%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • litecoinLitecoin(LTC)$47.660.84%
  • Global DollarGlobal Dollar(USDG)$1.00-0.12%
  • suiSui(SUI)$0.770.53%
  • hedera-hashgraphHedera(HBAR)$0.0684872.90%
  • Circle USYCCircle USYC(USYC)$1.13-0.01%
  • avalanche-2Avalanche(AVAX)$6.610.66%
  • crypto-com-chainCronos(CRO)$0.0587502.25%
  • PayPal USDPayPal USD(PYUSD)$1.000.00%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • shiba-inuShiba Inu(SHIB)$0.0000040.82%
  • nearNEAR Protocol(NEAR)$1.94-2.20%
  • tether-goldTether Gold(XAUT)$4,068.451.46%
  • uniswapUniswap(UNI)$3.672.66%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.13-0.42%
  • OndoOndo(ONDO)$0.40062112.95%
  • BittensorBittensor(TAO)$199.061.89%
  • pax-goldPAX Gold(PAXG)$4,066.771.52%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.056599-1.01%
  • okbOKB(OKB)$82.150.91%
  • AsterAster(ASTER)$0.630.43%
  • HTX DAOHTX DAO(HTX)$0.0000020.44%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • MemeCoreMemeCore(M)$1.18-2.81%
  • usddUSDD(USDD)$1.000.04%
  • SkySky(SKY)$0.0634443.30%
  • aaveAave(AAVE)$95.867.28%
  • polkadotPolkadot(DOT)$0.853.88%
  • Falcon USDFalcon USD(USDF)$1.000.03%
  • mantleMantle(MNT)$0.4283260.41%
  • WorldcoinWorldcoin(WLD)$0.3786110.92%
  • MorphoMorpho(MORPHO)$2.032.37%
  • BFUSDBFUSD(BFUSD)$1.000.03%
  • internet-computerInternet Computer(ICP)$2.232.93%
  • PepePepe(PEPE)$0.000003-0.10%
  • bitget-tokenBitget Token(BGB)$1.692.13%
  • ethereum-classicEthereum Classic(ETC)$7.001.34%
  • United StablesUnited Stables(U)$1.000.05%
  • Spiko EU T-Bills Money Market FundSpiko EU T-Bills Money Market Fund(EUTBL)$1.20-0.01%
  • Pi NetworkPi Network(PI)$0.093123-6.54%
  • USDGOUSDGO(USDGO)$1.000.00%
  • Blockchain CapitalBlockchain Capital(BCAP)$106.200.01%
  • ​​Stable​​Stable(STABLE)$0.0384307.16%
  • quant-networkQuant(QNT)$64.561.36%
  • kucoin-sharesKuCoin(KCS)$6.700.10%
  • Janus Henderson Anemoy Treasury FundJanus Henderson Anemoy Treasury Fund(JTRSY)$1.110.01%
  • POL (ex-MATIC)POL (ex-MATIC)(POL)$0.0802110.48%
  • ADIADI(ADI)$6.770.88%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.15-0.03%
  • EthenaEthena(ENA)$0.0861993.86%
  • justJUST(JST)$0.1003661.27%
  • render-tokenRender(RENDER)$1.531.75%
  • Pump.funPump.fun(PUMP)$0.001974-1.76%
  • kaspaKaspa(KAS)$0.0285291.10%
  • cosmosCosmos Hub(ATOM)$1.490.58%
  • Invesco Short Duration US Government Securities FundInvesco Short Duration US Government Securities Fund(USTB)$11.150.03%
  • nexoNEXO(NEXO)$0.770.79%
  • algorandAlgorand(ALGO)$0.0845522.01%
  • gatechain-tokenGate(GT)$6.750.12%
  • AudieraAudiera(BEAT)$2.32-6.18%
  • Janus Henderson Anemoy AAA CLO FundJanus Henderson Anemoy AAA CLO Fund(JAAA)$1.040.02%
  • JupiterJupiter(JUP)$0.1980420.39%
  • BeldexBeldex(BDX)$0.083243-0.41%
  • GHOGHO(GHO)$1.000.04%
  • 币安人生 (BinanceLife)币安人生 (BinanceLife)(币安人生)$0.61-4.45%
  • filecoinFilecoin(FIL)$0.752.34%
  • arbitrumArbitrum(ARB)$0.089257-0.83%
  • Venice TokenVenice Token(VVV)$12.417.19%
  • xdce-crowd-saleXDC Network(XDC)$0.0290982.39%
  • LighterLighter(LIT)$2.303.01%
  • FlareFlare(FLR)$0.0066112.10%
  • YLDSYLDS(YLDS)$1.000.00%
  • Usual USDUsual USD(USD0)$1.000.04%
  • injective-protocolInjective(INJ)$5.300.03%
  • USXUSX(USX)$1.000.00%