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.
Where it startsRefund request accepts any amount from the client
src/auth/
2src/auth/tenant.ts:57
What it passes throughTenant check reads the tenant id from the request header
src/jobs/
3src/jobs/payouts.ts:88
Where it endsPayout job pays the refund without a second check
FindingAttack path
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.
The path, step by stepWhere it landsA 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 scanQuick 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 clientsrc/routes/refunds.ts:142
Tenant check reads the tenant id from the request headersrc/auth/tenant.ts:57
Payout job pays the refund without a second checksrc/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.
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.
Northwind/payments-api/FindingsAdversary scan · main
CriticalAttack path · 3 steps
Any signed-in user can trigger refunds for another tenant
Affects: All users3 files
Attack path
1Where it startsRefund request accepts any amount from the clientsrc/routes/refunds.ts:142
2What it passes throughTenant check reads the tenant id from the request headersrc/auth/tenant.ts:57
3Where it endsPayout job pays the refund without a second checksrc/jobs/payouts.ts:88
SummaryA 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.
Go FixChatBoth get the whole chain.
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 reviewed4 deferred
Candidates
6
Confirmed findings
2
CriticalAny signed-in user can trigger refunds for another tenantAll 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.
Pull requestOpened by Go Fix
Draft
Linked finding
Any signed-in user can trigger refunds for another tenant
ChainCriticalAttack path, all 3 steps
Starts atsrc/routes/refunds.ts:142
Ends atsrc/jobs/payouts.ts:88
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.
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.