File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/semmle/javascript/security/dataflow Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ module InsecureTemporaryFile {
7171 }
7272 }
7373
74- /** A a string that references the global tmp dir. Seen as a source for insecure temporary file creation. */
74+ /** A string that references the global tmp dir. Seen as a source for insecure temporary file creation. */
7575 class OSTempDir extends Source {
7676 OSTempDir ( ) {
7777 this = DataFlow:: moduleImport ( "os" ) .getAMemberCall ( "tmpdir" )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ case to remote code execution.
1212<recommendation >
1313<p >
1414Use a well tested library like <a href =" https://www.npmjs.com/package/tmp" >tmp</a >
15- for creating temprary files. These libraries ensure both that the file is inaccesible
15+ for creating temporary files. These libraries ensure both that the file is inaccessible
1616to other users and that the file does not already exist.
1717</p >
1818</recommendation >
You can’t perform that action at this time.
0 commit comments