Posts Nobody wants your supply-chain bugs
Post
Cancel

Nobody wants your supply-chain bugs

You’ll have bad times, but it’ll always wake you up to the good stuff you weren’t paying attention to.

— Good Will Hunting

It takes a bad time to make you look hard at the thing you walked past a hundred times. For us, that thing is the sum of all the code our software is built on, and we are remarkably good at not looking at it. We’ve all sat through the keynote: someone says “software supply chain” in the voice reserved for funerals, clicks to a slide of one bad package fanning out into ten thousand builds, and the room nods along. Then we go home and do nothing about our own version of it.

The slide isn’t hypothetical. A few weeks ago, a backdoored build of LiteLLM went up on PyPI and Docker Hub, and for a couple of hours it ran credential-stealing malware on install. That was a hijacked publish: a real maintainer’s account turned against the people who trusted it. The quieter version doesn’t need a stolen account. This past May, Microsoft caught a campaign of npm packages that impersonated companies’ own internal dependency names and executed the moment someone ran npm install. The names were simply unclaimed on the public registry, and someone claimed them first. That is the class of bug I went looking for. I built automation to watch public repositories for dependency names that resolve to nothing, and six months in it has turned up over 800 cases across some 400 organizations.

Will in Good Will Hunting, locked in, staring down a problem

Why are these bugs still so common when we’ve all agreed they’re a major breach vector? Reporting them through bug bounty programs, I’ve watched the answer show up two ways. First: most companies make the issue disappear without fixing it, whether they ignore the report or agree it’s real and close it anyway. Second: those that do engage pay you in points or route you to an unpaid track, turning the acknowledgement into its own dismissal. One problem, two symptoms: the rest of this post is the receipts.

Sitting on a winning lottery ticket

I won’t get into how I find these, because the how isn’t the point. Take any way software declares a dependency: a requirements file, a manifest, a lockfile, a Dockerfile. Somewhere in there is a name, resolved against a public index at install time. If the name points at nothing on that index, anyone can usually register it, and whoever does decides what code runs the next time the project is installed. That’s the whole trick.

Back in 2021, Alex Birsan pulled this move and ran his own code inside Apple, Microsoft, PayPal and dozens of other household names, collecting six figures in bounties for it. But there’s a catch: Birsan got paid because he actually ran the code, and nobody argues with a callback from inside Apple. Registering the name and executing inside someone else’s build is the attack itself, exactly what PyPI’s acceptable-use policy forbids. So the one proof a triager asks for is the one you can’t produce at scale without becoming the attacker yourself. A winning ticket you’re not allowed to cash.

What I flag to bounty programs instead is simpler: a 404 on the public index for a name the project installs. That proves it resolves to nothing and, in most cases, that any stranger could claim it. It’s a public fact anyone can check, not my say-so. Triage wants more. “Show us impact” quietly becomes “go hijack it first,” and the report closes as informative.

I expected to find some missing packages. I found a lot, and the victims are strikingly respectable:

  • Official SDKs
  • Internal tools that leaked into public repos
  • Sample code vendors publish specifically so customers copy it, install instructions and all
  • Projects with a company logo in the README and thousands of stars under it

One representative case: an official open-source SDK from a major vendor, thousands of stars, the vendor’s name right on the package. A dependency it installs at setup time isn’t registered on the public index. It sits in the credential path of everyone who follows the official instructions. Nobody here is stupid. The exposure hides in boring places: a dependency list never gets the review auth code does. Every application you ship is a thin skin of your own code stretched over a tower of open-source packages nobody on the team has reviewed, trusted on sight. The fun part is what the industry does when you hand it that hole, spelled out, reproducible, with the fix attached.

Your move, chief

Some bounty programs are great: fast, fair, paid. But the median experience of reporting a live supply-chain bug to a large company is a slow, faintly insulting dance I’ve completed enough times to name the moves.

1. The silent close. You file a clean, reproducible report. It closes with no human ever explaining why. One program marked a live finding as spam the day it landed. You cannot appeal a shrug.

2. The informative downgrade. The report is accepted as true and declared not worth acting on. The case I mentioned above went this way, waved off on the strength of a developer-tooling config that redirects the dependency locally. That redirect never ships; it does nothing for the published package or the script their README tells users to run.

3. The quiet fix, then the close. A crypto-infrastructure company had a squattable package name in a published manifest on its main branch for over a month. After I filed, they patched it (the commit message calls out removing a registry dependency), then closed my report as a duplicate. Their own commit proves the bug was real.

4. The scope shell game. “That repo isn’t in scope.” “Sample code isn’t covered.” “That’s a different business unit.” Meanwhile the repo is under the company’s GitHub org, carries its branding, and ships the install instructions customers follow. The strangest version is the open-source carve-out: companies put their public repos out of scope, as if code they publish for the whole world to install is less their problem than the code behind the firewall.

5. The mitigation that isn’t. Someone points at real config and says “we’re protected, see.” And they are, from one angle: the workspace override protects local development, the private index is configured on the machines that have it configured. None of it follows the artifact out the door. “Resolves safely in our repo” is not “resolves safely everywhere this ships.”

The 800 is what the tooling has found so far, not what I filed. What I did file came to 98 reports covering 141 distinct bugs, with eight paid bounties in the whole pile. Here’s the scoreboard:

Horizontal bar chart of 141 supply-chain bugs by company, eight paid (green): Amazon (55) and Microsoft (34) lead and paid nothing; the only green bars are Intel, Google, Snowflake, Elastic, and Goldman Sachs

A few reports carry dozens of bugs at once, the Amazon ones especially, which is why the chart counts bugs, not reports. Most of Amazon’s 55 are in sample code AWS publishes so customers paste it into their own stacks, and I wouldn’t paste any of it into production myself.

Will in Good Will Hunting grinning through the bar window: "How do you like them apples?"

This isn’t one company having a bad week. Microsoft worked through 34 bugs and paid for none, several stamped out of scope by a human who’d first agreed they were real issues. Google was more honest and more damning: of 21, it marked 16 working as intended, a deliberate click on the button that says the software behaves exactly as designed.

Zoom in on the bounty platform where I filed the most and you can watch it happen one verdict at a time:

Horizontal bar chart of 35 reports on one bounty platform by outcome: mostly informative, not applicable, or resolved with no bounty, and only 3 paid (green)

The most common outcome isn’t “fixed” or “rejected,” it’s informative. Yes, it’s real; no, we won’t do anything. Add up the ones never acted on (informative, not applicable, still open, spam): 23 of 35.

The paid cases are the exception, and they don’t cluster on any one platform. Intel paid me for this class four times on its own program, half of all eight bounties. Snowflake, Elastic, and Goldman Sachs read the same kind of report, promptly agreed, fixed it, and paid. Same finding, same reporter, opposite answer from the giants up top. The bug is always worth something; whether anyone pays comes down to who’s on the other end of the form.

Notice what none of the five moves above is: an honest “the bug isn’t real.” The dismissals aren’t about truth. They’re about appetite: a triage slot or a payout the company would rather not spend. That’s the first symptom, and it’s the loud one.

That’s the good stuff

To be fair to the platforms, bug bounty is in a hard spot, and some people run it well. AI turned intake into a firehose: anyone can point a model at a target and generate a plausible report in seconds. The platforms are trying different fixes:

  • Intigriti caps you at three active submissions, platform-wide. Annoying when a slow program sits on a slot, but it makes me mind my own signal-to-noise. You don’t spray low-effort reports with three chips on the table.
  • Cantina asks for money up front. It works because they’re fast: a small stake filters out the drive-by volume and you get it back with a quick decision.
  • HackerOne keeps the front end light and lets triage carry the weight, ordering reports by severity and reporter signal and running agentic validation to clear duplicates and out-of-scope noise before a human sees them.

Sean in Good Will Hunting, with a small smile: "That's the good stuff."

The one thing they all get wrong: triage is still too slow. AI handles the intake filter that protects the program’s inbox, but actual triage, where a human decides whether your finding is real and what it’s worth, still moves at the old pace. A first response in a day, the real decision three months later, a couple of mine still in limbo after six months. We automated the half that protects the program and left the half that respects the reporter’s time untouched.

Even the good ideas bite back. Three reports stuck with one slow company fill every Intigriti slot you have. Now a critical bug at an unrelated company has nowhere to go: Company A’s triage queue is rate-limiting your disclosure to Company B. The attacker is not waiting in line.

Some programs skip the slow half and just quit. Intel, four-for-four on the scoreboard above, suspended its paid bounty this September, amid a flood of AI-generated reports, and now runs disclosure only. The best actor in the whole story turned off the incentive.

But “AI slop” stops being an excuse the moment a recognized vulnerability class lands reproducible, verified, and hand-delivered, and still gets waved off as out of scope. You don’t get to say the firehose is drowning the signal and then decide the clean signal wasn’t worth getting wet for.

Why shouldn’t I work for the NSA?

Plenty of findings get ruled out before anyone reads them. Crypto is the clearest case: Immunefi and the like are built around on-chain risk, the protocol math and fund-draining bugs that pay six figures. Hand them a CI or supply-chain bug in the same project, the one that owns the pipeline shipping those very contracts, and suddenly it’s out of scope. It doesn’t take much imagination to see where that goes. In December 2023 an attacker pushed a malicious version of Ledger’s Connect Kit, loaded by countless crypto dApps, and drained roughly $600,000 from users’ wallets. Not a smart-contract flaw. A compromised package in the delivery path, the category these programs wave off.

Out of scope still beats no front door at all. Some large organizations, Oracle among them, have no paid program, only a security inbox to email. Beyond the 98 I filed, another 60-odd sit in a folder I’ve never sent, because sending would mean a scavenger hunt for where the report even goes. Half that folder is security vendors and big tech: the people who sell the supply-chain story and give you nowhere to report one of their own. I have a day job. Give me a two-click form and I’ll file it.

There’s a scene where Will, asked why he won’t take an NSA job, talks himself out of it in real time: crack a code, people he never met die, a kid from his neighborhood ships out to pay for it. He decides they haven’t earned it. An unclaimed package name isn’t classified cryptanalysis, but the reflex is the same: you don’t pour unpaid, specialized effort into an institution that couldn’t be bothered to leave a light on.

A dollar fifty in late charges

The second symptom is quieter, and it wears down the will to keep doing the work. Many companies do engage: they read the report, agree, sometimes even fix it, and then reroute it out of paid scope into a Vulnerability Disclosure Program. A bounty pays you; a VDP thanks you. Same report, same fix, same company measurably safer, and the only thing that changed is whether anyone opened a wallet.

Amazon runs both at once: a well-funded paid bounty and a separate unpaid disclosure track on the same platform. I’ve sent a stack of findings into the unpaid track; they fixed plenty and paid for none, unless you count hundreds of dollars of Amazon swag-store credit, which I don’t. Microsoft pulls the same move: true positives it rules ineligible earn leaderboard points, spendable only on branded clothing nobody asked for.

Teach researchers that the going rate for a live supply-chain bug is points and store credit, and the rational ones stop looking. I mostly have. Every researcher who makes that call takes a batch of real bugs off the reporting path. The bugs don’t stay hidden: the attacker still finds them, and was never going to file. The company clears its queue, loses the security, and never connects the two.

Whose fault is it?

Both symptoms trace to one root, and it isn’t villainy. The incentives point backwards. The company that can close one of these holes in an afternoon is almost never the one that pays when it’s exploited; that bill lands downstream, on whoever ran the official install. And compliance pulls the wrong way. A SOC 2 audit asks whether you encrypt data at rest; it has no checkbox for a one-command supply-chain hole anyone on the internet can take.

Nothing outside the company pushes back on that math. No insurer is pricing the open namespace. When being wrong is free, “accept the risk” beats “fix the risk” on every spreadsheet that matters. At scale, one unclaimed package is a rounding error to the company and a foothold into ten thousand builds for everyone else. The defender has to cover every name. The attacker needs one.

The registries aren’t standing still, but almost everything they’ve added hardens the publish side: two-factor auth, trusted publishing, scopes you can reserve. The unclaimed-name gap, the one a stranger walks through, isn’t theirs to close. It’s a shared-responsibility model, and the consumer’s side is the part nobody is doing.

Every fix also adds friction, and modern engineering is organized to strip friction out. When the pitch is idea to prod in an afternoon, a step that slows the build reads as drag. The AI assistant makes it worse, inventing package names that don’t exist until someone registers one to catch whatever installs it.

The fix is boring:

  • Catch unclaimed names before a stranger does. The same scan that found 800 of these from outside belongs inside your own pipeline: resolve every dependency name against the public index your installs fall back to, and fail the build when the name is claimable. It’s a CI job, not a research project. If you generate an SBOM, you’re halfway there.
  • Put supply-chain findings in scope of bounty programs, and actually fix them. Treat them like the real bugs they are.
  • For bounty programs: point the AI you already trust for intake at triage too, so real reports get a decision in days or weeks, not months.
  • If you’re large enough to have a keynote’s worth of opinions about supply-chain security, be large enough to have a doorbell paid bounty program.

If you’ve done this work, you know the scene:

Sean in Good Will Hunting holding Will by the shoulders: "It's not your fault."

The slide is right. We just leave the door open.

This post is licensed under CC BY 4.0 by the author.