feat: add session-based authentication to the web interface and API routes
Build and Push / build (nucleus, amd64, linux) (push) Successful in 16s

This commit is contained in:
2026-07-17 01:33:26 +01:00
parent b5a7cfc776
commit 8a35a5b791
9 changed files with 245 additions and 10 deletions
+9
View File
@@ -1,9 +1,14 @@
<div align="center">
<img src="frontend/public/favicon.svg" alt="Nucleus" width="64" />
# Nucleus - Vulnerability Scan Orchestrator
Nucleus is a single, self-contained Go binary that acts as an orchestration manager for scheduled [Nuclei](https://github.com/projectdiscovery/nuclei) vulnerability scans.
It serves an embedded Vue 3 SPA web dashboard, reads/writes scan states to a local SQLite database, and automatically dispatches beautifully formatted HTML email reports via SMTP when scans discover vulnerabilities.
</div>
## Prerequisites
- **Go 1.22+**
- **Node.js & npm** (for building the frontend)
@@ -65,6 +70,10 @@ Environment="SMTP_TO=admin@example.com"
# Environment="SMTP_USER=username"
# Environment="SMTP_PASS=password"
# Optional: Add basic authentication to protect the web dashboard
# Environment="WEB_USER=admin"
# Environment="WEB_PASS=supersecret"
Restart=always
RestartSec=5