Skip to content
Heroes-Cyber-SecurityPublic

About

DX-first Blockchain CTF Infrastructure

Resources

Stars

9 stars

Watchers

0 watching

Forks

Latest commit

 

History

295 Commits

Folders and files

Repository files navigation

Haron

image

DX-first infrastructure for blockchain CTF challenges.

Developer Features

  • Python as challenge runtime
  • Foundry-native
  • Memory-efficient
  • Modular microservices
  • Auth via CTFd, rCTF or loginless sessions (browser generated UUID)
  • Telegram notification
  • Dynamic flag by default, static flag by choice

Auth Modes

CTF_PLATFORM selects how a player is identified.

  • ctfd and rctf ask the player for an access token from your CTF platform
  • loginless asks for nothing. The browser generates a UUID session id, keeps it in localStorage, and the manager accepts it as the player identity

Loginless mode is for workshops, practice deployments and anything that should not depend on a CTF platform. There is no CTF_BASE to configure.

CTF_PLATFORM=loginless

A copy and paste deployment of loginless mode lives in template/. It carries one compose file and one example challenge.

cp -r template my-ctf
cd my-ctf && docker compose up -d

Challenge Capabilities

  • Only EVM (for now)
  • Normal single-chain vulns
  • Cross-chain challenges
  • MEV attack/strategy challenges

Soon :0

  • Timetravel
  • Custom node
  • Discord notification
  • Smaller runtime disk size
  • Better isolation for Python-related shenanigans

About

DX-first Blockchain CTF Infrastructure

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages