mirror of
https://github.com/HuLaSpark/HuLa.git
synced 2026-10-25 18:01:32 +08:00
- tauri.conf.json: replace csp:null with a restrictive CSP (blocks eval/inline scripts) - capabilities: remove unused shell:allow-execute (RCE enabler) and sql:allow-execute - capabilities: scope fs permissions to app/user directories instead of '**' - oauth_command: per-session secret validation to block token injection - useLogin: embed secret in OAuth redirectUri - configuration: sanitize DB filename (path traversal) + SQLCipher key plumbing - im_request_client: externalize hardcoded Basic-Auth secret via HULA_IM_BASIC_AUTH - websocket/client: redact auth token from logs - markdown_command: confine image/file paths within allowed roots - upload_command: forbid absolute paths, confine to AppCache/AppData, https-only - Bot.vue: sanitizeMarkdown safe-by-default; validate link schemes