Skip to content

Commit a5a459f

Browse files
committed
Swift: Update swift/unsafe-js-eval to include local flow sources.
1 parent 5a0cce2 commit a5a459f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

swift/ql/src/queries/Security/CWE-094/UnsafeJsEval.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ import DataFlow::PathGraph
2020

2121
/**
2222
* A source of untrusted, user-controlled data.
23-
* TODO: Extend to more (non-remote) sources in the future.
2423
*/
25-
class Source = RemoteFlowSource;
24+
class Source = FlowSource;
2625

2726
/**
2827
* A sink that evaluates a string of JavaScript code.

0 commit comments

Comments
 (0)