Vulnerability-research methodology¶
Use an owned target with a minimal failure mechanism. State the precondition, request, expected result and state invariant before writing the fix. A controlled misuse case belongs in the suite only if it answers a defender's boundary question.
Experimental sequence¶
- Map the actor's controllable inputs and the target's ambient authority.
- Seed synthetic users, records, origins or policies. Generate session material only at runtime; never print or commit it.
- Execute the misuse against the intentionally vulnerable path. Capture the response and independently assert the intended state change or disclosure.
- Apply the smallest boundary change and rerun the identical case from fresh state.
- Assert both rejection and absence of a side effect. Include legitimate operations so a control that denies everything cannot pass the experiment.
- Test missing context, stale context, alternate endpoints and lower-layer bypasses.
- Record versions, commands, exit status, sanitized evidence and untested surfaces.
- Review references and residual capabilities before making a severity statement.
Evidence and scope¶
Use T0–T4 tiers for every major claim. Observed, likely, assumed, not established and not tested have distinct meanings. A model's verdict is evidence about that model. A mocked Terraform plan is not evidence that a cloud token was exchanged or a cloud API was denied. A local HTTP comparison is not a third-party product assessment.
Severity is qualitative and specific to the synthetic assets, actor and operations. No CVSS score or advisory ID is assigned to a teaching target. Business impact is an inference requiring the stated real-world asset assumptions.
Isolation and evidence retention¶
The SSRF topology has only Docker internal networks and no published ports. The
BOLA runner uses container loopback and network_mode: none. Keep both on a
workstation reserved for local testing. Do not add host networking, a Docker socket,
real datasets or cloud credentials. Terraform commands stop at validation and mock
plans. Downloading dependencies requires internet access; the targets do not.
Keep raw generated evidence under ignored .artifacts/research/, review it for
sensitive values, and retain only sanitized summaries in source control. Correlate
by generated request ID; do not retain cookies, raw assertion bytes, URL queries or
response bodies in audit events. Delete containers, volumes and evidence after use.