summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/assets
diff options
context:
space:
mode:
authorMorgan Lunt <morganl@anthropic.com>2026-06-17 17:18:26 -0700
committerGitHub <noreply@github.com>2026-06-17 17:18:26 -0700
commit460d1033d454a9bf0e0cdc3969910f68dd69b6be (patch)
treeb46d7a70419656b30e78235ec46d30ced5924b62 /plugins/code-modernization/assets
parentbeae06093ae205afa36c6f58ac96465bc8c31c3b (diff)
parent8e61adb4c7f574e4bb7b03a0f242065c95b36f58 (diff)
Merge pull request #2536 from anthropics/codemod-dynamic-workflows
code-modernization: dynamic workflow orchestration + untrusted-content hardening
Diffstat (limited to 'plugins/code-modernization/assets')
-rw-r--r--plugins/code-modernization/assets/topology-viewer.html4
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 {