Red flags of a malicious repository14
Large, active projects in our sample have 5 to 20 watchers per thousand stars. Fewer than one per thousand on a repo with thousands of stars almost certainly means bought stars. AlgoScore applies a trust penalty for it.
A repository with a few commits and thousands of stars is a shop window with nothing behind it. We treat more than 300 stars per commit as a reason to read the code line by line before downloading anything.
According to StarScout, 83.9% of repositories with fake-star campaigns were active for fewer than ten days. A young project that takes off with no release history or discussion deserves caution.
Almost every documented stealer posing as a Polymarket or Solana bot started by reading .env. An exchange bot needs an API key with withdrawals disabled. No bot needs your wallet seed phrase.
big-nunber instead of bignumber.js, ts-bign posing as a BigNumber library: typosquats pull in a second malicious package as a transitive dependency. Check every name in package.json and requirements.txt against the official registry.
A link to an archive in someone else's GitHub release, or a direct URL in place of a package name, bypasses registry moderation. That is how crypto-layout-utils reached users of the fake solana-pumpfun-bot.
Code in postinstall runs during npm install, before the bot ever starts. In the dev-protocol case it took ownership of ~/.ssh and opened port 22. Install untrusted packages with --ignore-scripts.
jsjiami-minified blocks, lines padded with thousands of spaces or tabs and code at the end, base64 followed by eval or exec. An open-source trading bot has nothing to hide, so obfuscation in one is a threat signal.
An open-source bot is built and run from source. A prebuilt binary or a password-protected archive cannot be verified by reading code, and a password on the archive also helps it slip past antivirus scanning.
"1000% a month", "a bot that never loses", balance screenshots in place of a backtest with parameters. Real projects carry risk disclaimers; Freqtrade and Jesse tell you plainly not to risk money you are afraid to lose.
No developer needs your private key, seed or a withdrawal-enabled exchange key to "configure" or "activate" a bot. Any such request in direct messages is a theft attempt.
The name and README copy a popular bot while commits come from a fresh account. In March 2026 malicious Polymarket repositories appeared even inside the verified dev-protocol organization after attackers took it over.
In the dev-protocol case an issue warning about the malicious packages was deleted. Disabled issues alone prove nothing, since some well-known projects keep them closed, but on an obscure bot it counts against it.
Hundreds of commits that touch one timestamp file every few minutes fake active development. The GitVenom campaign padded its fake projects this way. Open a few commits and see what they actually change.
Before running someone else's bot
- Read package.json, requirements.txt or pyproject.toml before installing: check each package name against the registry, look at publish dates and download counts, and find postinstall scripts and direct-URL dependencies.
- Check dependencies against OSV (osv.dev), where malicious packages get MAL- identifiers. For npm projects, install with --ignore-scripts.
- Run an unfamiliar bot in a separate container or virtual machine with no access to your home directory, SSH keys, browser profiles or wallets.
- For on-chain bots, create a separate wallet holding only what you can afford to lose. Never put your main wallet key or seed phrase in .env.
- On the exchange, create an API key with trading rights only: withdrawals off, access restricted to your server IP allowlist.
- Start in dry-run, paper mode or the exchange testnet and watch outbound connections: a trading bot needs exchange APIs, and unknown domains on vercel.app or "cloud" hosts point to exfiltration.
- Check the fake-star signals: watcher-to-star ratio, stars per commit, repository age, release history and real discussion in issues.
- If malicious code has already run, treat every key on that machine as compromised: move funds to a new wallet, revoke API keys, and check ~/.ssh/authorized_keys and open ports.
Documented cases5
Kaspersky described a campaign with hundreds of repositories, including a Telegram bot for managing Bitcoin wallets. The READMEs looked professional, commit counts were inflated by automated edits to a timestamp file, and the advertised features did not exist in the code. Payloads included a stealer, AsyncRAT, the Quasar backdoor and a clipboard address swapper. The attackers' wallet received about 5 BTC in November 2024.
2025-02 · Securelist (Kaspersky)
SlowMist analyzed the now-deleted solana-pumpfun-bot repository from the account zldp2002, which had a high number of stars and forks. Its dependency crypto-layout-utils, removed from the npm registry, was downloaded from a separate GitHub repository and obfuscated with jsjiami.com.v7. The code searched for key and wallet files and sent them to the attacker's server. SlowMist believes controlled accounts inflated the stars and forks.
2025-07 · Cointelegraph (citing SlowMist)
A Polymarket copy-trading bot project on GitHub was found to carry a hidden dependency, excluder-mcp-package@1.0.4. On launch the program read private keys from .env and sent them to an attacker-controlled server, after which user funds were drained. Anyone who ran the project was advised to treat their keys as compromised and move funds to new wallets.
2025-12 · KuCoin News (citing Odaily)
StepSecurity found that the verified GitHub organization of a Japanese DeFi project had been flooded with more than 20 Polymarket repositories. Their package.json listed the typosquats ts-bign and big-nunber, which pulled in the levex-refa stealer and the lint-builder backdoor. The stealer took .env files, Solana id.json keypairs and config.toml, and postinstall opened SSH access. The bot itself worked against the real Polymarket API.
2026-03 · StepSecurity
OX Security analyzed polymarket-kit, an npm package from a campaign using polymarket-*, clob-* and kelly-* names. It stole data from seven browser wallets, including MetaMask, Phantom and Rabby, from desktop wallets Exodus, Electrum and Atomic, and Google Cloud, AWS and Azure tokens. Over a WebSocket channel the attacker could run commands on the victim machine. The author left their own GitLab SSH keys inside the package.
2026-07 · OX Security
Flagged "Check" in the catalog2
| # | Repository | Topic | AlgoScore | ★ | 30d growth | Push | Label |
|---|---|---|---|---|---|---|---|
| 1 | Jakeschincariol/day-trader-skill11 Claude skills for day trading: scan thousands of charts, track breaking news, time every entry and exit, and replay every outcome before you risk a dollar. | Algo trading & backtesting | 40 | 11k | — | 45 d | Check |
| 2 | mortdeus/solana-copy-sniper-mev-trading-bot🆓Free High speed solana mev arbitrage Sniper Copy Trading Bot, gRPC shred stream Pumpfun Bundler, Pumpfun Contract, Yellowston Geyser, token launcher, AI raydium pool creator, volume, sandwich, raydium swap bot, pumpswap auto Volume, Maker bot, 0xblock, best 0 block solana trading bot solana tradi | On-chain & MEV | 40 | 4.5k | — | 18 d | Check |