Skip to content

Commit

Permalink
Add warning from upstream about TinyFD
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyvest authored Nov 18, 2024
1 parent af5498d commit 2d33d2f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@

import java.nio.file.Path;

/**
* API for TinyFD, a cross-platform file selection dialog.
* <p>
* On Linux, TinyFD "allows shell metacharacters in titles, messages, and other input data," meaning that it is vulnerable to command injection.
* **Treat all user input as untrusted and sanitize it before passing it to TinyFD.**
*/
@SuppressWarnings("unused")
public interface TinyFdApi {
String QUESTION_ICON = "question";
Expand Down

0 comments on commit 2d33d2f

Please sign in to comment.