Fix build blockers and rewrite README with authorized-use warning.

Restore server/agent compile fixes, wire remote actions end-to-end, harden run.bat, and document AetherForge with a severity-ranked audit in PROBLEMS.md.
This commit is contained in:
drjones
2026-05-28 07:36:59 -07:00
parent 830c755235
commit a9aeaefb1b
12 changed files with 615 additions and 186 deletions

View File

@@ -203,6 +203,8 @@ func sanitizeFilename(name string) string {
// Trim spaces and dots
name = strings.TrimSpace(name)
name = strings.Trim(name, ".")
// Prevent explicit traversal sequences
name = strings.ReplaceAll(name, "..", "")
// Limit length
if len(name) > 100 {
name = name[:100]