feat: clean install (Gitea en dur, scan off) + durcissement sécurité entreprise
Gitea - lien « Code source » hardcodé (REPO_SOURCE_URL) vers le dépôt, toujours visible - retrait complet du réglage configurable (api.ts, route+store settings, SettingsView, i18n, help, tests) Découverte des dépôts - aucune racine de scan par défaut → pas de scan au premier démarrage (clean install) - corrige la découverte des dépôts à l'INTÉRIEUR d'une racine qui est elle-même un repo (depth 0 = conteneur de scan, on descend ; depth > 0 = feuille) Sécurité « enterprise-deployable » - en-têtes HTTP durcis (CSP, X-Frame-Options, nosniff, Referrer-Policy, HSTS conditionnel, no-store API), header Server retiré - permissions DB 0o600 / dossier de données 0o700 ; error handler sanitisé ; garde Content-Type sur les mutations - chiffrement au repos AES-256-GCM des secrets (server_secret, clé privée VAPID) via SecretBox - journal d'audit (migration #7) + endpoint /audit-logs + RGPD export/effacement + UI Réglages - SECURITY.md, docs/ENTERPRISE_DEPLOYMENT.md, sections README EN/FR, SBOM CycloneDX en CI CI - pack-smoke packe depuis le contexte du package (cd packages/server) au lieu de « npm pack -w » : corrige l'embarquement de @arboretum/shared dans le tarball Purge des données personnelles du dépôt public - suppression de spikes/s4-discovery/result.json, reformulation du VERDICT - chemin de test générique, anonymisation des 5 fixtures de dialogues Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
14
packages/server/test/fixtures/dialogs/ask2.raw
vendored
14
packages/server/test/fixtures/dialogs/ask2.raw
vendored
@@ -19,7 +19,7 @@
|
||||
[2GClaude[9GCode'll[17Gbe[20Gable[25Gto[28Gread,[34Gedit,[40Gand[44Gexecute[52Gfiles[58Ghere.
|
||||
|
||||
|
||||
|
||||
|
||||
[2G]8;id=zaxmda;https://code.claude.com/docs/en/security[38;2;153;153;153mSecurity guide[39m]8;;
|
||||
|
||||
|
||||
@@ -321,13 +321,13 @@
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
[2C[6A[38;2;255;183;101mSim[8G[38;2;255;153;51mrin[14G[38;2;153;153;153m(2s · [38;2;177;177;177mthinking with xhigh effort[38;2;153;153;153m)[39m
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
[19C[6A[38;2;173;173;173mthinking with xhigh effort[39m
|
||||
[19C[6A[38;2;173;173;173mthinking with xhigh effort[39m
|
||||
|
||||
|
||||
|
||||
@@ -343,7 +343,7 @@
|
||||
|
||||
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
[19C[6A[38;2;161;161;161mthinking with xhigh effort[39m
|
||||
[19C[6A[38;2;161;161;161mthinking with xhigh effort[39m
|
||||
|
||||
|
||||
|
||||
@@ -359,7 +359,7 @@
|
||||
|
||||
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
[21C[6A[38;2;153;153;153m57[34Gthinking with xhigh effort[39m
|
||||
[21C[6A[38;2;153;153;153m57[34Gthinking with xhigh effort[39m
|
||||
|
||||
|
||||
|
||||
@@ -566,7 +566,7 @@
|
||||
|
||||
[3G[38;2;153;153;153mesc[7Gto[10Ginterrupt[21G[38;2;255;204;0mYou've[28Gused[33G96%[37Gof[40Gyour[45Gsession[53Glimit[59G·[61Gresets[68G7pm[72G(America/Lima)[87G·[89G/usage-credits[104Gto[107Grequest[115Gmore[39m
|
||||
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
[4C[6A[38;2;255;153;51mn[8G[38;2;255;183;101mn[39m
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
[2GClaude[9GCode'll[17Gbe[20Gable[25Gto[28Gread,[34Gedit,[40Gand[44Gexecute[52Gfiles[58Ghere.
|
||||
|
||||
|
||||
|
||||
|
||||
[2G]8;id=zaxmda;https://code.claude.com/docs/en/security[38;2;153;153;153mSecurity guide[39m]8;;
|
||||
|
||||
|
||||
@@ -475,7 +475,7 @@
|
||||
[14C[6A[38;2;153;153;153m4[35Gthought for 1s)[39m[K
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
[2GClaude[9GCode'll[17Gbe[20Gable[25Gto[28Gread,[34Gedit,[40Gand[44Gexecute[52Gfiles[58Ghere.
|
||||
|
||||
|
||||
|
||||
|
||||
[2G]8;id=zaxmda;https://code.claude.com/docs/en/security[38;2;153;153;153mSecurity guide[39m]8;;
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
[2GClaude[9GCode'll[17Gbe[20Gable[25Gto[28Gread,[34Gedit,[40Gand[44Gexecute[52Gfiles[58Ghere.
|
||||
|
||||
|
||||
|
||||
|
||||
[2G]8;id=zaxmda;https://code.claude.com/docs/en/security[38;2;153;153;153mSecurity guide[39m]8;;
|
||||
|
||||
|
||||
@@ -218,13 +218,13 @@
|
||||
|
||||
|
||||
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
[6A[38;2;255;153;51m✻[39m
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
[6A[38;2;255;153;51m✽[39m
|
||||
@@ -242,7 +242,7 @@
|
||||
|
||||
|
||||
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
[12C[6A[38;2;153;153;153m(1s · thinking with xhigh effort)[39m
|
||||
|
||||
|
||||
@@ -251,7 +251,7 @@
|
||||
|
||||
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
[5C[6A[38;2;255;183;101mo[9G[38;2;255;153;51mn[14G[38;2;153;153;153m2[19G[38;2;169;169;169mthinking with xhigh effort[39m
|
||||
[5C[6A[38;2;255;183;101mo[9G[38;2;255;153;51mn[14G[38;2;153;153;153m2[19G[38;2;169;169;169mthinking with xhigh effort[39m
|
||||
|
||||
|
||||
|
||||
@@ -416,7 +416,7 @@
|
||||
[2B[38;2;153;153;153m❯ [39m[K
|
||||
|
||||
[38;2;136;136;136m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[39m
|
||||
|
||||
|
||||
[3G[38;2;153;153;153mesc[7Gto[10Ginterrupt[21G[38;2;255;204;0mYou've[28Gused[33G91%[37Gof[40Gyour[45Gsession[53Glimit[59G·[61Gresets[68G7pm[72G(America/Lima)[87G·[89G/usage-credits[104Gto[107Grequest[115Gmore[39m
|
||||
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
@@ -430,16 +430,16 @@
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
[6A[38;2;255;153;51m*[10Gng[39m
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[2C[3A[?25h[?2026l[?2026h[?25l[2D[3B
|
||||
[11C[6A[38;2;255;153;51m…[39m
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
[2GClaude[9GCode'll[17Gbe[20Gable[25Gto[28Gread,[34Gedit,[40Gand[44Gexecute[52Gfiles[58Ghere.
|
||||
|
||||
|
||||
|
||||
|
||||
[2G]8;id=zaxmda;https://code.claude.com/docs/en/security[38;2;153;153;153mSecurity guide[39m]8;;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user