agentic-os/dashboard/pages
modimihir07 a30162d114 Security audit fixes: path traversal, XSS, info disclosure, missing headers
CRITICAL fixes:
- Path traversal prevention in brain/backup/skill/file endpoints
- Unsafe tar extraction with safe_extractall() path validation

HIGH fixes:
- XSS: encodeURIComponent for onclick handlers in skills/memory/prompts/standards/backups
- XSS: escapeHtml() for user-controlled text in cost/plugins/settings/audit/dashboard
- XSS: safe class name mapping in setup-wizard (attribute injection)
- Security headers middleware (CSP, HSTS, X-Frame-Options, X-Content-Type-Options)
- CORS restricted to localhost:8080
- Settings API keys masked before returning to client
- Session replay content limited to 2000 chars + path validation

MEDIUM fixes:
- Chat message length limit (10000 chars)
- Input validation on brain/skill/backup file names (reject .. and /)
2026-06-29 13:57:44 +05:30
..
agent-health.js v0.2.0: 7 new features + UI modernization 2026-06-05 15:22:40 +05:30
audit.js Security audit fixes: path traversal, XSS, info disclosure, missing headers 2026-06-29 13:57:44 +05:30
backups.js Security audit fixes: path traversal, XSS, info disclosure, missing headers 2026-06-29 13:57:44 +05:30
chat.js v1.2.0: opencode JSON mode, 180s Hermes timeout, client AbortController, SEO README, badge/CSS fixes, prompt clipboard fix 2026-05-17 23:43:18 +05:30
cost.js Security audit fixes: path traversal, XSS, info disclosure, missing headers 2026-06-29 13:57:44 +05:30
dashboard.js Security audit fixes: path traversal, XSS, info disclosure, missing headers 2026-06-29 13:57:44 +05:30
goals.js v0.2.0: 7 new features + UI modernization 2026-06-05 15:22:40 +05:30
journal.js v0.2.0: 7 new features + UI modernization 2026-06-05 15:22:40 +05:30
kanban.js v0.2.0: 7 new features + UI modernization 2026-06-05 15:22:40 +05:30
learning-analytics.js v0.2.0: 7 new features + UI modernization 2026-06-05 15:22:40 +05:30
memory.js Security audit fixes: path traversal, XSS, info disclosure, missing headers 2026-06-29 13:57:44 +05:30
plugins.js Security audit fixes: path traversal, XSS, info disclosure, missing headers 2026-06-29 13:57:44 +05:30
prompts.js Security audit fixes: path traversal, XSS, info disclosure, missing headers 2026-06-29 13:57:44 +05:30
scheduler.js Complete dashboard revamp: modern glassmorphism UI, all 12 pages functional 2026-05-17 15:48:54 +05:30
session-replay.js v0.2.0: 7 new features + UI modernization 2026-06-05 15:22:40 +05:30
settings.js Security audit fixes: path traversal, XSS, info disclosure, missing headers 2026-06-29 13:57:44 +05:30
setup-wizard.js Security audit fixes: path traversal, XSS, info disclosure, missing headers 2026-06-29 13:57:44 +05:30
skills.js Security audit fixes: path traversal, XSS, info disclosure, missing headers 2026-06-29 13:57:44 +05:30
smart-router.js v0.2.0: 7 new features + UI modernization 2026-06-05 15:22:40 +05:30
standards.js Security audit fixes: path traversal, XSS, info disclosure, missing headers 2026-06-29 13:57:44 +05:30