How Bastion works

How we test, fix and retest, within limits you control

01

What a test looks like

Follow each step in GitHub

github.com/apps/bastion/installations/new
GitHub Apps
Install

Install Bastion

on your organization acme

Repository access

acme/payments-api acme/web

Bastion will be able to

  • Read code and metadata
  • Read and write pull requests
  • Read and write checks
InstallBastion maps your routes and inputs from the code it can read

02

Fixes arrive as pull requests

Each one comes from an attack that worked

1

Add the GitHub app

Bastion
Add to GitHub
2

The pentest lands an attack

Orders marked paid without a real payment

Confirmed by sending a payment notice with the signature removed

3

The fix opens from that result

Verify payment notifications

Opened by Bastion from the pentest result

A watercolour of a brass desk lamp whose shade holds a glass prism, lighting only the changed lines of a pull request

03

Then we attack again

1 Intended

POST /payments/notify

order: 1042

status: paid

signature: a1f9…

200 OKReal payment
↓Remove the signature
2 Before the fix

POST /payments/notify

order: 1042

status: paid

signature: (none)

200 OKPaid by anyone
↓Fix it
3 After the fix

POST /payments/notify

order: 1042

status: paid

signature: (none)

401Blocked
↓Try every variation
4 Variations
  • signature: ""401
  • signature: null401
  • signature: %00401
  • signature: =401
  • signature ×2401
All blockedThe fix holds

04·CVE-2026-61663 found, disclosed and fixed upstream·more write-ups

05

Only what you put in scope

Scope

Limits

06

Ground rules

Scope

We verify everything in scope is yours and test nothing outside it

Test accounts

Tests run from accounts we create ourselves

Your data

We prove access without deleting anything

Unproven steps

Anything we cannot prove safely is marked unverified

A watercolour of a stone watchtower whose prism lantern casts blue light only inside a line around it