Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 681179d

Browse files
committed
add comment about parameters named "code"
1 parent 53315e6 commit 681179d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

javascript/ql/src/semmle/javascript/security/dataflow/UnsafeCodeConstructionCustomizations.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module UnsafeCodeConstruction {
2424
class ExternalInputSource extends Source, DataFlow::ParameterNode {
2525
ExternalInputSource() {
2626
this = Exports::getALibraryInputParameter() and
27+
// permit parameters that clearly are intended to contain executable code.
2728
not this.getName() = "code"
2829
}
2930
}

0 commit comments

Comments
 (0)