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 {
71
71
}
72
72
}
73
73
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. */
75
75
class OSTempDir extends Source {
76
76
OSTempDir ( ) {
77
77
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.
12
12
<recommendation >
13
13
<p >
14
14
Use 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
16
16
to other users and that the file does not already exist.
17
17
</p >
18
18
</recommendation >
You can’t perform that action at this time.
0 commit comments