Security hardening before production use #25
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
track:api
track:auto
track:core
track:deploy
track:infra
track:ui
v0.1.0
v0.1.1
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/delta#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Delta is now deployed but needs security hardening before real use at
delta.barrettruth.com.Open Items
Critical:
/api/auth/login— currently unlimited brute force attemptsImportant:
crypto.randomBytes(32)— good, but verify entropy)DATABASE_URLenv var contains the SQLite path — ensure the file is only readable by thedeltasystem userdelta.barrettruth.comStrict-Transport-Securityheader via nginxX-Content-Type-Options: nosniffheaderX-Frame-Options: DENYheaderNice to have:
Context
Self-hosted on Netcup VPS behind nginx + ACME. Single user initially but friends may want accounts. The app is internet-accessible.
Rate limiting, security headers, input validation, XSS sanitization all implemented.