Upstar ranks the fastest-rising GitHub repos every hour, across 69 topics. Browse topics

How Upstar spots fake repos

Upstar for GitHub, a Chrome extension, shows a warning on a GitHub repo page when Upstar flagged the repo or its account. This page says what a flag means, how Upstar finds these repos and how to contest a flag.

What Upstar flags

The extension warns about three kinds of repos, each with one sentence:

  • Lures. Upstar flagged this repo: it asks you to download or run a program or command its code does not contain, a common way to spread malware.
  • Pirated content. Upstar flagged this repo: it distributes or links to protected commercial content (games, films, music, paid software); such files are often used to spread malware.
  • Crypto wallets. Upstar flagged this repo: it asks for your wallet’s private key or for funds to be sent to a wallet it uses.

It also warns on every repo of an account Upstar flagged for lures or pirated content. The other repos Upstar leaves out of its rankings, such as promotion networks, adult content or unusual star growth, get no warning: they put no visitor in danger.

How Upstar finds them

Upstar reads every new repo before it shows it in a ranking, a list or an email. Its checks look at what the repo shows:

  • the README, and what it asks its reader to download or run;
  • the files of the repository and of its latest releases: a program uploaded by hand that the code does not build, the same archive in other accounts’ repos;
  • the page the README sends to for installing, read as text and never run: a command hidden behind encoded scripts;
  • the account and the history: accounts created on the same day, commits a script wrote.

Two AI models, Anthropic’s Claude Haiku and Claude Sonnet, judge each repo from these facts: the first decides, the second confirms its blocks. A classifier trained on Upstar’s past decisions scores every repo, and a very high score with the first model’s block is enough. Upstar’s maintainer reads the networks found this way and flags them by hand.

What the extension’s list holds

Only the surest flags: confirmed by the second model or by Upstar’s maintainer, or decided by the first model with a very high classifier score. A repo the models doubted, a repo deleted from GitHub and a repo whose flag a review reversed are not in it.

The list is rebuilt every hour at upstar.dev/blocklist.json; the extension downloads it once a day.

A flag is Upstar’s decision from what the repo shows. Upstar does not run the programs, and GitHub alone decides what it hosts.

Contest a flag

If you maintain a flagged repo, or think a flag is wrong, write to contact@upstar.dev with the repo’s address and what Upstar got wrong. Upstar reads the repo again, and a flag it lifts leaves the list within a day.

What the extension sends

  • Nothing about the pages you visit: once a day it downloads the list from upstar.dev and checks each GitHub page against it on your computer.
  • That download is an ordinary request: Upstar’s server logs keep its IP address up to 14 days, as for any page (Privacy).
  • A warning you dismiss is remembered in your browser only.
  • Reporting an error sends Upstar only the email you write.