OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Security & Safety

AI Goat

AI Goat is a self-hosted capture-the-flag application that runs intentionally vulnerable LLM challenges locally, giving learners hands-on practice with AI application security.

Independent OpenViST project profile, based on linked sources.

AI Goat — Local, hands-on AI security training in a CTF format
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use AI Goat when you can provide its Docker-based local environment and want practical exercises in LLM application security, either for individual learning or a group CTF.

Who it is for

  • Security learners and researchers seeking hands-on LLM vulnerability exercises.
  • Educators or organizers who want to run a local CTF for a group.

Documented uses

  • Practice identifying and exploiting vulnerabilities in LLM-integrated applications.
  • Use challenge prompts, hints and flag submission to work through security exercises.
  • Host a CTF using the optional CTFd container.
Before you choose

Requirements & limits

The project describes the challenges as running locally without sign-ups or cloud fees. The optional CTFd interface requires creating a local account, and its README says a real email address is not required.

  • The installation uses Docker and Docker Compose and downloads an approximately 8GB LLM binary.
  • The README specifies 8GB of disk space and at least 16GB of system memory, with 8GB dedicated to the challenge.
  • The CTFd tracker is an optional container distinct from the LLM challenge environments.
  • The project is open source under GPL-2.0.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install the local AI Goat lab

Prepare the repository and install its local challenge environment.

Before you start

  • Git, Python 3 and pip3
  • Docker and Docker Compose
  • A user in the Docker group
  • 8GB of disk space
  • At least 16GB of system memory, with at least 8GB dedicated to the challenge

Steps

  1. Clone https://github.com/dhammon/ai-goat and change into the ai-goat directory.

  2. Install the Python requirements with the command below.

    Documented command
    pip3 install -r requirements.txt
  3. Make the launcher executable with chmod +x ai-goat.py.

  4. Run ./ai-goat.py --install.

Expected outcome

The installation process downloads the local LLM binary and Docker image used by the challenges.

Guide limitations

  • The README warns that LLM responses take too long with less than the specified memory.
Source-based practical guide

Start the optional local CTFd challenge tracker

Launch the optional container that lists challenges and provides hints, flag submission and completion tracking.

Before you start

  • The AI Goat installation has already been completed.

Steps

  1. Run ./ai-goat.py --run ctfd.

  2. Access the CTFd container in a browser on port 8000.

  3. Create a user account in the container; the README says a real email address is not required.

Expected outcome

The local CTFd interface provides a challenge listing, hints, flag submission and a way to track completed challenges.

Guide limitations

  • CTFd is optional and separate from the challenge environment.
  • The README describes account creation as necessary for using the launched CTFd interface.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
16 November 2026
Original website title
dhammon/ai-goat · Official homepage title · retained in its source language