Welcome to the PizzaHackers Crew project, powered by crewAI. This repository defines an AI agent that can solve security challenges implemented as a part of Damn Vulnerable RESTaurant API Game.
The following recording demonstrates the AI agent solving first security challenge presented in the Damn Vulnerable RESTaurant API Game.
The Agent was able to solve all the security challenges in the game. Reports for each level of the security challenges generated by the AI Agent are available in the reports
directory.
Ensure you have Python >=3.10 <=3.13 installed on your system. Then, follow these steps to start the agent.
-
Clone Damn Vulnerable RESTaurant API Game repository:
git clone https://github.com/theowni/Damn-Vulnerable-RESTaurant-API-Game.git
-
Launch the game with security challenges:
cd Damn-Vulnerable-RESTaurant-API-Game ./start_app.sh # start_app.sh requires docker-compose to be installed
-
Change directory and clone this repository:
cd .. git clone https://github.com/theowni/AI-Agent-Solving-Security-Challenges.git
-
Install the dependencies:
cd AI-Agent-Solving-Security-Challenges crewai install
-
Add the
OPENAI_API_KEY
to the.env
file as shown below.OPENAI_API_KEY=sk-...
-
Launch the agent:
crewai run
-
Observe the results!