Skip to content

theowni/AI-Agent-Solving-Security-Challenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages