File Race Bad Low

While checking the state of a file before using it, do not use the file name; it makes the file vulnerable. So use file descriptors instead of file names whenever possible.

Detector ID
typescript/file-race-bad@v1.0
Category
Common Weakness Enumeration (CWE) external icon
Tags
-