# Report handoff

How Phantom gets a finding onto a bug bounty platform, and why it does
not write to the platform itself.

## What the platforms offer

HackerOne's Hacker API documents report intents: a draft kept on the
platform, which takes attachments and is turned into a report by a
separate submit call. Bugcrowd's Hacker API documents remote draft
submissions behind the `write:draft_submissions` scope, which its
Researcher Success team enables for eligible accounts only. Both are
write operations on the researcher's behalf.

## What Phantom does

Every adapter is read-only, and the accounts Phantom connects are
checked with read calls only. The actions a platform offers for the
current credentials are listed as the adapter's capabilities (account,
programs, program details, scopes, reports), and none of them writes.

A report is prepared locally instead (`ReportDraft`): one draft per
finding, started from the finding and checked live against the
program's latest scope snapshot and state, its evidence, steps, impact,
severity and any credentials left in the text. The draft becomes
Markdown with the evidence listed. The researcher copies it, opens the
program's submission page and submits there, then marks the draft
handed off, which records only that they said so. When their reports
sync, the finding links to the platform report and shows the
platform's own state.

## Why

- Submitting is a decision with consequences (duplicates, reputation,
  disclosure) that belongs to the researcher on the platform, never to
  a scan or an agent.
- A remote draft still needs the platform's own form for fields
  Phantom cannot validate (weakness taxonomy, asset picker, custom
  questions), so a remote draft saves little.
- Write access would widen what a stolen workstation token can do.

Remote drafts can be added for a platform when it grants the scope and
the user asks for it; they would stay drafts, created only by a user
action, and never submitted by Phantom.
