CodeQL library for JavaScript
codeql/javascript-all 0.2.2 (changelog, source)
Search

Predicate PrettyPrintCatCall::createReadFileCall

Create a string representation of an equivalent call to fs.readFile for a given command execution cat.

Import path

import semmle.javascript.security.UselessUseOfCat
string createReadFileCall(UselessCat cat)