Skip to content

Commit c3fdfde

Browse files
committed
JS: rename DefaultParsedCommandLineArgumentsAsSource
1 parent 8e6a19b commit c3fdfde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ module IndirectCommandInjection {
4040
}
4141

4242
/**
43-
* An object containing command-line arguments that were parsed with a default configuration, considered as a flow source for command injection.
43+
* An object containing parsed command-line arguments, considered as a flow source for command injection.
4444
*/
45-
class DefaultParsedCommandLineArgumentsAsSource extends Source {
46-
DefaultParsedCommandLineArgumentsAsSource() {
45+
class ParsedCommandLineArgumentsAsSource extends Source {
46+
ParsedCommandLineArgumentsAsSource() {
4747
// `require('get-them-args')(...)` => `{ unknown: [], a: ... b: ... }`
4848
this = DataFlow::moduleImport("get-them-args").getACall() or
4949
// `require('minimist')(...)` => `{ _: [], a: ... b: ... }`

0 commit comments

Comments
 (0)