What are the risks of adding `/usr/libexec` to `$PATH`?
You should not add /usr/libexec to your path.
/usr/libexec is intended for &quot;system daemons &amp; system utilities (executed by other programs)&quot;.  This is the description from the command man hier.
So you don't want to directly run something from there by mistake.
If you have a reason to run one of those executables directly it is better create an alias.