fix: add magic-byte checks, login rate limits, and non-root Docker

Close the remaining security gaps: validate upload content against
file signatures, rate-limit admin login failures with configurable
thresholds, and run the container as uid 1000 instead of root.
This commit is contained in:
vastsa committed 2026-07-23 22:23:04 +08:00
1 parent c11059b851
commit eda0a3127a
12 files changed
+350 -34

No files matched your search

+1
View File
@@ -2,6 +2,7 @@ version: "3"
services:
file-code-box:
image: lanol/filecodebox:2.5.2 # x-release-please-version
user: "1000:1000"
volumes:
- fcb-data:/app/data:rw
restart: unless-stopped