Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/unsafe2.ts
Original file line number Diff line number Diff line change
@@ -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));
}