Security researchers issue alert over malicious code found in a Polymarket copy-trading bot on GitHub

Source Cryptopolitan

Security-oriented researchers and companies have warned about a popular, open-source Polymarket copy trading bot hosted on GitHub. 

The bot was created by a developer under the handle “Trust412,” and reportedly contains hidden malicious code across multiple commits and dependencies. 

Polymarket copy traders warned of malicious private key-stealing code
Source: @hunterweb303 via X/Twitter

SlowMist sounds Polymarket trading bot warning 

Earlier today, December 21, 23pds, SlowMist’s Chief Information Security Officer, retweeted a warning from a community user about a malicious code in a Polymarket copy-trading bot on GitHub, posing security risks. 

The incident has reminded many that the crypto bot market still has many vulnerabilities, which is why scrutinizing GitHub repositories for hidden threats is now non-negotiable. 

According to the post 23pds interacted with, this code was deliberately put there, but its malicious nature was disguised while the author revised it repeatedly to ensure that it evaded detection. 

This occurred across multiple submissions in the “polymarket-copy-trading-bot” repository, potentially exposing users to fund theft.

The hidden code in the bot’s program made it scan and read configuration files automatically, extract private keys, and transfer them to a remote server controlled by the hackers.  

Users are urged to be cautious with any unaudited code repositories. In 23pds’s post, he alleged this is not the first time the method is being used to target GitHub and its users and that it will not be the last of such incidents. 

How to avoid the private key exploits 

The most crucial thing about this form of exploit is that it depends on the individual to kick-start the process, which means extra caution would do a lot to prevent repeated cases. 

The exploit is a classic supply-chain attack on open-source tools. It requires users to first install the bot, which many do in an effort to copy successful traders on Polymarket. These users input their private keys for signing trades, thereby unknowingly exposing them.

Anyone who finds themselves in such a predicament is advised to immediately delete the repository if it has been downloaded, assume any wallet linked to it has been compromised, and move all funds to a new one as quickly as it can be done. 

It also does not help matters that similar issues have come up in other Polymarket bot repos. So it has become crucial to scrutinize third-party trading scripts to be on the safe side. 

It should be noted that the Polymarket platform has not been hacked; the bots that have been wreaking this havoc are unofficial ones, which pose high risks since they require direct access to users’ private keys.

Get seen where it counts. Advertise in Cryptopolitan Research and reach crypto’s sharpest investors and builders.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Bitcoin Faces Heavy Selling Pressure as Loss-Holders Cap Rally AttemptsBitcoin's near-term upside remains constrained by persistent selling from investors sitting on losses, creating a fragile trading environment as markets enter a typically low-liquidity holiday period.
Author  Mitrade
Dec 18, Thu
Bitcoin's near-term upside remains constrained by persistent selling from investors sitting on losses, creating a fragile trading environment as markets enter a typically low-liquidity holiday period.
placeholder
BOJ Set to Hike Rates Amid Inflation Pressures and Yen Weakness The Bank of Japan is expected to raise its benchmark interest rate to 0.75% on December 19, marking its first increase since early 2025, amidst ongoing inflation and a weakening yen. Analysts predict additional hikes in 2026 as the central bank navigates renewed monetary policy normalization under Governor Kazuo Ueda.
Author  Mitrade
Dec 18, Thu
The Bank of Japan is expected to raise its benchmark interest rate to 0.75% on December 19, marking its first increase since early 2025, amidst ongoing inflation and a weakening yen. Analysts predict additional hikes in 2026 as the central bank navigates renewed monetary policy normalization under Governor Kazuo Ueda.
placeholder
Asian Stocks Rise, Oil Jumps as Trump Orders Blockade on Venezuela TankersAsian equities advanced on Wednesday, supported by strong buying in technology shares, while oil prices surged more than 1% following an escalation of U.S. sanctions pressure on Venezuela.
Author  Mitrade
Dec 17, Wed
Asian equities advanced on Wednesday, supported by strong buying in technology shares, while oil prices surged more than 1% following an escalation of U.S. sanctions pressure on Venezuela.
placeholder
Australian Interest Rate Cuts Postponed to 2027 Amid Rising Inflation Pressures, Westpac PredictsWestpac analysts forecast the Reserve Bank of Australia will hold interest rates steady through 2026, with potential cuts now expected in early to mid-2027 due to resurging inflation and labor market concerns.
Author  Mitrade
Dec 17, Wed
Westpac analysts forecast the Reserve Bank of Australia will hold interest rates steady through 2026, with potential cuts now expected in early to mid-2027 due to resurging inflation and labor market concerns.
placeholder
Cryptocurrencies Extend Losses as Year-End Caution and Thinning Liquidity Weigh on MarketThe cryptocurrency market declined on Monday, mirroring a pullback in global risk assets as investors turned cautious ahead of key U.S. economic data. The broad-based retreat highlighted thinning liquidity and growing risk aversion across financial markets as the year draws to a close.
Author  Mitrade
Dec 16, Tue
The cryptocurrency market declined on Monday, mirroring a pullback in global risk assets as investors turned cautious ahead of key U.S. economic data. The broad-based retreat highlighted thinning liquidity and growing risk aversion across financial markets as the year draws to a close.
goTop
quote