From ead9faecf0cee3d70c3932350ccd3cd1f3c3f256 Mon Sep 17 00:00:00 2001 From: Rishabh Gupta Date: Sat, 1 Aug 2026 23:17:35 -0700 Subject: [PATCH] fix: remove dead supply-chain JS for missing /load-malicious-model route The XSS section handler referenced #trigger-model and fetch('/load-malicious-model'), but no trigger button exists in the template and the route was never implemented. The live XSS demo already uses /demo-malicious-model; this orphaned code was non-functional. Co-authored-by: Cursor --- application/templates/supply_chain.html | 31 ------------------------- 1 file changed, 31 deletions(-) diff --git a/application/templates/supply_chain.html b/application/templates/supply_chain.html index 3c68e54..a0377b0 100644 --- a/application/templates/supply_chain.html +++ b/application/templates/supply_chain.html @@ -248,37 +248,6 @@

Operational Security