By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Malicious PyPI Package Targets MEXC Trading API to Steal Credentials and Redirect Orders
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Malicious PyPI Package Targets MEXC Trading API to Steal Credentials and Redirect Orders
Computing

Malicious PyPI Package Targets MEXC Trading API to Steal Credentials and Redirect Orders

News Room
Last updated: 2025/04/15 at 12:06 PM
News Room Published 15 April 2025
Share
SHARE

Apr 15, 2025Ravie LakshmananSupply Chain Attack / Malware

Cybersecurity researchers have disclosed a malicious package uploaded to the Python Package Index (PyPI) repository that’s designed to reroute trading orders placed on the MEXC cryptocurrency exchange to a malicious server and steal tokens.

The package, ccxt-mexc-futures, purports to be an extension built on top of a popular Python library named ccxt (short for CryptoCurrency eXchange Trading), which is used to connect and trade with several cryptocurrency exchanges and facilitate payment processing services.

The malicious package is no longer available on PyPI, but statistics on pepy.tech shows that it has been downloaded at least 1,065 times.

“The authors of the malicious ccxt-mexc-futures package, claim in its README file that it extends the CCXT package to support ‘futures’ trade on MEXC,” JFrog researcher Guy Korolevski said in a report shared with The Hacker News.

Cybersecurity

However, a deeper examination of the library has revealed that it specifically overrides two APIs associated with the MEXC interface — contract_private_post_order_submit and contract_private_post_order_cancel — and introduces a new one named spot4_private_post_order_place.

In doing so, the idea is to trick developers into calling these API endpoints to create, cancel, or place a trading order on the MEXC exchange and stealthily perform malicious actions in the background.

The malicious modifications particularly target three different MEXC-related functions present in the original ccxt library, viz. ֵdescribe, sign, and prepare_request_headers.

This makes it possible to execute arbitrary code on the local machine on which the package is installed, effectively retrieving a JSON payload from a bogus domain impersonating MEXC (“v3.mexc.workers[.]dev”), which contains a configuration to direct the overridden APIs to a malicious third-party platform (“greentreeone[.]com”) as opposed to the actual MEXC website.

“The package creates entries in the API for MEXC integration, using an API that directs requests to the domain greentreeone[.]com, and not the MEXC site mexc.com,” Korolevski said.

“All requests are redirected to the domain set up by the attackers, allowing them to hijack all of the victim’s crypto tokens and sensitive information transferred in the request, including API keys and secrets.”

What’s more, the fraudulent package is engineered to send the MEXC API key and secret key to the attacker-controlled domain whenever a request is sent to create, cancel, or place an order.

Users who have installed ccxt-mexc-futures are recommended to revoke any potentially compromised tokens and remove the package with immediate effect.

The development comes as Socket revealed that threat actors are making use of counterfeit packages across npm, PyPI, Go, and Maven ecosystems to launch a reverse shell to maintain persistence and exfiltrate data.

Cybersecurity

“Unsuspecting developers or organizations might inadvertently be including vulnerabilities or malicious dependencies in their code base, which could allow for sensitive data or system sabotage if undetected,” the software supply chain security company said.

It also follows new research that delves into how large language models (LLMs) powering generative artificial intelligence (AI) tools could endanger the software supply chain by hallucinating non-existent packages and recommending them to developers.

Malicious PyPI Package

The supply chain threat comes into play when malicious actors register and publish malware-laced packages with the hallucinated names to open-source repositories, infecting developer systems in the process – a technique referred to as slopsquatting.

The academic study found that “the average percentage of hallucinated packages is at least 5.2% for commercial models and 21.7% for open-source models, including a staggering 205,474 unique examples of hallucinated package names, further underscoring the severity and pervasiveness of this threat.”

Found this article interesting? Follow us on Twitter  and LinkedIn to read more exclusive content we post.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article A New Mexico Man Faces Federal Charges for Allegedly Setting Fire to a Tesla Showroom
Next Article Cybersecurity Funding Ticks Up Despite Slow Deal Flow
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

DingTalk launches immersive workplace for Apple Vision Pro · TechNode
Computing
Huge Home Depot weekend sale takes up to 50% off patio furniture, grills and more — 27 deals I’d shop now
News
Microsoft 365’s Family plan is nearly 50% off on Amazon
Gadget
Student Loan Borrowers, You Have Until Summer to Prevent Your Wages From Being Garnished
News

You Might also Like

Computing

DingTalk launches immersive workplace for Apple Vision Pro · TechNode

1 Min Read
Computing

What the Investments and Securities Act means for Nigeria’s crypto

15 Min Read
Computing

10 Best Google Sheets Alternatives & Competitors in 2025

23 Min Read
Computing

Spectral Estimation Algorithms: Prony’s, ESPRIT, MUSIC & More | HackerNoon

1 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?