mirror of
https://github.com/elementalsouls/Claude-BugHunter.git
synced 2026-11-24 20:30:23 +01:00
* docs: design + plan for live disclosed-report body fetch (get_report) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * feat(mcp): add public get_report tool for live disclosed-report bodies New keyless read-only get_report(id|url): GETs reports/<id>.json and returns a whitelisted body + metadata subset, never the raw 51-key object. Thin/empty body yields a fallback note. _report_json helper mirrors _graphql error handling. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * docs(hunt): wire get_report precedent-fetch into active-testing step Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * fix(mcp): get_report bad input uses ToolError channel + ascii-digit guard Match the in-repo convention (every other tool raises ToolError for bad arguments, surfaced as a recoverable isError result); reserve InvalidParams for protocol-level errors. isascii() guard rejects unicode superscripts / other-script digits that str.isdigit() accepts but int() mis-handles. Adds url-variant parse tests; fixes stale spec prose to get_report(url=...). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * docs(plan): drop literal client shingles from leak-check example The plan's leak-check step hardcoded the banned client identifiers in a grep pattern, which the hash-based leak-guard (scan_identifiers) matched as real identifiers. Point the step at the guard script itself instead. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>