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
Pi Network Price Annual Forecast: PI Heads Into a Volatile 2026 as Utility Questions Collide With Big UnlocksPi Network heads into 2026 after a 90%+ 2025 drawdown from $3.00, with 17.5 million KYC users and a smart-contract-focused Stellar v23 upgrade offering upside potential, but 1.21 billion tokens unlocking and heavy exchange deposits (437 million PI) keeping supply pressure and trust risks firmly in focus.
Author  Mitrade
Dec 19, Fri
Pi Network heads into 2026 after a 90%+ 2025 drawdown from $3.00, with 17.5 million KYC users and a smart-contract-focused Stellar v23 upgrade offering upside potential, but 1.21 billion tokens unlocking and heavy exchange deposits (437 million PI) keeping supply pressure and trust risks firmly in focus.
placeholder
When is the BoJ rate decision and how could it affect USD/JPY?The Bank of Japan (BoJ) will announce its interest rate decision between 03.30 and 05.00 GMT, followed by Governor Kazuo Ueda's press conference at 06.30 GMT.
Author  FXStreet
Dec 19, Fri
The Bank of Japan (BoJ) will announce its interest rate decision between 03.30 and 05.00 GMT, followed by Governor Kazuo Ueda's press conference at 06.30 GMT.
placeholder
U.S. November CPI: How Will Inflation Fluctuations Transmit to US Stocks? Tariffs Are the Key!TradingKey - Inflation exerts a notable impact on the stock market. Since the Trump administration took office, it has imposed substantial tariff hikes, and the effects of this policy have gradually f
Author  TradingKey
Dec 18, Thu
TradingKey - Inflation exerts a notable impact on the stock market. Since the Trump administration took office, it has imposed substantial tariff hikes, and the effects of this policy have gradually f
placeholder
Coinbase Builds a “Universal Exchange” — Wall Street Shrugs. Can COIN Find Its Footing?Coinbase is expanding into stock trading, prediction markets and perpetuals to build a “universal exchange,” but COIN fell over 3% to $244 as Bitcoin hovered near $85,000, even while Deutsche Bank reiterated a Buy and a $340 target amid intensifying competition.
Author  Mitrade
Dec 18, Thu
Coinbase is expanding into stock trading, prediction markets and perpetuals to build a “universal exchange,” but COIN fell over 3% to $244 as Bitcoin hovered near $85,000, even while Deutsche Bank reiterated a Buy and a $340 target amid intensifying competition.
placeholder
Bitcoin Hits $90K as Crypto Market Surge Wipes Out $120M in Short PositionsBitcoin ascended to $90,000 before a swift correction, impacting both long and short positions.Liquidity maneuvers continue to dominate BTC's short-term price dynamics, with recent sessions squeezing short sellers.
Author  Mitrade
Dec 18, Thu
Bitcoin ascended to $90,000 before a swift correction, impacting both long and short positions.Liquidity maneuvers continue to dominate BTC's short-term price dynamics, with recent sessions squeezing short sellers.
goTop
quote