From 2754449e0c95ea3e3323804a2ca3eeb98e745718 Mon Sep 17 00:00:00 2001 From: Dave Rogers Date: Mon, 23 Nov 2026 22:10:15 -0800 Subject: [PATCH] test: deliberate code injection into the feature branch --- src/unsafe2.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/unsafe2.ts diff --git a/src/unsafe2.ts b/src/unsafe2.ts new file mode 100644 index 0000000..8a2b099 --- /dev/null +++ b/src/unsafe2.ts @@ -0,0 +1,4 @@ +// Deliberate CodeQL finding for the test: code injection from the URL. +export function runFromUrlAgain(): unknown { + return eval(window.location.search.slice(1)); +}