Skip to content

gurghet/janet2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Janet 2

Social Engineering Simulator — an educational game where you craft emails to extract secrets from AI-powered employees of fictional companies.

Two seasons:

  • Season 1: WhiteCorp — 3 levels, one-shot emails
  • Season 2: Helix Biotech — 5 levels, multi-turn conversations with suspicion meters, attempt limits, OSINT recon, and stateful memory

Setup

Copy .env.example to .env (or ~/.secrets/janet/.env) and fill in:

OPENAI_API_KEY_JANET=sk-...
JANET_SEG_BOT_TOKEN=...  # optional, for Telegram notifications
JANET_SEG_BOT_CHAT_ID=...  # optional

Run (dev)

./run_dev.sh

Run (docker)

docker compose up

Architecture

  • server/ — Flask + OpenAI backend
    • levels.py / levels_s2.py — character definitions, secrets, training examples
    • game.py / game_s2.py — AI response generation (S2 is stateful)
    • security.py — S1 regex-based checks
    • sessions.py — S2 in-memory conversation store + suspicion tracking
    • osint.py — S2 pre-game recon data per target
  • frontend/ — React + Vite + Tailwind, CRT terminal aesthetic

Note

Educational use only. Don't actually phish anyone.

About

Social engineering simulator — educational game where you craft emails to extract secrets from AI-powered characters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors