Skip to content

Concepts ​

Phantom is a security research workstation that runs on your own machine. We built it for people who test web applications and APIs for a living or for bounties: penetration testers, bug bounty hunters, product security teams and the AI agents that work alongside them. This page explains the ideas the whole product is organised around, and how a research session moves from an empty vault to a finished report.

If you only want to run Phantom, start with Getting started. For how the pieces are built, read Architecture.

The problem we solve ​

Web security research produces a lot of material: captured traffic, modified requests, attack results, payload lists, notes, screenshots, findings and finally a report. In most setups that material is spread over separate tools, text files and chat windows. Context gets lost, evidence is copied by hand, scope is checked in someone's head, and an AI assistant sees either nothing or far too much.

Phantom keeps all of it in one place, as connected objects inside one vault, and enforces scope and permissions in the backend for every person and every agent that touches it. Why Phantom sets these choices against published research on LLM-assisted testing.

Vault ​

A vault is one research context: a bug bounty program, a client engagement or a lab. Everything Phantom records belongs to exactly one vault: traffic, targets, scans, findings, notes, tags, payload collections, Repeater tabs, comparisons, assets and reports. Switching vaults switches the whole workstation. Deleting a vault deletes what it owns.

Data never leaks between vaults. An object of another vault answers exactly like one that does not exist, for the interface, the REST API and agents alike.

Scope ​

Each vault carries scope rules: hosts that are in scope and hosts that are out of scope. A rule is an exact host (api.example.com), a *. suffix (*.example.com, every name below the domain but not the domain itself), an IP address or a CIDR range. Exclusions always win over inclusions, and patterns that would match more than written (such as *example.com) are refused when the vault is saved.

Scope is enforced by the backend, not by convention. It is checked when a target is created, when a scan starts, on replay, on every request a scan engine sends and on every agent call. Captured traffic is flagged in or out of scope, so the history can highlight or filter it. See Vaults and scope.

Research objects and references ​

Every piece of research is an object with a stable id: a captured request (flow), a target, a scan, a finding, a note, an asset, a payload collection, an Intruder attack, a Repeater tab. Objects refer to each other instead of copying each other.

In notes and report sections, a reference such as [[finding:3]] or [[flow:812|login replay]] resolves to the live object and shows up as a backlink on the other side. When the referenced object changes, every note and report that mentions it shows the change. When it is deleted, the reference reads as missing rather than silently pointing elsewhere. See Research notes.

Evidence ​

A finding without evidence is only a hypothesis. Phantom keeps evidence close to the claim it supports:

  • Captured and replayed requests are stored as the exact bytes that crossed the wire, with content codings intact.
  • Findings carry their proof of concept, affected URL and parameter, and the matches of the signature that produced them.
  • Report sections cite findings, evidence requests and notes by reference, and a final report freezes all of it in a snapshot that renders the same forever.

Provenance ​

Every object records where it came from. A flow is marked as captured by the proxy, sent from Repeater or replay, imported from a HAR file or saved from an Intruder attack, and as intercepted or edited when a person changed it in flight. Payload items remember whether they were typed, pasted, imported or selected from a captured request. Asset observations record which flow, target, scan or finding they were derived from. Notes and reports record whether the user or an agent wrote them, and keep their revisions.

Redaction ​

Captured traffic is full of credentials. Phantom masks secrets in every human-facing view, log line and copy action: authorization headers, cookie values, sensitive parameters and JSON fields, and common token formats. The stored data is never changed; revealing a value is an explicit, per-view action.

The same redaction runs on the server for everything that leaves the workstation: exports and downloads follow an export policy (redact, reveal or ask), and agent results pass a redaction policy that only the user can change.

Agents and permissions ​

AI agents are first-class participants, not an afterthought. An agent connects with a personal access token that the user issues for chosen vaults, with a grant set (read, create, update, delete, export or execute on resources such as traffic, notes, findings or testing) and an expiry. Every tool call is checked against those grants and the vault's scope, and recorded in an audit trail. Some actions are reserved for the user whatever the grant, such as issuing tokens or changing the redaction policy.

Agents reach Phantom through the built-in MCP server, and through the Agent Bridge for persistent conversations, tasks and approvals. Both call the same services as the interface, so a person and an agent always see the same vault.

A research session, end to end ​

  1. Create a vault for the program and write its scope rules. Add the targets you intend to test.
  2. Capture traffic. Start the proxy into the vault, trust Phantom's CA in a dedicated browser profile and browse the application. Every exchange lands in the vault's HTTP history, flagged in or out of scope. Capture filters and retention keep the history focused.
  3. Investigate. Filter and annotate the history with tags, bookmarks and notes. Hold and edit messages with Intercept. Send variations from Repeater, run payload positions with Intruder using your payload collections, diff responses in Comparer and unpack tokens and encodings in the Decoder. Signature scans add automated checks.
  4. Write it down. Keep hypotheses and observations in notes that reference the requests, targets and attacks they are about.
  5. Record findings with severity, triage status, proof of concept and evidence. See Findings.
  6. Map the attack surface. Assets are derived from traffic, targets, scans and findings, with provenance and relations. The backend and agent tools are available today; the interface is in progress.
  7. Report. Build a report in Report Studio from chosen findings and evidence by reference, review it, freeze it and export it as Markdown or a printable HTML page.

An agent can take part at any step, within the grants and vaults its token allows, and with secrets redacted unless the user decided otherwise.

Principles ​

  • Local-first. Phantom runs on your machine, listens on 127.0.0.1 by default and needs no cloud service. Your research stays yours.
  • Evidence-first. Claims are tied to the requests and objects that prove them, by reference, never by copy.
  • Scope-first. Authorisation is the basis of every action that sends traffic, and the backend enforces it for every client.
  • Reproducibility. Original bytes are kept, edits are recorded as edits, revisions and snapshots preserve what was seen and reported.
  • Research memory. Notes, references, backlinks and provenance keep knowledge from getting lost between sessions and between people.
  • Human and AI interoperability. People and agents work in the same context through the same services, each with the permissions they were given.
  • Nothing simulated. What the interface shows is real data from the backend. Features that are not built yet are marked as such.