diff options
| author | Bryan Thompson <bthompson@anthropic.com> | 2026-06-18 22:33:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-18 22:33:29 -0500 |
| commit | a758437b06d7aa56a148f94581e2edd63266a837 (patch) | |
| tree | 04cf9ed464485b04459037e2cf65097a89917b32 /plugins/code-modernization/assets | |
| parent | cef0e3f9fec7495761faec0b7baa47f3d79cf9d5 (diff) | |
| parent | 94258c5913c482462e8c242ef3060a011a4e186d (diff) | |
Merge branch 'main' into add-learn-with-courseraadd-learn-with-coursera
Diffstat (limited to 'plugins/code-modernization/assets')
| -rw-r--r-- | plugins/code-modernization/assets/topology-viewer.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/code-modernization/assets/topology-viewer.html b/plugins/code-modernization/assets/topology-viewer.html index 70575d5b..e2d2253a 100644 --- a/plugins/code-modernization/assets/topology-viewer.html +++ b/plugins/code-modernization/assets/topology-viewer.html @@ -3,6 +3,10 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> +<!-- Defense-in-depth: the data island is built from untrusted source. Allow only + inline script/style (the viewer is self-contained) and block network egress, so + even a breakout cannot exfiltrate. The injector also escapes < > & in the data. --> +<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'unsafe-inline'; style-src 'unsafe-inline'; img-src data:; base-uri 'none'; form-action 'none'"> <title>System topology</title> <style> :root { |
