Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.59 KB

File metadata and controls

52 lines (37 loc) · 1.59 KB

PizzaHacker - AI Agent Solving Security Challenges

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.

Demo

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.

Launching the Agent

Ensure you have Python >=3.10 <=3.13 installed on your system. Then, follow these steps to start the agent.

  1. Clone Damn Vulnerable RESTaurant API Game repository:

    git clone https://github.com/theowni/Damn-Vulnerable-RESTaurant-API-Game.git
  2. Launch the game with security challenges:

    cd Damn-Vulnerable-RESTaurant-API-Game
    ./start_app.sh
    
    # start_app.sh requires docker-compose to be installed
  3. Change directory and clone this repository:

    cd ..
    git clone https://github.com/theowni/AI-Agent-Solving-Security-Challenges.git
  4. Install the dependencies:

    cd AI-Agent-Solving-Security-Challenges
    crewai install
  5. Add the OPENAI_API_KEY to the .env file as shown below.

    OPENAI_API_KEY=sk-...
  6. Launch the agent:

    crewai run
  7. Observe the results!