Turning bug bounty writeups into one-technique tips, and the checks a model's output has to pass

2026-12-01来源 dev.toEnglish

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.com stands for the target and attacker.example for 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 curl or wget writes and a later line runs, regsvr32 and mshta, and installs from package registries. python3 linkfinder.py -i main.js passes, because it only reads a file.
  • Only example hosts. Every URL in code is parsed the way a browser parses it, so 1572395042, evil%2ecom and https:evil.com are recognised as the hosts they reach. Allowed are target.com, the reserved .example, .test and .invalid names, private and documentation ranges, and metadata addresses such as 169.254.169.254 and [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).

原文:https://www.a8q9.cn/en/article/turning-bug-bounty-writeups-into-one-technique-tips-and-the-checks-a-model-s-out-18645c.html

相关文章