can .txt files be dangerous?

Yes and no.
.txt is a non-executable file format, and even if a .txt file would have malicious code, it would not run by default.

However, file readers/the programs that allow you to open such files, such as Notepad can be vulnerable. If a .txt file could exploit the vulnerabilities of such file readers, they could potentionally be tricked into running malicious code.

TL;DR
.txt 's are independently 100% safe.
The problem lies within the programs that read .txt files, as they can be exploited into running malicious code.

If you are really skeptic, run your .txt files with the most unknown file reader that you deem safe.
 
Back
Top