mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
9 lines
319 B
Plaintext
9 lines
319 B
Plaintext
import javascript
|
|
import semmle.javascript.security.UselessUseOfCat
|
|
|
|
query string readFile(UselessCat cat) { result = PrettyPrintCatCall::createReadFileCall(cat) }
|
|
|
|
query SystemCommandExecution syncCommand() { result.isSync() }
|
|
|
|
query DataFlow::Node options(SystemCommandExecution sys) { result = sys.getOptionsArg() }
|