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)); +}