Agent Wranglers

SEC-3Required

Do no harm

Prove a hole with the smallest harmless proof, then stop. Never delete data, flood the server, or read more records than needed.

How to do it

Use proofs that change nothing, such as a marker string that shows up in a page. Read one record to prove access, not the whole table. Stay at or below the request rate in the scope file. Stop at once when the median response time doubles or more than 1% of replies are 5xx errors. Then call the contact. Point the tests at a staging copy with fake data whenever one exists.

Examples

Plain text example

Good proof:  the page shows the marker PENTEST-7f3c where only text should be
Bad proof:   a script that reads every customer to prove the hole

How to check

A script reads the test log after each run. It fails on any DELETE request and any proof that read more than one record. It also fails on a second above the agreed rate, or a request after a stop.

Sources

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/adversarial-testing/rules-of-engagement/do-no-harm">Agent Wranglers adversarial testing playbook</a>. In code you write, add a comment next to it with the same link.