8022cba6e73740f58f8ff4d3ae844cd1f6038c04
OCLA — Open Cyber LLM Arena
Local-first benchmarking for evaluating LLMs on cybersecurity tasks, with optional anonymous sharing to a public leaderboard.
Quickstart
- Install deps:
npm install - Run dev server:
npm run dev - Open:
http://localhost:3000
Database (optional uploads + leaderboard)
Uploads and the public leaderboard require Postgres.
- Copy
.env.example→.env.localand setDATABASE_URL(keep.env.localprivate) - Create tables:
npm run db:push
Neon tip: use the pooled URL for DATABASE_URL, and use the unpooled URL for DATABASE_URL_UNPOOLED if
db:push fails due to pooling/pgbouncer limitations.
Offline runner (integrity-hash included)
The repo includes a downloadable Node.js runner at public/ocla-runner.mjs.
- Prompt pack:
public/prompt-packs/ocla-safe-v1.json - Runner hash pin (generated):
public/ocla-runner.sha256
Example:
node public/ocla-runner.mjs --base-url http://localhost:11434/v1 --model llama3.1 --prompt-pack public/prompt-packs/ocla-safe-v1.json
Notes
- The in-browser benchmark runner is designed to keep API keys in the browser (never sent to OCLA server routes).
- The repo ships with a safe example prompt pack. You can import your own prompt packs for internal testing.
Description
GitHub account backup: https://github.com/s41r4j/ocla | Snapshot: 2026-11-06
311 KiB
0 Stars
1 Watchers
0 Forks
Languages
TypeScript
93.4%
JavaScript
5.2%
PowerShell
0.7%
Shell
0.5%
CSS
0.2%