# Findings

A finding is a security issue you can stand behind: what is wrong, where,
how severe it is, how to reproduce it, how to fix it and what proves it.
Findings are recorded per target, triaged through a fixed set of states,
and are the building blocks of every report. This guide covers how
findings are created, triaged and connected to the rest of the research.

## Where findings come from

- **Manually**, on the **Findings** page or a target's page, or with
  `POST /api/v1/vaults/{vault_id}/findings`. You choose the target and
  write the title, severity, description, affected URL and parameter,
  proof of concept, remediation, CVSS score, CWE and CVE.
- **From a scan.** When a signature matches during a [scan](./scans.md),
  the signature engine records a finding with the signature's name,
  severity, description, remediation and CWE, the first matching URL
  (without its query string) and the evidence described below. The
  finding keeps a link to its scan and its signature; deleting the scan
  keeps the finding.
- **From an agent**, through the `finding_create` MCP tool, under the
  `findings` grant.

## Fields

Whichever way a finding arrives (by hand, by an agent, from a scan or an
import), its fields take one form: a title without stray whitespace,
a severity and status from the lists below, CWE and CVE ids in their
standard spelling, a source and a confidence. The assets a finding
affects come from the asset inventory, which links each finding to its
host and URL when it syncs.

| Field | Notes |
|---|---|
| `target_id` | The target the finding is about; deleting the target deletes its findings |
| `title`, `description` | What the issue is, where, and what an attacker can do with it |
| `severity` | `info`, `low`, `medium`, `high` or `critical` |
| `status` | Triage state, see below |
| `affected_url`, `affected_parameter` | Where it is |
| `poc` | Proof of concept: the steps or request that reproduce it |
| `remediation` | Specific, testable steps to fix it |
| `cvss_vector`, `cvss_score`, `cvss_version`, `cvss_source` | Severity scoring, see below |
| `severity_rationale` | Why this severity: the evidence and impact it rests on |
| `assignee` | Who works on it: a name, up to 80 characters |
| `is_duplicate`, `duplicate_of_id` | Merged as a duplicate of that finding, see Duplicates |
| `cwe_id`, `cve_id` | Classification: `CWE-79` and `CVE-2024-12345` (other spellings of a number are read as these; anything else is refused) |
| `confidence` | How sure the evidence is: `tentative`, `firm` (default) or `certain`; changes are in the history |
| `source` | How the finding arrived, never changed: `scan`, `manual`, `agent` or `import` |
| `evidence` | Signature matches, for engine-produced findings |
| `bounty_amount` | The reward, once known |
| `scan_id`, `signature_id` | Origin, for engine-produced findings |
| `reported_at` | Set the first time the finding is marked reported, and kept if it is reported again |

## Severity scoring

A finding can carry a CVSS base vector. Its **CVSS** row in the
Overview tab shows the score, the vector, its version and where the
score came from:

- **v3.1**: pick the eight base metrics and the score is computed from
  the vector with the specification's weights and round-up, in the
  interface as you pick and again on the backend when saved
  (`cvss_source: computed`). A score sent with a v3.1 vector must match
  the computed one, or the change is refused.
- **v4.0**: pick the eleven base metrics and the score is computed with
  the specification's macro-vector method, in the interface and again
  on the backend (`cvss_source: computed`). Threat (`E`) and
  environmental metrics (`CR`, `IR`, `AR`, `MAV` to `MSA`) can follow
  the base ones and take part in the score; unset ones count as the
  worst case, as the specification says. Supplemental metrics are kept
  in the vector and never change the score. A score sent with a v4.0
  vector must match the computed one.

When the score's rating (low below 4, medium below 7, high below 9,
critical from 9) differs from the finding's severity, **Set severity**
applies it in one click; severity is never changed on its own. Through
REST, send `cvss_vector` in a create or
`PATCH`; `cvss_vector: null` removes the vector and score. A
`cvss_score` without a vector is still accepted as a plain note, with no
version.

### CVE enrichment

When a finding names a CVE, its overview shows published data about
that CVE, beside your own score:

- **CVSS 4.0 and 3.x from NVD**, with their vectors;
- **EPSS**: the probability that the CVE is exploited in the next 30
  days, and its percentile among all CVEs;
- **CISA KEV**: whether CISA lists the CVE as known exploited, since
  when, and whether ransomware uses it.

This data describes the CVE, not your finding: it never replaces the
finding's score or severity, and a finding without a CVE gets none. It
is read once a day and kept per CVE, so findings that name the same CVE
share it. **Refresh** reads it again. If one source cannot be reached,
the others are still shown and the missing one is named. Fetching is
for you only; agents see what was already read
(`GET /findings/{id}/cve?refresh=`).

## Remediation

When a finding is validated or reported, it gets a **remediation due
date** from its severity, unless it already has one:

| Severity | Due in |
|---|---|
| critical | 7 days |
| high | 30 days |
| medium | 90 days |
| low | 180 days |
| info | no date |

Change the date in the finding's **Fix** tab, or with `remediation_due`
on `PATCH /vaults/{id}/findings/{finding_id}`. An open finding past its
date is **overdue**: it is marked in its panel, and
`GET /vaults/{id}/findings?overdue=true` lists them.

### Risk acceptance

When a finding will not be fixed in time for a good reason, **Accept
risk…** records an exception: why, who approved it, and until when (after
today, at most a year away). While it is in force the finding is not
overdue; when it ends, the finding counts again and its panel says the
acceptance ended. **Revoke** ends it early. Accepting and revoking are
recorded in the finding's history and are yours only; agents can read
whether a risk is accepted but cannot accept or revoke one.

## Standards

A finding with a CWE shows the standards it relates to, in its panel and
under its references in report exports:

- the **OWASP Top 10:2021** category whose published CWE list includes
  it (for example CWE-79 is A03:2021 Injection);
- for categories that name an attack type of **PCI DSS v4.0 requirement
  6.2.4** (injection, access control, cryptography, business logic, data
  structures), that requirement with the related attack type.

These are cross-references that help readers place a finding. A mapping
says which category a weakness belongs to; it never states that anything
is compliant or certified, and the export words it as "Related".
Findings without a CWE, or with one outside the lists, show none.

## History

Every change of a finding's status, severity, CVSS or severity rationale
is kept with the values before and after and who made it (user or agent;
bulk triage too), in the Timeline tab with the recorded, reported and
last-updated times, newest first (`GET /findings/{id}/history`, MCP
`finding_history`). A change to the same value adds nothing; the
history is deleted with the finding. The rationale is written in the
Overview tab under **Why this severity**.

Retesting a finding starts a new scan of its target from the row menu or
the inspector (**Re-test**); if the issue is back after it was resolved,
set it to `reopened`. Remediation steps are kept in the Fix tab.

## Import and export

**Export** on the Findings page downloads the findings the severity,
status, assignee and search filters select (the backend search matches
title and URL) as JSON, CSV or SARIF 2.1.0, under the export redaction
policy: `redact` masks credentials in every text (title, description,
PoC, remediation, URL, parameter, evidence), `reveal` keeps them, `ask`
needs a choice per export. CSV cells a spreadsheet would run as a
formula start with `'`. `GET /findings/export?format=&severity=&status=
&assignee=&search=&target_id=&reveal=`; headers `X-Phantom-Redacted`
and `X-Phantom-Entries`.

Before anything is written, **Export** opens a review. It shows how many
of the selected findings carry credentials, of which kinds (bearer token,
cookie, password, ...), in which fields, and which findings they are.
A masked export says that these will be masked. An export as recorded,
when the policy allows it, names how many credentials will leave the
machine and needs an explicit tick before it runs
(`GET /findings/export/review` with the export filters; nothing is
exported).

**Import** reads the same formats. Paste or open a file, choose a
default target, preview (nothing is saved), then import. Every row needs
a title and a target: its `target` column (an identifier of this vault),
else the host of its URL, else the default target; targets are never
created. Rows whose duplicate key matches a finding already in the vault
are counted and not created again, so importing an export changes
nothing. `POST /findings/import` `{format, content, target_id?,
dry_run}` (at most 5 MB and 5,000 rows) returns rows, valid, created,
existing, the skipped rows with reasons and a preview. Import and export
are user actions.

### Results of other scanners

**Import** also reads the results of two scanners you ran yourself:

- **Nuclei**: JSON lines (`-jsonl`) or a JSON list. Each result becomes
  a finding with the template's name, severity, CWE, CVE, CVSS vector
  and remediation.
- **ZAP**: the traditional JSON report. Each instance of an alert
  becomes a finding (at most 50 per alert) with its parameter, the
  confidence ZAP gave it, and the evidence. Alerts ZAP marked as false
  positives are left out.

The format is detected from the file. Each finding keeps where it came
from: its source is `import:nuclei` or `import:zap`, and its description
names the template, matcher or rule. A result whose URL is outside the
vault's scope is refused with the reason and never imported: another
tool's output never widens what you may test. Phantom only reads these
reports; it does not run the tools.

### Mapping

JSON (`{findings: [...]}` or a list) and CSV (one header row) use the
same columns: `id`, `target`, `title`, `severity`, `status`,
`cvss_score`, `cvss_vector`, `cwe_id`, `cve_id`, `affected_url`,
`affected_parameter`, `description`, `remediation`, `poc`, `assignee`,
`created_at`. JSON exports also carry `signature` and `evidence`. On
import, column names ignore case, spaces and dashes; unknown columns are
ignored; `severity` defaults to `info`, `status` to `new`; `cwe_id`
accepts `79`, `cwe-79` or `CWE-79`; a CVSS vector is checked as when
recording by hand.

| Phantom | SARIF 2.1.0 (export) | SARIF (import) |
|---|---|---|
| title | `message.text`; the rule's `shortDescription` | `message.text`, else the rule's short description |
| signature, else title | `ruleId` and a rule in `tool.driver.rules` | `ruleId` named in the description |
| severity | `level`: critical and high `error`, medium `warning`, low and info `note`; `properties.severity` | `properties.severity`, else `properties.security-severity` (9+ critical, 7+ high, 4+ medium, above 0 low), else `level` (`error` high, `warning` medium, `note` low, `none` info) |
| affected_url | `locations[0].physicalLocation.artifactLocation.uri` | the same |
| cwe_id | rule tag `external/cwe/cwe-79`; `properties.cwe_id` | `properties.cwe_id`, else a rule tag with a CWE number |
| id, target, status, CVSS, CVE, parameter, assignee | `properties` | `properties` (Phantom exports) |
| description | `message.markdown` | `Imported from TOOL, rule RULE.` |

## Duplicates

Findings are duplicate candidates when they are on the same target, come
from the same signature (or, recorded by hand, have the same title once
case and spacing are ignored), point at the same URL (scheme and host
case, a default port, a trailing slash, query values and the fragment
ignored; query parameter names still count) and name the same
parameter. The key is computed the same way every time
(`app/core/findings/dedupe.py`); nothing is merged on its basis alone.

When candidates exist, the Findings header shows how many groups there
are. The panel lists each group with the reason; the oldest finding is
kept unless you choose another (right click a row: open, keep, merge).
**Merge** marks a finding as a duplicate of the kept one: it keeps its
own data, its status becomes `duplicate`, and findings that pointed at
it point at the kept one, so a group is never more than one level deep.
A duplicate cannot be merged into. The inspector of a merged finding
says which finding it duplicates; **Split out** restores the status it
had before the merge (else `new`). Merges and splits are in the
history.

REST: `GET /findings/duplicates`, `POST /findings/{id}/merge`
`{into_id}`, `POST /findings/{id}/split`. Agents read candidates with
`finding_duplicates`; merging and splitting are user decisions.

## Assignment

A finding can be assigned to a name: in the Overview tab, for the
selected findings in the bulk bar (**Unassign** clears them), or by an
agent (`finding_update`, `finding_batch_update` with `assignee`; an
empty name unassigns). Names in use are offered as suggestions. The
Findings sidebar filters by assignee once any finding is assigned, and
`GET /findings?assignee=` (or `finding_list`) lists one name without
case, `-` the unassigned ones. Every change is in the history.

## Triage

| Status | Meaning |
|---|---|
| `suspected` | A lead that is not confirmed yet, such as a passive observation |
| `new` | Recorded, not looked at yet |
| `triaging` | Being investigated |
| `validated` | Confirmed as real |
| `reported` | Submitted to the program or client |
| `accepted` | Accepted by the program or client |
| `resolved` | Fixed |
| `reopened` | Was resolved, and a retest shows it is back |
| `duplicate` | Already known |
| `false_positive` | Not a real issue |
| `wont_fix` | Real, but will not be fixed |

The finding inspector on the Findings page has four tabs: **Overview**
(triage actions, tags and notes, description, origin), **Evidence**,
**Fix** (remediation) and **Timeline** (when the finding was created,
updated and reported). Validate and Mark reported are one click; every
change is saved on the backend and reaches other windows as an event.

The findings list is ordered most severe first, and can be filtered by
severity, status and target and searched by title and affected URL.
Right click a finding row (Findings page or a target's findings, or
Shift+F10 on it) to open it, set its status or severity, re-test it with a
new scan, copy its link (`[[finding:id]]`) or URL, attach it to the agent
conversation, or delete it (Del), confirmed in the row.

**Bulk triage**: Ctrl/Cmd+click toggles findings into a selection and
Shift+click selects a range, in the order shown. The bar above the list
sets one status or severity on all of them in one request
(`POST /api/v1/vaults/{id}/findings/batch` with `ids`, `status`,
`severity`, up to 500; agents: `finding_batch_update`). Marking them
reported records the report time of each once, as a single change does.

## Evidence bundle

**Evidence bundle** above the linked requests downloads one ZIP with
the finding and everything that backs it:

| File | Holds |
|---|---|
| `finding.json` | The finding's fields, as the finding export writes them |
| `evidence.har` | The linked requests and responses, oldest first |
| `captions.json` | Each request's caption, who linked it and when, and the SHA-256 kept at linking with whether the stored request still matches |
| `files.json` | The vault files attached to the finding: name, type, size and SHA-256 (contents are not included) |
| `manifest.json` | Format, time, Phantom version, whether secrets were masked, and the SHA-256 of every file above |

The export redaction policy decides whether credentials are masked, as
for every other export (`GET /findings/{id}/bundle?reveal=`).

## Evidence

Engine-produced findings carry the signature's matches: up to 20, each
with the URL, method, status code, the payload or payloads used and the
values the signature extracted, plus the total number of matches and the
signature id. The Evidence tab shows them.

For findings you confirm by hand, the evidence is the traffic itself.
In HTTP history, right click a request (or a selection) and choose
**Link to finding…**: search the vault's findings, add a note on what
the request shows, and pick one. The Evidence tab lists the linked
requests with their request line, status, caption and who linked
them. From the row menu, open one in HTTP history, **Preview here** to
see the request and response under the row (credentials masked until
revealed), **Edit caption**, copy the URL, or unlink it (the request
stays in the history). A request is linked once per finding (again updates the note),
at most 50 per finding; links go with the finding or the request. Agents
link requests with `finding_request_link`. REST: `GET|POST
/findings/{id}/requests` `{flow_id, note?}`, `DELETE
/findings/{id}/requests/{flow_id}`.

### Provenance

Evidence keeps where it came from. A finding records its source, who
made each change (history) and the Phantom version that recorded it
(`app_version`, on hover of Source). A linked request keeps who linked
it, when, the Phantom version and the SHA-256 of the whole exchange as
linked (method, URL, status, headers and bodies, length-prefixed); the
list compares it with the stored request (`intact`) and warns when they
differ. A captured request keeps its capture time. An attached file
keeps its name, size, SHA-256, type, pinned revision, who attached it,
when and the Phantom version.

A finding also keeps the vault's scope as it was when the finding was
recorded: the scope version, the rules, and whether its URL was in scope
then (`scope_version`, `scope_rules`, `scope_in`). A later scope change
does not rewrite them, so a finding recorded out of scope stays marked
that way. The Where section shows it (rules on hover).

Requests also count as evidence when the finding's text or a note about
it references them (`[[flow:812]]`). In [Report Studio](./reports.md) a
finding section takes linked requests first, then referenced ones, and
cites them by reference, so the report always shows the stored request
and response, redacted under the export policy. Files (screenshots,
logs, response dumps) are attached in the Evidence tab with their
revision pinned ([Files](../files/index.md)), and notes attach through
the finding's annotation and `[[finding:id]]` references.

## Connections

- **Annotations.** Findings take tags, a bookmark and a Markdown note,
  like flows and targets ([Annotations](./annotations.md)). Deleting a
  finding deletes its annotation.
- **References.** `[[finding:3]]` in a note or report body resolves to
  the live finding and shows up as a backlink
  ([Research notes](./notes.md#references)).
- **Assets.** Findings feed the vault's asset inventory with their
  affected hosts and URLs ([Asset Intelligence](./assets.md)).
- **Reports.** A report section stores only the finding's id. Its title,
  severity, status, classification, description, steps and remediation
  are read live, so fixing a finding fixes every draft that shows it; a
  final report freezes them in a snapshot ([Report Studio](./reports.md)).

## REST, events and MCP

| Operation | REST | MCP tool |
|---|---|---|
| List | `GET /api/v1/vaults/{vault_id}/findings` (`severity`, `status`, `target_id`, `search`) | `finding_list` |
| Create | `POST /api/v1/vaults/{vault_id}/findings` | `finding_create` |
| Read | `GET /api/v1/vaults/{vault_id}/findings/{finding_id}` | `finding_get` |
| Triage or edit | `PATCH /api/v1/vaults/{vault_id}/findings/{finding_id}` | `finding_update` |
| Delete | `DELETE /api/v1/vaults/{vault_id}/findings/{finding_id}` | `finding_delete` |

Changes are announced as `finding.created`, `finding.updated` and
`finding.deleted` on the vault's realtime channel. Agents need the
`findings` grant for the matching action, and results pass the user's
redaction policy ([Agent permissions](../agents/permissions.md)).

See [Data models](../reference/models/workspace.md#finding) for every stored field.
