Adversary · Signature scan

# Small weaknesses, chained into *one attack.*

**Adversary is a separate scan beside the five coverage levels.** It reads the whole project from more than one attacker's point of view and reports multi-step attack paths, each step with its file and line.

[Get started](https://app.kelrova.com/register) [Compare plans](https://kelrova.com/pricing)

Pro and above

**northwind/payments-api** main Attack path · 3 steps · 3 files

1. src/routes/refunds.ts:142

   Where it starts Refund request accepts any amount from the client

2. src/auth/tenant.ts:57

   What it passes through Tenant check reads the tenant id from the request header

3. src/jobs/payouts.ts:88

   Where it ends Payout job pays the refund without a second check

Critical

Any signed-in user can trigger refunds for another tenant

Affects: All users

A signed-in caller can name another tenant in a request header, set the refund amount and have the payout job pay it out without a second check.

A sample attack path on a sample project, as an Adversary finding records it.

A drawing of the sample project northwind/payments-api on main: the folders src/routes/, src/auth/, src/jobs/, each step raised out of its folder, and one line running from step 1 through each step in turn to the Critical finding.

Levels and Adversary

## A list of weaknesses, or the attack they add up to.

A coverage-level scan already reads across files and backs each weakness with evidence. Adversary adds what a list can't show: the order the steps run in, and who the attack reaches.

**Coverage level scan** Quick to Full, five levels

### Findings, each with its evidence

Every weakness it can back with evidence, with the file, the line and a suggested fix.

- Refund request accepts any amount from the client src/routes/refunds.ts:142
- Tenant check reads the tenant id from the request header src/auth/tenant.ts:57
- Payout job pays the refund without a second check src/jobs/payouts.ts:88

Three separate items. Each would look minor alone.

- Follows each entry point into the code behind it, across files.
- From changed files to the whole project, at the depth you pick.

[Coverage levels](https://kelrova.com/scans/levels)

**Adversary** A separate scan beside the levels

### One attack path, in order

The same three steps, joined in the order they run, ending in the one finding they make together.

1. Refund request accepts any amount from the client src/routes/refunds.ts:142
2. Tenant check reads the tenant id from the request header src/auth/tenant.ts:57
3. Payout job pays the refund without a second check src/jobs/payouts.ts:88

Critical Affects: All users Any signed-in user can trigger refunds for another tenant

Adds **the order of the steps** and **who is reached.**

Pro and above [Compare plans](https://kelrova.com/pricing)

**Keep Standard for a first look at a project,** and add Adversary when you want attack paths rather than a list of weaknesses.

The finding

## Every step on record, and who it reaches.

- ### Every step on record

  The attack path lists each step in order, with the file and line where it happens.

- ### Who it reaches

  Each finding says whether it affects one user, one tenant or all users.

  - One user

  - One tenant

  - All users (this finding)

  The sample reaches all users.

- ### Fixed like any finding

  Go Fix, the button that opens a fix as a draft pull request, gets the whole chain, and so does a chat about the finding.

A drawing of the sample finding as the portal shows it: Critical, attack path in 3 steps, "Any signed-in user can trigger refunds for another tenant", affecting all users across 3 files, its steps in order with their files and lines, the summary, and Go Fix and Chat, which both get the whole chain.

The sample finding as the portal shows it.

The run

## Every run ends with its totals.

The run page gives the totals: attack paths reviewed and deferred, the candidates, and the findings it confirmed.

Totals from a sample run on the sample project.

Adversary scan northwind/payments-api main

**Attack paths reviewed**

38 of 42

38 reviewed 4 deferred

**Candidates**

6

**Confirmed findings**

2

- Critical Any signed-in user can trigger refunds for another tenant All users
- 1 more confirmed finding , in Findings

Fixed like any finding

## The chain travels with the fix.

Go Fix opens a draft pull request with every step attached, or your own agents take the chain in Studio. A re-check then confirms the fix on main.

### Go Fix

A draft pull request, with the attack path in hand.

A drawing of a draft pull request opened by Go Fix for the sample finding "Any signed-in user can trigger refunds for another tenant", with its attack path attached: all 3 steps, from src/routes/refunds.ts:142 to src/jobs/payouts.ts:88.

[How Go Fix works](https://kelrova.com/findings/go-fix)

### Your own agents

In Kelrova Studio your own agents get the chain too.

A drawing of the same finding in Kelrova Studio for payments-api, its 3 steps listed by file and line, to fix with your own agents.

[Fix findings in Studio](https://kelrova.com/studio/fix-findings)

### Re-check

Once the fix is merged, the finding is checked again.

A drawing of a re-check on main that marks the finding fixed on main.

[About re-checks](https://kelrova.com/findings#re-check)

## Pro and above, on demand or on a schedule.

Adversary comes with Pro, Max and Enterprise. It runs on a schedule like any scan, daily, weekly or every two weeks. Basic and Go cannot start Adversary scans or save Adversary schedules.

[Compare plans](https://kelrova.com/pricing) [Schedules](https://kelrova.com/scans#schedules)

Plan Price Adversary scans Adversary schedules

Basic $20 / month **$20** / month Scans not included Schedules not included

Go $100 / month **$100** / month Scans not included Schedules not included

Pro $300 / month **$300** / month Scans included Schedules included

Max $1,000 / month **$1,000** / month Scans included Schedules included

Enterprise Custom Custom Scans included Schedules included

Adversary

## See the attack paths in your own project.

Link a repository, start an Adversary scan on Pro or above, and read each path step by step.

[Get started](https://app.kelrova.com/register) [Compare plans](https://kelrova.com/pricing)
