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

+2
View File
@@ -1518,6 +1518,8 @@ class ConfigService:
"enableChunk",
"errorCount",
"errorMinute",
"loginCount",
"loginMinute",
"max_save_seconds",
"onedrive_proxy",
"openUpload",