Skip to content

Data handling ​

What Phantom keeps, where, for how long, how it is protected, and how access is recorded. Use it to answer a client's data questions or to check Phantom against your own requirements.

Where data lives ​

Everything stays on the machine that runs Phantom; nothing is sent to Phantom's authors. Data leaves only when you send it: an export, a webhook, a model provider you configured, or a bug bounty platform you connected.

Datarun.pyDocker Compose
Database (vaults, traffic, findings, notes, reports, audit)SQLite file in the data folderpgdata volume (PostgreSQL)
Vault files, plugins~/.phantom/files, ~/.phantom/pluginsfiles, plugins volumes
Interception CA~/.ph-proxyca volume
Configuration keykey file next to the databasekeys volume, or PHANTOM_CONFIG_KEY

Residency is the machine in front of you: Phantom is not deployed to a server.

Retention ​

DataKept
Captured trafficby the retention policy (count, body size, age per vault; annotated requests kept); Proxy › Settings
Scansby the scan retention setting
Audit trailnewest 20,000 rows and the last 90 days, removed in whole sealed blocks
Webhook deliveriesnewest 200 per webhook
Notificationsread 30 days, unread 90
Everything elseuntil you delete it; deleting a vault deletes its data

Encryption ​

  • In transit: the interface and API listen on loopback; webhooks to other machines must use https; model providers and platforms are reached over https unless you configure a local one.
  • Secrets at rest: provider keys, platform tokens, webhook secrets and session profile values are encrypted with the configuration key (Fernet). Keep a copy of the key: without it they cannot be read.
  • Everything else at rest is stored as written. Encrypt the disk or volume (for example LUKS, BitLocker, an encrypted cloud volume) when a client requires encryption at rest.

Access logging ​

  • Every agent, model provider and development-mode operation, and every change to tokens and connections, is in the audit trail, sealed so changes can be detected, with export.
  • Active testing decisions (allowed and refused scans, sends and attacks) are recorded with the actor and the policy version (engagement rules).
  • Findings keep a history of who changed status, severity, scoring, deadlines and risk acceptances.
  • Credentials are masked in what agents read, in exports by default, and in webhook payloads.