Files
Kelx/public/vendor/monaco-editor/0.55.1/PROVENANCE.md
T
2026-11-30 16:32:37 +00:00

1.2 KiB

Vendored: monaco-editor 0.55.1 (min/vs)

  • Source: https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.55.1.tgz
  • Integrity (npm dist.integrity, verified before extraction): sha512-jz4x+TJNFHwHtwuV9vA9rMujcZRb0CEilTEwG2rRSpe/A7Jdkuj8xPKttCgOh+v/lkHy7HsZ64oj+q3xoAFl9A==
  • Vendored: 2026-10-07
  • Contents: package/min/vs only (the AMD runtime the bot page loads via require.config({ paths: { vs: "/vendor/monaco-editor/0.55.1/min/vs" } })).
  • Why vendored: loading Monaco from cdn.jsdelivr.net meant a CDN compromise could execute JS in the panel origin. SRI cannot cover the AMD loader's dynamically injected chunks (editor.main, workers), so the editor is served same-origin and the CDN path was removed from script-src (index.js CSP + tests/csp-hardening.test.js).

Upgrade procedure

  1. Download the new version's tarball from the npm registry and verify it against the published dist.integrity hash.
  2. Extract package/min/vs into public/vendor/monaco-editor/<version>/.
  3. Update the two URLs in public/js/bot.js (vs: path and loader.js src) and this file; update the version in PROVENANCE.md.
  4. The CDN allowlist in the CSP must stay monaco-free — do not re-add it.