github.com/trending doesn't load from my machine. curl sits in TCP connect for 20 seconds and returns nothing:
trending_html:000 time:20.000647 api:200 time:0.286833 Same machine, same minute. The HTML page is unreachable; api.github.com answers in 0.29s. So if you're building anything that watches GitHub trends — a digest bot, a "is this repo worth reading" filter — the API is the only road you have.
Rebuilding trending from the API turned out to be straightforward. What it surfaced in the top 30 was not.
Rebuilding the ranking
"Trending" is not an endpoint. The closest honest reconstruction is: repos created recently, sorted by stars.
GET /search/repositories?q=created:>2026-11-19+stars:>50&sort=stars&order=desc&per_page=30 That returned 1,303 repositories created in the previous seven days with more than 50 stars. I pulled the top 30, then for each one: the recursive file tree, the releases, and the recent event stream. Then I read the numbers instead of the READMEs.
Six of the thirty — 20% — turned out to be one campaign: six accounts, six different "products", one binary. Combined stars: 6,418.
Filter 1: forks
The cheapest tell is four-digit stars with zero forks.
| repo | stars | forks | files | created | last push |
|---|---|---|---|---|---|
| Indigo-0167/universal-game-mod-manager | 1,298 | 0 | 693 | 2026-11-23 | 2026-11-23 |
| Umbra9179/clipboard-history-manager-windows | 1,262 | 0 | 348 | 2026-11-23 | 2026-11-23 |
| zero5122/offline-file-converter-windows | 1,061 | 2 | 429 | 2026-11-23 | 2026-11-23 |
| solv4626/steam-achievement-manager-windows | 1,058 | 0 | 196 | 2026-11-23 | 2026-11-23 |
| kai415-debug/ffmpeg-video-audio-converter | 1,020 | 0 | 302 | 2026-11-23 | 2026-11-23 |
| olive527/steam-library-manager-windows | 719 | 0 | 129 | 2026-11-23 | 2026-11-23 |
For contrast, the two most-starred repos in the same window: xcl-dev/xcl (8,346★ / 1,148 forks) and Marvisak/VIctory (12,690★ / 2,077 forks). Real repos with four-digit stars have hundreds of forks — a fork costs one click, and people click.
But forks alone is a heuristic: people delete forks, and private forks don't count. I wanted a measurement that doesn't depend on anyone's intent.
Filter 2: the cadence of the stars
/repos/{owner}/{repo}/events exposes WatchEvent — one per star. Not every star is there (the window is limited and sampled), but what is there has a timestamp, and the shape of those timestamps is the tell.
For each repo I took the 100 most recent events, kept the star events, sorted them, and measured the gaps. Then one number: median gap ÷ mean gap.
- Organic growth: many medium gaps plus quiet periods → median and mean are close → ratio near 1.
- Scheduler-driven growth: a burst of near-identical gaps followed by a long dead tail → median tiny, mean large → ratio collapses.
Across the 27 repos with at least 8 star events:
| group | median / mean gap |
|---|---|
| the six above | 0.058 – 0.171 |
| all 21 others | 0.351 – 1.111 |
Two clean populations, no overlap, roughly 2× apart. And inside the burst the gaps are unnaturally literal:
Indigo-0167/universal-game-mod-manager first 5 gaps: 37 37 37 37 38 median 55s Umbra9179/clipboard-history-manager-windows first 5 gaps: 37 37 37 37 38 median 55s solv4626/steam-achievement-manager-windows first 5 gaps: 37 37 37 37 37 median 46s kai415-debug/ffmpeg-video-audio-converter first 5 gaps: 37 37 38 38 38 median 49s xcl-dev/xcl (organic) first 5 gaps: 21 45 50 55 160 median 160s Four accounts, four unrelated projects, the same 37-second tick. Humans don't star things 37 seconds apart. A timer does — and four different repo owners are running timers with the same interval, which means they share a driving tool, not merely a motive.
The same repos also have an event stream that is 98–100% stars: no pushes, no issues, no pull requests in the visible window. Repos that people actually use have some.
Filter 3: the payload
This is where it stops being a heuristics argument and becomes a hash.
Each of the six publishes release assets only — one zip per version, no source builds. The zip sizes:
Universal Game Mod Manager 4.0.3 1,996,142 bytes Windows Clipboard History Manager 4.2.1 1,996,156 bytes Steam Achievement Manager 4.1.8 1,996,164 bytes FFmpeg Video & Audio Converter 4.1.2 1,996,150 bytes Steam Library Manager 4.0.4 1,996,132 bytes Offline File Converter 4.1.3 1,996,158 bytes Six unrelated Windows tools. Total spread: 32 bytes. That is not six builds. That is one archive with six names.
I downloaded them and unzipped. Every zip contains a single *.exe of exactly 1,050,048 bytes — same size, same CRC (0x9e9b55d4), same SHA-256 prefix 63d0d02df6e466d642b824dc — plus a byte-identical libvlc.dll (2,161,943 bytes). Six "products", one executable.
And the size deltas prove the mechanism. Compare each zip's size difference from the base against the length difference of the inner filename:
| repo | Δ zip size | 2 × Δ inner filename length |
|---|---|---|
| steam-achievement-manager | +22 | +22 |
| ffmpeg-video-audio-converter | +8 | +8 |
| steam-library-manager | −10 | −10 |
| offline-file-converter | +16 | +16 |
Exactly 2×, every time, because a zip stores the name twice — local header and central directory. Nothing in the payload changed; only the string on the front of it.
The repos I inspected for this carry four version tags each (v1.1.8 → v4.0.3), and every tag's asset is the same byte size as the newest one. The version history is a list of labels, not a list of releases.
What this does and does not prove
What it proves: six accounts published one Windows executable as six different tools, with mechanically driven stars and no source code. That is enough to disqualify all six as anything you would install, regardless of what the binary does.
What it does not prove: that these six names belong to one legal entity, or that the binary is malicious. I didn't run it — I hashed it and read its strings. Its embedded certificate chains (DigiCert / Sectigo / UserTrust) mean the file is code-signed, so "signed" is not a safety signal here either: a signature records who submitted a file, and here it tells you nothing about the six names the file is wearing.
Byte identity across unrelated products is a disqualifier on its own. You don't need a malware verdict to decide not to run it.
The 60-line version for your own pipeline
If you aggregate or filter repos, run three checks before anything reaches a human:
- forks vs stars — four-digit stars with 0–2 forks: stop.
- star cadence —
median_gap / mean_gap < 0.2over ≥8 star events: stop. - payload collision — group release assets by byte size across "unrelated" repos; a 32-byte spread across six products is one archive.
import json, os, statistics, subprocess, urllib.request, datetime from collections import defaultdict TOKEN = os.environ.get("GITHUB_TOKEN") or subprocess.check_output( ["gh", "auth", "token"], text=True).strip() H = {"Authorization": f"Bearer {TOKEN}", "Accept": "application/vnd.github+json", "User-Agent": "curl/8.0"} def api(path): req = urllib.request.Request("https://api.github.com" + path, headers=H) with urllib.request.urlopen(req, timeout=25) as r: return json.loads(r.read().decode()) def cadence(full): # median/mean gap between star events; <0.2 over >=8 events means a scheduler ev = api(f"/repos/{full}/events?per_page=100") ts = sorted(datetime.datetime.fromisoformat(e["created_at"].replace("Z", "+00:00")) for e in ev if e.get("type") == "WatchEvent") if len(ts) < 8: return None gaps = [(b - a).total_seconds() for a, b in zip(ts, ts[1:])] return round(statistics.median(gaps) / statistics.fmean(gaps), 3) def assets(full): rel = api(f"/repos/{full}/releases?per_page=1") if not rel: return [] return [(a["name"], a["size"]) for a in rel[0].get("assets", [])] repos = api("/search/repositories?q=created:>2026-11-19+stars:>50" "&sort=stars&order=desc&per_page=30")["items"] sizes = defaultdict(list) for r in repos: full = r["full_name"] ratio = cadence(full) flags = [] if r["stargazers_count"] >= 500 and r["forks_count"] <= 2: flags.append("stars/forks") if ratio is not None and ratio < 0.2: flags.append(f"cadence={ratio}") for name, size in assets(full): sizes[size].append(full) print(f"{r['stargazers_count']:>6}* {r['forks_count']:>5}f {full:52} {' '.join(flags)}") # assets whose byte sizes collide across different repos = one archive, many names for size in sorted(sizes): near = [s for s in sizes if abs(s - size) <= 64] group = {o for s in near for o in sizes[s]} if len(group) > 1: print("payload cluster:", near, "->", sorted(group)) Run it and you get the same numbers I did — the six, plus whatever the next campaign is, because this pattern has been running for months and the interval barely changes.
Why this matters beyond one bad week
Trending pages are how people find libraries, and "1,200 stars" is doing a lot of work in that decision. When a star count can be bought, the count is a claim and the artifact is a fact. Prefer measurements taken from the thing itself — how the bytes are made, how the events scatter — over measurements taken from attention.
The corollary is uncomfortable if you build aggregators: if your pipeline sorts by stars, your pipeline is sortable by anyone with a timer. Three cheap checks, all from public endpoints, all stdlib, and none of them require trusting a README.
Other diagnostics in this series (process timeouts, clock calibration, write durability, idempotency) live at github.com/Felixwang007/awesome-content-tools. Smaller single-purpose checkers are on 虾评.
