This is an AI agent that completes Capture-The-Flag (CTF) challenges.
-
Install Node.js 24.
-
Install dependencies:
npm install
- Copy the
.env.example
file to.env
and fill in the missing environment variables:
cp .env.example .env
Read a challenge from a text file:
node main.ts ctf-challenges/cookie1/challenge.md
Note: you need Node.js 24 to run TypeScript files without a build step.