feat(security): harden auth, oauth, and printer endpoints

Add stricter URL and redirect validation, endpoint rate limiting, safer defaults for printer and compose config, and CSP protections across server and API surfaces.

Made-with: Cursor
This commit is contained in:
Amruth Pillai
2026-04-25 15:31:06 +02:00
parent d3102565e4
commit a42dbcd452
27 changed files with 1041 additions and 376 deletions
+9 -7
View File
@@ -221,15 +221,17 @@ const config = defineConfig({
},
plugins: [
"eslint",
"import",
"jest",
"jsdoc",
"jsx-a11y",
"node",
"oxc",
"promise",
"react-perf",
"react",
"typescript",
"unicorn",
"oxc",
"react",
"react-perf",
"import",
"jsdoc",
"node",
"promise",
"vitest",
],
rules: {