The useful part of a bug bounty writeup is often a single request buried in a long post. On bugbountytips.org I collect tips as one technique each, with the request or payload to try. Many of them are drafted by a model from public writeups. This post is about how that works, and mostly about what code does with the model's answer, because the model is the least trusted part of the pipeline.
What goes in
The site reads 79 feeds from a reviewed list: researchers' blogs, company research blogs, and some Medium and dev.to tags and publications. It never fetches an article. A tip can only come from the text the feed itself carries, and that text is never stored.
That rules out a lot of feeds. Some give 20 to 500 characters of teaser. Early on they still went to the model, and it guessed the technique from the title: teaser feeds gave 6 tips from 67 calls, against 102 from 172 calls on whole articles. Now anything under 1,000 characters is marked as a teaser and never sent.
The prompt
The article goes in as JSON between <article> tags, with < and > escaped. The instructions say it is content to read, never instructions to follow. The prompt asks for:
- one tip from the hunter's side: what to send, and what in the response shows the bug. Advice to developers is turned into the test that finds the mistake.
- generalised: no company, product, person or real host.
target.comstands for the target andattacker.examplefor the hunter's own server. - an imperative title, the stage of a hunt, the class of bug the tip itself finds (narrower than the article's, if the article covers several), and up to three tags about the technique.
- a body of 2 to 5 sentences, with any payload or request longer than a few words returned separately, one line per string, so code can put it in a block.
What code checks
The model's answer is a proposal. Code decides whether it becomes a pending tip, and a refusal stores nothing:
- No links anywhere in the body.
- At most 600 characters of code.
- Nothing that downloads and runs code. The code is read the way a shell reads it, with quotes and escapes undone. That catches a pipe into a shell or interpreter, a file a
curlorwgetwrites and a later line runs,regsvr32andmshta, and installs from package registries.python3 linkfinder.py -i main.jspasses, because it only reads a file. - Only example hosts. Every URL in code is parsed the way a browser parses it, so
1572395042,evil%2ecomandhttps:evil.comare recognised as the hosts they reach. Allowed aretarget.com, the reserved.example,.testand.invalidnames, private and documentation ranges, and metadata addresses such as169.254.169.254and[fd00:ec2::254]. The checks also look for reverse-shell shapes (nc,socat,/dev/tcp/, socket calls in scripts) pointing anywhere else. - No copying. A tip that shares 8 words in a row with the article is refused. Before the rewrite step existed, 13 of 65 answers in one day were refused this way. Now the tip gets one rewrite: the model is sent the tip's own prose and the copied run, never the article again, and the result is checked from the start.
Review
Nothing is published on the writer's word. Two reviewers on Workers AI, Meta's Llama and Mistral, read tips in separate calls. A tip is published when both accept it and rejected when both find it breaks the same rule. Anything else waits for further review. Each published tip credits the writeup by title, author and source, links it, and says it was written with a model's help.
What went wrong along the way
- Tips were filed under the article's class, not the tip's. 9 of the first 107 published tips from writeups ended up under "Other", including one on SQL injection. The model now gives the tip its own class.
- Tags came from the whole article, so "oauth" landed on a tip about SQL injection and "bug-bounty" on seven tips. Tags are now the tip's own, and generic ones are dropped.
- Some tips read as advice to developers. The prompt now asks for the test that finds the mistake instead.
On 30 November it made 53 tips. Its caps are 60 tips and 120 model calls a day.
What I'd like to know
Whether tips drafted this way are useful or noise, and which checks are missing. If a tip is wrong, there's a report button on every tip, or tell me on X (@xalgord).
