SentinelForge
Local-first, AI-assisted security research platform that keeps findings and target data on the workstation
Role
Solo Developer
Duration
Ongoing
Tech Stack
9 technologies
About This Project
SentinelForge is a local-first workbench for authorized security work: bug bounty hunting, source-code audits, SOC log analysis, detection engineering, and purple-team exercises. It runs in Docker on the operator's own machine, listens only on loopback, and keeps targets, findings, and evidence on the workstation. The design rule is simple. Deterministic tools produce evidence, local models only triage and draft, and the operator makes every decision.
A bug bounty program starts with scope. SentinelForge imports a program's scope from HackerOne and checks every finding, import, and scan against it, dropping and logging anything out of bounds. Findings come in from Semgrep, SARIF, Burp, Nuclei, ZAP, gitleaks, and promptsnake, or are pasted in by hand as raw requests and responses. Source repositories become workspaces, so code findings carry the surrounding lines as evidence.
Local models, pinned by hash and served through Ollama or llama.cpp, triage findings, map CVEs, and draft reports. Their output is treated as untrusted: every fact has to quote the evidence word for word, an analysis with a bad citation is marked invalid, and suggestions only change a finding when the operator accepts them. Before a report goes out, a duplicate check compares root causes across programs, past outcomes, and public advisories, and a reproduction gate refuses export until the bug has been reproduced, evidence is attached, and the approved text hasn't changed.
The defensive side works the same way. Windows and Linux logs are imported as labeled datasets, Sigma and YARA rules are run against them, and purple-team cases tie MITRE ATT&CK techniques to the telemetry they should produce. Active scanning exists but is off by default. Each run needs explicit approval, executes on the host without a shell, and is audit-logged.
Key Features
- ◆A scope engine that checks every target, import, and scan against the program's rules, including importing HackerOne scope CSVs without widening path-scoped assets
- ◆Imports findings from Semgrep, SARIF, Burp, Nuclei, ZAP, gitleaks, and promptsnake, fingerprinted so re-imports never duplicate
- ◆Local model triage with fail-closed citations: every fact must quote the evidence word for word, or the whole analysis is marked invalid
- ◆Root-cause duplicate checks that match across programs, past outcomes, changelogs, and public advisories before a report goes out
- ◆Report checks that catch common rejection reasons, plus a reproduction gate: export is refused until the bug is reproduced, evidence is attached, and the approved text is unchanged
- ◆SOC and detection engineering: Windows, syslog, and JSON log import, then Sigma and YARA rules run against labeled datasets
- ◆Purple-team cases mapped to MITRE ATT&CK with expected telemetry and coverage reports
- ◆Approval-gated reproduction runs and passive-only Nuclei and ZAP scans, each a single-use command that expires in 10 minutes
Challenges
Treating model output as untrusted input: suggestions only change a finding when the operator accepts them, and every decision is audit-logged
Choosing models by measurement: a built-in benchmark of true- and false-positive cases picks which local model handles each task
Locking down a local web app: loopback only, exact Host allowlist, cross-site requests rejected, and a bearer token on every API call
Running scans without letting the web app run anything: approved commands are executed on the host as fixed argument lists with no shell
Outcomes
- ✓Six phases built, from scope and findings through AI triage, reporting, SOC detection, and purple team, with approval-gated active scanning on top
- ✓A benchmark of real-world true- and false-positive cases decides model routing, and it dropped a security-tuned model that labeled both false-positive cases as real bugs
- ✓Every model is pinned by hash, and all target data stays on the workstation
Tech Stack
Want to talk about this project?
Questions, collaboration, or overlapping research: send a raven.
Get in Touch