Still, a valid point for the vast majority of other package managers, including apt. At some point, you have to trust somebody though.
Which leads me to better respect what Ubuntu was doing with the Yama ptrace scope limiting (which prevents you from debugging a running process even if you're the same user, unless you change a /proc/sys var), and why the Weyland developers are wringing their hands on how to properly handle graphical app communication privileges (because currently, X11 allows any process to view any other process's display and events, including keyboard input)
Which is where your $PATH is often contained.
If an attacker can modify your $PATH (and has write-access to $HOME), you're pretty much done for.
Reading 'apt' source code highly unlikely for the majority of programmers I know.