Malicious Packages Use Discord Webhooks for Data Theft, Alert Experts

Malicious npm, Python, and Ruby Packages Use Discord Webhooks for Data Theft in North Korean Cyberespionage Campaign Targeting Web3 Developers

  • Cybersecurity researchers found malicious packages in npm, Python, and Ruby that use Discord webhooks to send stolen data.
  • Discord webhooks allow messages to be posted without authentication, making them a discreet tool for attackers to exfiltrate data.
  • Several packages steal sensitive files and system information, sending it to attacker-controlled Discord channels.
  • A North Korean campaign called Contagious Interview published 338 malicious npm packages targeting Web3 and cryptocurrency developers.
  • The campaign uses fake personas and typosquatting to trick users into running Malware that steals credentials and delivers backdoors.

Cybersecurity researchers have discovered multiple malicious software packages across the npm, Python, and Ruby ecosystems that use Discord as a command-and-control (C2) channel to transmit stolen data. These packages send sensitive information through Discord webhooks, which attackers control to receive data without needing authentication.

- Advertisement -

Discord webhooks are tools that post messages to channels without requiring a bot user or login, enabling attackers to quietly exfiltrate data. Socket researcher Olivia Brown explained, “webhook URLs are effectively write-only… defenders cannot read back prior posts just by knowing the URL.” This allows attackers to send stolen data discreetly without leaving a visible trace.

Among the identified packages are npm’s mysql-dumpdiscord, which steals developer configuration files; Python packages malinssx, malicus, and maliinn that contact Discord channels when installed; and Ruby’s sqlcommenter_rails, which collects host details and sensitive files before sending them to a Discord webhook. Brown noted the importance of this tactic, saying it lets threat actors avoid Hosting their own infrastructure and bypass firewall rules.

In addition, Socket revealed a North Korean threat group linked to a campaign called Contagious Interview published 338 malicious npm packages. These packages were downloaded over 50,000 times and deliver malware such as HexEval, XORIndex, and BeaverTail. The group created more than 180 fake identities and operated multiple C2 endpoints, targeting Web3, cryptocurrency, and blockchain developers.

The campaign tricks victims by offering fake job opportunities on platforms like LinkedIn, instructing targets to complete coding tests involving repositories referencing malicious npm packages. When executed, the malware steals browser credentials, cryptocurrency wallets, keystrokes, and screenshots. It also downloads additional backdoors like InvisibleFerret.

- Advertisement -

Many packages in this campaign use typosquatting, registering names similar to legitimate libraries, especially those related to Node.js and React. Security researcher Kirill Boychenko said, “Contagious Interview is not a cybercrime hobby… It is a state-directed, quota-driven operation with durable resourcing.” The campaign treats npm as a renewable source for initial access and removal of malicious packages alone is insufficient if the attacker accounts remain active.

✅ Follow BITNEWSBOT on Telegram, Facebook, LinkedIn, X.com, and Google News for instant updates.

Previous Articles:

- Advertisement -

Latest News

China executes 4 in Myanmar-based crime family crackdown

Four leading members of the Bai family, a powerful Myanmar-based crime syndicate overseeing 41...

Bitcoin’s Bull Market Hope Fades as $74K Support Tested

Bitcoin is struggling to avoid a fresh price decline as market sentiment turns increasingly...

Tesla Shares Dip as Europe Registrations Plunge

Tesla's new vehicle registrations plummeted 42% in France and 88% in Norway for January...

MicroStrategy Buys $75M in BTC as Stock Falls

MicroStrategy added 855 Bitcoin last week, a smaller-than-usual purchase funded by selling common stock.The...

JP Morgan’s Silver Crash Prediction Nearly Accurate After 30% Drop

JP Morgan predicted a 50% silver price crash one day before a historic 30%...
- Advertisement -

Must Read

7 Best Cryptocurrency Lending Platforms in 2025 (Ranked & Reviewed)

QUICK LINKSOur MethodologyHow to Choose the Best Crypto Lending Platform: Key Factors to ConsiderIn-Depth Reviews of the 7 Best Crypto Lending Platforms1. Nexo -...
🔥 #AD Get 20% OFF any new 12 month hosting plan from Hostinger. Click here!