Inspiration
In 2025, fewer than 5% of the security reports curl received were real vulnerabilities, down from more than 15% in earlier years, and curl ended its bug bounty on 2026-01-31 (source). Each report involves 3 to 4 people on the curl security team, usually for about 30 minutes and sometimes up to three hours (source). Part of that time goes to opening files to see whether the function, the line and the quoted code in a report exist at all. A program can do that part and show its work.
What it does
You give ReportCheck a report. It pulls out every claim git can answer: file paths, file:line references, GitHub links, function names, quoted source code, curl versions, commit ids and CVE ids. It checks each one at the version the report names, the last release before the report date, and the main branch on that date. You get a table of FOUND, NOT FOUND, PARTIAL and CANNOT CHECK, and every row keeps the git command and its output so you can re-run it.
| What it answers | Can you check the answer? |
|---|---|
| Does the named file exist at that version? | Yes: the row shows the git ls-tree match |
| Does line N exist, and what is on it? | Yes: the row shows git show output |
| Is the function in the file the report names? | Yes: the row shows git grep hits |
| Is the quoted code really in the source? | Yes: each quoted line with its file and line |
| Is the bug real? Who wrote the report? | Not answered |
It does not guess who or what wrote a report, and it never rejects one.
The demo page holds 136 public curl HackerOne reports. Pick one, press "Check this report against curl", click a row to see the evidence. The page replays results produced by the command line tool, so there is nothing to install and no key.
In a GitHub repository, examples/reportcheck-issue.yml runs ReportCheck when an issue gets the label security-report and posts the same evidence table as a comment (python -m reportcheck report.md --repo . --markdown).
How we built it
Python standard library and git, nothing else. Regular expressions extract the claims; git ls-tree, git show, git grep and git cat-file check them. Quoted code is matched line by line against every source file at the revision, with whitespace ignored. The demo page is plain HTML, CSS and JavaScript reading one data file built from the evaluation output. 24 unit tests build a small git repository at test time.
Evaluation
Data: curl security reports that curl disclosed publicly on HackerOne, used for research and evaluation only, not commercially. 49 reports from the curl maintainer's public list of reports he judged to be AI slop, and 87 reports that curl links from its own advisories, all created from 2023-10-10 on. The labels are curl's. Emails, @handles and personal names are removed from the stored text. We tuned the extraction rules on a dev split only, froze them at a git tag, then ran a 52-report holdout once.
- What it confirms. In the 87 real reports, 619 of 638 checkable claims (97.0%) were found outright, each with its file and line, at about 0.35 seconds per claim. Median time per report on the holdout: 2.51 s for real reports, 0.43 s for invalid ones.
- How often its NOT FOUND is right. We read all 24 NOT FOUND claims by hand. 9 were right (37.5%): 6 of 12 in invalid reports, 3 of 12 in real ones. The errors were the reporter's own files, code from other projects and curl code with added comments. On real reports the checker's false alarms were 9 of 638 claims (1.4%). Read the evidence before acting on a NOT FOUND.
- Where it stops. It is not a detector. On the holdout, reports with a NOT FOUND claim were 4 of 18 invalid and 5 of 34 real, which does not separate them. Most invalid reports cite code that really exists and are wrong about what it does, which no lookup can check. A model-only control (a model reading the report text without the repository) was designed but not run, because this project has no API key; no number is given for it.
- Noticed after the run, not tested. 8 of 49 invalid reports (16.3%) made no checkable claim, against 7 of 87 real ones (8.0%).
Challenges we ran into
- Reports are full of code that is not the project's: proof-of-concept programs, suggested fixes, ASan logs, pseudo-code. Early versions flagged half of the real reports because of it. We added rules to skip those blocks and sections, using the dev split only.
- Branch links go stale. A GitHub link to
masterfrom 2025 points at a file that has since been removed, so branch names are read as of the report date. - Many real reports cite code from a version other than the one they name, so each claim is tried at several revisions.
Accomplishments that we're proud of
- Every result on the page comes with the git command and its output.
- An evaluation on public data with a frozen holdout and a hand check of every NOT FOUND, including the numbers that do not flatter the tool.
What we learned
Most invalid reports cite code that really exists and are wrong about what it does. Looking up facts cannot catch that, so ReportCheck saves the lookup time and leaves the judgment to the maintainer.
What's next for ReportCheck
Cut the checker errors we found by hand (reporter-owned files, code from other projects); test the "no checkable claim" observation on a fresh set; profiles for projects other than curl.
Tools and AI used
- Claude Code (Anthropic) helped write the code and the text during the hackathon.
- ReportCheck calls no model at run time and needs no API key.
- No model was called during the evaluation either; the planned model-only control was not run because this project had no API key.
- Data: curl's public HackerOne reports, curl.se/docs/vuln.json, the curl git repository.
Built With
- css3
- git
- github-actions
- html5
- javascript
- python