Repository navigation
Project Overview
Sentinel lets a registered user submit a website URL and receive an automated, passive only security assessment: a set of findings across several checks, an aggregate score and risk rating, and a downloadable PDF report. Users can view scan history and track score trends for a website over time.
| Elective | What it's graded on |
|---|---|
| Cybersecurity (primary) | Correctness and depth of the passive checks, scoring model, threat model, secure coding (auth, input handling) |
| Cloud Computing (secondary) | Containerization, CI/CD, IaC (Terraform/k8s), architecture documentation. Must be independently reviewable without reading the scanner logic. |
- Backend: Java 25, Spring Boot 4.1, Spring Security, Spring Data JPA, Hibernate, Maven
- Database: PostgreSQL, schema managed with Flyway migrations
- Frontend: React (added later in the build, not a Day 1 priority)
- Auth: JWT + BCrypt
- Cloud/infra: Docker, Docker Compose, GitHub Actions, Terraform, Kubernetes manifests (infra can be documentation grade rather than a live deployment)
The plan is to keep the two electives separable: a backend/ tree for the
cybersecurity side and an infra/ tree for the cloud side, so either can be
reviewed without touching the other. As of Day 3, infra/ exists and holds
the Docker/Compose setup, while the Spring Boot app itself still lives at
the repo root (src/main, src/test, pom.xml), matching the default
Maven layout. A full backend/ split isn't planned until it's actually
needed, infra/ is the half of the split that mattered for Day 3.
docs/SRS.md requirements spec, source of truth for scope (Day 1)
docs/THREAT_MODEL.md STRIDE threat model against the real, as-built architecture (Day 15)
docs/adr/ Architecture Decision Records, 0001 to 0004 so far (Days 10, 16)
docs/ also planned: API docs, deployment guide (later weeks)
src/main/java/.../domain/ core JPA entities, enums (incl. RiskRating), UserRepository, WebsiteRepository, ScanRepository, FindingRepository (Day 2, 4, 6, 11, 12)
src/main/java/.../auth/ JWT auth service, filter, controller, DTOs (Day 4)
src/main/java/.../config/ SecurityConfig, AsyncConfig, OpenApiConfig (Day 4, 12, 17)
src/main/java/.../website/ website management controller, service, DTOs (Day 6)
src/main/java/.../scanner/ ScanCheck, ScannerEngine, ScannerConfig, ScannerSupport, CheckResult (Day 7, 8)
src/main/java/.../scanner/check/ all 6 passive checks (FR-3.2 complete): Https, SecurityHeaders, SslCertificate, Hsts, CookieSecurity, RedirectAnalysis (Day 7, 8, 9)
src/main/java/.../scoring/ ScoringService, weighted score + risk rating (Day 11)
src/main/java/.../scan/ ScanController, ScanService, ScanRunner (async), ScanHistoryService, DTOs (Day 12, 14)
src/main/java/.../report/ ReportService, PdfReportGenerator (Apache PDFBox) (Day 13)
src/main/resources/db/migration/ Flyway migrations (Day 2)
src/ Spring Boot application (current, root-level Maven layout)
infra/docker/Dockerfile multi-stage build, mvnw-based (Day 3)
infra/docker-compose.yml Postgres + app for local dev (Day 3)
.github/workflows/ci.yml build + test (Day 5), plus CodeQL + Trivy scanning (Day 10)
infra/ Docker now, Terraform/k8s planned for later weeks
Sentinel never performs active attacks, exploitation, brute force, or anything offensive. Every check is passive: it only inspects a target's already exposed, observable configuration (response headers, certificate metadata, cookie flags, redirect chains) the same way a normal browser visit would. This is a permanent design constraint, not a v1 limitation. See the Requirements page for the formal version of this rule (NFR-1).