Report a vulnerability through GitHub private vulnerability reporting: open the Security tab of this repository and choose "Report a vulnerability". Do not open a public issue for it.
Include the bytes that show the problem, for example the output of a small program or a file that, when printed in the terminal, triggers it. Say which Delphi version and which platform (Win32 or Win64) you used.
Only the latest commit on main is supported. A fix lands there; older commits are not patched.
Everything the child process writes is treated as untrusted, because it can contain the content of any file or remote session the user looks at. The parser bounds the work and memory that output can cause (see the README), answers queries with numbers only, and does not act on sequences that would set the window title, write the clipboard or open files.
Pasted text is treated as untrusted as well: in bracketed-paste mode the escape character is removed, so the clipboard cannot end the paste early and inject keystrokes.
Startpasses the command line toCreateProcessunchanged. Quote paths with spaces and use full paths; never build the command line from untrusted input.- The child process runs with the rights of your application and inherits its environment.
This library has not been audited by an external party.