fix(ui): bundle the footer's ZenQuality logo (production CSP img-src 'self' refused the hotlink); CSP proof counts every violation; gitleaks allowlist carries the owner's [gated 2026-10-18] marker
This commit is contained in:
1 parent
1814a8d7d7
commit
dcc79400de
7 files changed
+163
-17
No files matched your search
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"harness": "scripts/browser/r4-app-csp.mjs",
|
||||
"startedAt": "2026-10-21T13:43:08.420Z",
|
||||
"watchdog": {
|
||||
"ceilingBytes": 4294967296,
|
||||
"sampleIntervalMs": 50,
|
||||
"measure": "summed VmRSS (/proc/<pid>/status) of the browser process tree; content = renderer / Web Content / WPEWebProcess processes only",
|
||||
"onCeiling": "SIGKILL of the tree, run recorded as stopped_by_ceiling",
|
||||
"caveat": "The 4 GiB RSS watchdog is not a guaranteed memory limit: it samples every 50 ms, so a faster allocation can overshoot it before the kill; summed VmRSS counts shared pages once per process; a process outside the browser's tree is not seen."
|
||||
},
|
||||
"host": {
|
||||
"cpuModel": "11th Gen Intel(R) Core(TM) i7-11700B @ 3.20GHz",
|
||||
"logicalCpus": 16,
|
||||
"ramBytes": 15815053312,
|
||||
"memAvailableBytesAtStart": 10363768832,
|
||||
"kernel": "7.0.0-38-generic",
|
||||
"arch": "x64",
|
||||
"node": "v24.21.0",
|
||||
"memAvailableBytesAtEnd": 10259890176
|
||||
},
|
||||
"build": {
|
||||
"distDir": "/home/bchanot/Documents/faunosteo/apps/app/dist",
|
||||
"builtAt": "2026-10-21T13:42:57.103Z",
|
||||
"sheetChunk": {
|
||||
"name": "_virtual_faunosteo-sheet-vxifkiH_.js",
|
||||
"bytes": 377259,
|
||||
"sha256": "44ef9bf7c6f64dd621f6656dd1de88689f2f74c998ec0b0822483674721d26b8"
|
||||
},
|
||||
"entryChunk": {
|
||||
"name": "index-DJ2b97Wd.js",
|
||||
"bytes": 921784,
|
||||
"sha256": "578225d4bfbac7a1c00907bb9ca0012545a2d0716163d7e900ff7068b5b40adc"
|
||||
},
|
||||
"wasm": {
|
||||
"name": "faunosteo_wasm_bg-9CH7GQ4e.wasm",
|
||||
"bytes": 1535289,
|
||||
"sha256": "8abfe5d7392fdca75e624a358b070ad577e21da9f550d3cdd96a9538ac167b54"
|
||||
},
|
||||
"importWorker": {
|
||||
"name": "import.worker-BSrH6NM8.js",
|
||||
"bytes": 8175,
|
||||
"sha256": "f667c4c5222bc7cd3311da788e3ecd6cf6156a4a9757b21c8730d93463ac5200"
|
||||
},
|
||||
"headCommit": "1814a8d"
|
||||
},
|
||||
"playwrightCore": "1.64.0",
|
||||
"reference": {
|
||||
"file": "apps/app/tests/fixtures/pdf/r3/demo.fr.logos.pdf",
|
||||
"bytes": 242767,
|
||||
"sha256": "ca9aadd05947912eb4d84c66c56e810abc8030fd69af892d98a019ad54c3f7b3"
|
||||
},
|
||||
"expected": {
|
||||
"without": "Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.",
|
||||
"violations": "none"
|
||||
},
|
||||
"observation": "document: the init-script probe's securitypolicyviolation events; console: every message of the page and its workers; reporting passes: the same enforced directives plus report-uri, the reports the browser POSTs (a worker's own violation events fire in its scope, out of the harness's reach otherwise)",
|
||||
"policies": {
|
||||
"with": "default-src 'self'; img-src 'self' data: blob:; style-src 'self' 'unsafe-inline'; script-src 'self' 'wasm-unsafe-eval'; font-src 'self' data:; object-src 'none'; base-uri 'self'; frame-ancestors 'none'",
|
||||
"without": "default-src 'self'; img-src 'self' data: blob:; style-src 'self' 'unsafe-inline'; script-src 'self'; font-src 'self' data:; object-src 'none'; base-uri 'self'; frame-ancestors 'none'",
|
||||
"with + report-uri": "default-src 'self'; img-src 'self' data: blob:; style-src 'self' 'unsafe-inline'; script-src 'self' 'wasm-unsafe-eval'; font-src 'self' data:; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; report-uri /__csp-report",
|
||||
"without + report-uri": "default-src 'self'; img-src 'self' data: blob:; style-src 'self' 'unsafe-inline'; script-src 'self'; font-src 'self' data:; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; report-uri /__csp-report"
|
||||
},
|
||||
"runs": [
|
||||
{"variant":"with","reporting":false,"engine":"chromium","engineVersion":"156.0.8078.4","outcome":"editor","durationMs":105.32999899999999,"finalPath":"/editor","errorText":null,"dialogs":["Restauration complète.\n\nArchive Faunosteo importée : bilan et instantané de la fiche d'origine conservés."],"pageMs":94.70000004768372,"longTasks":{"count":0,"maxMs":0,"totalMs":0},"pageErrors":[],"documentViolations":[],"consoleCsp":[],"crashed":false,"workers":[{"path":"/assets/import.worker-BSrH6NM8.js","closed":true}],"console":[],"consoleCount":0,"problems":[]},
|
||||
{"variant":"with","reporting":false,"engine":"firefox","engineVersion":"157.0","outcome":"editor","durationMs":261.60911799999985,"finalPath":"/editor","errorText":null,"dialogs":["Restauration complète.\n\nArchive Faunosteo importée : bilan et instantané de la fiche d'origine conservés."],"pageMs":98,"longTasks":null,"pageErrors":[],"documentViolations":[],"consoleCsp":[],"crashed":false,"workers":[{"path":"/assets/import.worker-BSrH6NM8.js","closed":true}],"console":[],"consoleCount":0,"problems":[]},
|
||||
{"variant":"with","reporting":false,"engine":"webkit","engineVersion":"27.2","outcome":"editor","durationMs":94.84215699999913,"finalPath":"/editor","errorText":null,"dialogs":["Restauration complète.\n\nArchive Faunosteo importée : bilan et instantané de la fiche d'origine conservés."],"pageMs":90,"longTasks":null,"pageErrors":[],"documentViolations":[],"consoleCsp":[],"crashed":false,"workers":[{"path":"/assets/import.worker-BSrH6NM8.js","closed":true}],"console":[],"consoleCount":0,"problems":[]},
|
||||
{"variant":"without","reporting":false,"engine":"chromium","engineVersion":"156.0.8078.4","outcome":"error","durationMs":22.482552999999825,"finalPath":"/","errorText":"Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.","dialogs":[],"pageMs":null,"longTasks":{"count":0,"maxMs":0,"totalMs":0},"pageErrors":[],"buttonEnabledAfter":true,"retry":{"shown":true,"errorText":"Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.","buttonEnabledAfter":true},"documentViolations":[],"consoleCsp":[],"crashed":false,"workers":[{"path":"/assets/import.worker-BSrH6NM8.js","closed":true},{"path":"/assets/import.worker-BSrH6NM8.js","closed":true}],"console":[],"consoleCount":0,"problems":[]},
|
||||
{"variant":"without","reporting":false,"engine":"firefox","engineVersion":"157.0","outcome":"error","durationMs":78.97164200000043,"finalPath":"/","errorText":"Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.","dialogs":[],"pageMs":null,"longTasks":null,"pageErrors":[],"buttonEnabledAfter":true,"retry":{"shown":true,"errorText":"Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.","buttonEnabledAfter":true},"documentViolations":[],"consoleCsp":[],"crashed":false,"workers":[{"path":"/assets/import.worker-BSrH6NM8.js","closed":true},{"path":"/assets/import.worker-BSrH6NM8.js","closed":true}],"console":[],"consoleCount":0,"problems":[]},
|
||||
{"variant":"without","reporting":false,"engine":"webkit","engineVersion":"27.2","outcome":"error","durationMs":78.12200900000244,"finalPath":"/","errorText":"Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.","dialogs":[],"pageMs":null,"longTasks":null,"pageErrors":[],"buttonEnabledAfter":true,"retry":{"shown":true,"errorText":"Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.","buttonEnabledAfter":true},"documentViolations":[],"consoleCsp":[],"crashed":false,"workers":[{"path":"/assets/import.worker-BSrH6NM8.js","closed":true},{"path":"/assets/import.worker-BSrH6NM8.js","closed":true}],"console":[],"consoleCount":0,"problems":[]},
|
||||
{"variant":"with","reporting":true,"engine":"chromium","engineVersion":"156.0.8078.4","outcome":"editor","durationMs":98.57746300000144,"finalPath":"/editor","errorText":null,"dialogs":["Restauration complète.\n\nArchive Faunosteo importée : bilan et instantané de la fiche d'origine conservés."],"pageMs":90.70000004768372,"longTasks":{"count":0,"maxMs":0,"totalMs":0},"pageErrors":[],"documentViolations":[],"consoleCsp":[],"crashed":false,"workers":[{"path":"/assets/import.worker-BSrH6NM8.js","closed":true}],"console":[],"consoleCount":0,"reports":[],"problems":[]},
|
||||
{"variant":"with","reporting":true,"engine":"firefox","engineVersion":"157.0","outcome":"editor","durationMs":275.8176769999991,"finalPath":"/editor","errorText":null,"dialogs":["Restauration complète.\n\nArchive Faunosteo importée : bilan et instantané de la fiche d'origine conservés."],"pageMs":91,"longTasks":null,"pageErrors":[],"documentViolations":[],"consoleCsp":[],"crashed":false,"workers":[{"path":"/assets/import.worker-BSrH6NM8.js","closed":true}],"console":[],"consoleCount":0,"reports":[],"problems":[]},
|
||||
{"variant":"with","reporting":true,"engine":"webkit","engineVersion":"27.2","outcome":"editor","durationMs":93.34793400000126,"finalPath":"/editor","errorText":null,"dialogs":["Restauration complète.\n\nArchive Faunosteo importée : bilan et instantané de la fiche d'origine conservés."],"pageMs":89,"longTasks":null,"pageErrors":[],"documentViolations":[],"consoleCsp":[],"crashed":false,"workers":[{"path":"/assets/import.worker-BSrH6NM8.js","closed":true}],"console":[],"consoleCount":0,"reports":[],"problems":[]},
|
||||
{"variant":"without","reporting":true,"engine":"chromium","engineVersion":"156.0.8078.4","outcome":"error","durationMs":23.575134999999136,"finalPath":"/","errorText":"Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.","dialogs":[],"pageMs":null,"longTasks":{"count":0,"maxMs":0,"totalMs":0},"pageErrors":[],"buttonEnabledAfter":true,"retry":{"shown":true,"errorText":"Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.","buttonEnabledAfter":true},"documentViolations":[],"consoleCsp":[],"crashed":false,"workers":[{"path":"/assets/import.worker-BSrH6NM8.js","closed":true},{"path":"/assets/import.worker-BSrH6NM8.js","closed":true}],"console":[],"consoleCount":0,"reports":[{"documentPath":"/assets/import.worker-BSrH6NM8.js","effectiveDirective":"script-src","violatedDirective":"script-src","blockedUri":"wasm-eval","sourceFile":"/assets/import.worker-BSrH6NM8.js","disposition":"enforce"},{"documentPath":"/assets/import.worker-BSrH6NM8.js","effectiveDirective":"script-src","violatedDirective":"script-src","blockedUri":"wasm-eval","sourceFile":"/assets/import.worker-BSrH6NM8.js","disposition":"enforce"}],"problems":[]},
|
||||
{"variant":"without","reporting":true,"engine":"firefox","engineVersion":"157.0","outcome":"error","durationMs":83.20322500000111,"finalPath":"/","errorText":"Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.","dialogs":[],"pageMs":null,"longTasks":null,"pageErrors":[],"buttonEnabledAfter":true,"retry":{"shown":true,"errorText":"Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.","buttonEnabledAfter":true},"documentViolations":[],"consoleCsp":[],"crashed":false,"workers":[{"path":"/assets/import.worker-BSrH6NM8.js","closed":true},{"path":"/assets/import.worker-BSrH6NM8.js","closed":true}],"console":[],"consoleCount":0,"reports":[{"documentPath":"/assets/import.worker-BSrH6NM8.js","effectiveDirective":"script-src","violatedDirective":"script-src","blockedUri":"wasm-eval","sourceFile":"/assets/import.worker-BSrH6NM8.js","disposition":"enforce"},{"documentPath":"/assets/import.worker-BSrH6NM8.js","effectiveDirective":"script-src","violatedDirective":"script-src","blockedUri":"wasm-eval","sourceFile":"/assets/import.worker-BSrH6NM8.js","disposition":"enforce"}],"problems":[]},
|
||||
{"variant":"without","reporting":true,"engine":"webkit","engineVersion":"27.2","outcome":"error","durationMs":22.635161999998672,"finalPath":"/","errorText":"Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.","dialogs":[],"pageMs":null,"longTasks":null,"pageErrors":[],"buttonEnabledAfter":true,"retry":{"shown":true,"errorText":"Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.","buttonEnabledAfter":true},"documentViolations":[],"consoleCsp":[],"crashed":false,"workers":[{"path":"/assets/import.worker-BSrH6NM8.js","closed":true},{"path":"/assets/import.worker-BSrH6NM8.js","closed":true}],"console":[],"consoleCount":0,"reports":[],"problems":[]}
|
||||
],
|
||||
"endedAt": "2026-10-21T13:43:45.732Z",
|
||||
"engines": {
|
||||
"chromium": "156.0.8078.4",
|
||||
"firefox": "157.0",
|
||||
"webkit": "27.2"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"date": "2026-10-21",
|
||||
"playwright": "1.64.0",
|
||||
"build": {
|
||||
"distDir": "/home/bchanot/Documents/faunosteo/apps/app/dist",
|
||||
"builtAt": "2026-10-21T13:42:57.103Z",
|
||||
"sheetChunk": {
|
||||
"name": "_virtual_faunosteo-sheet-vxifkiH_.js",
|
||||
"bytes": 377259,
|
||||
"sha256": "44ef9bf7c6f64dd621f6656dd1de88689f2f74c998ec0b0822483674721d26b8"
|
||||
},
|
||||
"entryChunk": {
|
||||
"name": "index-DJ2b97Wd.js",
|
||||
"bytes": 921784,
|
||||
"sha256": "578225d4bfbac7a1c00907bb9ca0012545a2d0716163d7e900ff7068b5b40adc"
|
||||
},
|
||||
"wasm": {
|
||||
"name": "faunosteo_wasm_bg-9CH7GQ4e.wasm",
|
||||
"bytes": 1535289,
|
||||
"sha256": "8abfe5d7392fdca75e624a358b070ad577e21da9f550d3cdd96a9538ac167b54"
|
||||
},
|
||||
"importWorker": {
|
||||
"name": "import.worker-BSrH6NM8.js",
|
||||
"bytes": 8175,
|
||||
"sha256": "f667c4c5222bc7cd3311da788e3ecd6cf6156a4a9757b21c8730d93463ac5200"
|
||||
},
|
||||
"headCommit": "1814a8d"
|
||||
},
|
||||
"runs": [
|
||||
{"engine":"chromium","mode":"emulate","headers":{"envJs":"no-store, no-cache, must-revalidate","workerChunk":"public, max-age=31536000, immutable","asNginx":true},"online":"editor","replaced":true,"offline":"editor","errorText":null,"pageErrors":[],"problems":[]},
|
||||
{"engine":"chromium","mode":"stop","headers":{"envJs":"no-store, no-cache, must-revalidate","workerChunk":"public, max-age=31536000, immutable","asNginx":true},"online":"editor","replaced":true,"offline":"editor","errorText":null,"pageErrors":[],"problems":[]},
|
||||
{"engine":"firefox","mode":"emulate","headers":{"envJs":"no-store, no-cache, must-revalidate","workerChunk":"public, max-age=31536000, immutable","asNginx":true},"online":"editor","replaced":true,"offline":"editor","errorText":null,"pageErrors":[],"problems":[]},
|
||||
{"engine":"firefox","mode":"stop","headers":{"envJs":"no-store, no-cache, must-revalidate","workerChunk":"public, max-age=31536000, immutable","asNginx":true},"online":"editor","replaced":true,"offline":"editor","errorText":null,"pageErrors":[],"problems":[]},
|
||||
{"engine":"webkit","mode":"emulate","headers":{"envJs":"no-store, no-cache, must-revalidate","workerChunk":"public, max-age=31536000, immutable","asNginx":true},"online":"editor","replaced":true,"offline":"error_text","errorText":"Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.","pageErrors":[],"problems":[]},
|
||||
{"engine":"webkit","mode":"stop","headers":{"envJs":"no-store, no-cache, must-revalidate","workerChunk":"public, max-age=31536000, immutable","asNginx":true},"online":"editor","replaced":true,"offline":"error_text","errorText":"Le moteur de lecture n'a pas pu être chargé. Réessayez l'import.","pageErrors":[],"problems":[]}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user