Kelly criterion for bug hunting?
A half-formed hunch: allocating research time across targets is a bankroll problem, and Kelly might be the right lens.
A captured spark. Unverified, unpolished, possibly wrong.
A seed, planted fast before it blew away. Possibly nonsense.
The Kelly criterion sizes bets to maximize long-run growth of a bankroll given your edge and odds. Security research has the same shape: my bankroll is attention, each target is a bet with some probability of a finding and some payout (bounty, knowledge, write-up), and I can size positions by the hours I spend.
Things Kelly would predict, if the analogy holds:
- Never go all-in on one target, even a juicy one (ruin risk = burnout + zero findings).
- Edge matters more than payout. A boring target where I have deep prior knowledge beats a glamorous one where I’m a tourist.
- Fractional Kelly (betting less than the formula says) is wise when your edge estimate is noisy, and my edge estimates are very noisy.
Suspicious wrinkle: research payoffs aren’t independent bets. Knowledge compounds across targets, which Kelly doesn’t model. Maybe that’s the interesting part.
Related muscle memory from web CTFs: rotating hypotheses on a timer is basically fractional Kelly for a single afternoon.
The compounding wrinkle is where this stops being a cute analogy and starts being useful. Kelly assumes each bet is independent and the bankroll only moves in dollars. Research breaks both. A week sunk into a losing target, no bounty, still pays out in edge: a new sink I will recognize next time, a tool sharpened, a clearer mental model of how that vendor thinks. So the real bankroll isn’t hours, it’s compounding skill, and a negative-EV bet on a brutal target can be positive-EV once you price in what it teaches. That is the opposite of gambling ruin. The same move that loses you money makes you harder to beat. quant-is-edge-and-survival is the same idea wearing a suit.
Which means the ruin condition has to be redrawn. In a real bankroll, ruin is zero dollars and it absorbs you: you cannot bet your way back from nothing. In research the absorbing state isn’t an empty wallet, it’s a fried one. Burnout, tilt, the afternoon you keep forcing the same dead hypothesis because you are too sunk to fold. Fractional Kelly protects the wallet; here it protects attention. Bet small enough on any one target that a goose egg doesn’t make you quit the game. That fold-on-tilt instinct is the same systems reflex behind the-attackers-mindset-is-systems-thinking: watch the loop you are in, not just the move in front of you.
Next action: re-read the Kelly chapter of Fortune’s Formula, then log a season for real. Per session: target, hours, prior confidence (a number, set before I start, no cheating), and the outcome in two currencies, bounty and learning. A season of that and my edge estimates stop being a hand-wave and become a distribution I can actually bet against. If the data is fun, this sprouts.
Paths that lead here
- The Birthday Ambush: Why 23 Strangers Hide a Secret Match · It's the same "count the pairs, not the people" reflex that runs underneath real-world odds: the expected-value math in kelly criterion for bug hunting, or the invisible-scoreboard puzzle in morality the invisible score…
- Learning in public · The growth stages on every note are an honesty mechanism: a seed makes no promises, an evergreen note stakes a reputation.
- The Invisible Scoreboard: How Do You Win at Being a Person? · (Weighing fuzzy "what's this actually worth?" bets is a craft of its own; watch bug-hunters run the expected-value version in kelly criterion for bug hunting.
- Quant isn't prediction, it's edge and survival · That's the math I already crashed into chasing bugs in the Kelly note: the right bet size isn't "however much I believe in it," it's the fraction that survives the variance and keeps compounding.
- Quant trading from zero, ADHD edition · Most of trading is betting math in a suit, and I already shook hands with that math in the Kelly note.
- The attacker's mindset is systems thinking · That's half of why I keep poking at quant ideas.
- You will never know enough, and that's the job · That's the Kelly logic: size by edge, not by FOMO.
Where this note points
- Quant isn't prediction, it's edge and survival · Two ideas hold up the whole field, and neither is a crystal ball: a tiny statistical edge run thousands of times, and not blowing up before it pays. The model I'm using so I stop treating the market like a fortune to be told.
- The attacker's mindset is systems thinking · Attackers don't break rules; they discover that the rules compose differently than the designers believed.
More from these beds
- The ADHD-HTB playbook: hacking the brain that hacks the box · Ten friction-bypassing study methods for grinding HackTheBox with an ADHD brain, plus the two of them I turned into real tools: a Swipe-to-Pwn Anki deck and an htb-operator shell.
- The Diamond Lock: Writing Notes a Future Robot Can't Read · Quantum computers will slice through today's internet locks like a laser through glass. Inside the race to build math even a future super-machine can't crack: public-key crypto, Shor's algorithm, and the diamond lock.
- Threat-modeling this garden · Eating my own dog food: a security person's website should survive its own methodology.