Autonomous Discovery of Logic-based API Vulnerabilities
Where
Ground Truth
BSides Las Vegas
Duration
37 min
Shows reinforcement learning agents navigating API graphs to find broken access control and other logic flaws.
Summary
The talk opens by comparing static analysis, dynamic scanners and LLM-based tooling against logic flaws such as broken access control and privilege escalation. The speakers argue these bugs depend on application state, user roles and multi-step request sequences rather than a single malicious input, so input-focused fuzzing struggles with them. They also point out that LLM agents are slow, limited by context size and reliant on scripts for bulk testing.
The middle of the talk frames the search as a reinforcement learning problem. The application is modeled as a tree of endpoints, request and response pairs, authentication contexts and parameters, which a graph neural network encodes. The agent moves through this graph and can copy values such as identifiers or tokens from one request into another. To train and benchmark it, the team generates many small applications from YAML-defined components, each with vulnerable or patched variants. In a simple demo, the agent reuses another user's token to act on that user's notes, and it reached this path without being given strategies or example traces.
The closing part covers questions about benchmark ground truth, comparisons with Burp-style fuzzing and the need to rebuild the graph for each new application, which can be seeded from a crawl. The speakers said the lab generator will be open-sourced and that the work is early. The practical takeaway is that a dedicated method per vulnerability class may suit logic flaws better than one general-purpose model.
Related talks
Talks·53 min
Erica Burgess
Shows how generative AI helped produce a working RCE payload, a captcha bypass and other attack chains against web apps.
Adversary Village·26 min
Dominika Pietrzak · Ibai Castells
Shares lessons from building reusable, reliable offensive AI agents for client web application tests, covering evaluation and safety controls.
Bug Bounty Village·27 min
Bogdan Steele · Arnav Garg
Presents MPG, a framework that mutates confirmed indirect prompt injection payloads to measure how many variants still bypass an AI assistant's safeguards.


