This is exactly why Unix PATH (and offspring) does not contain "." by default. If you unpack an untrusted archive and run "ls" you could get popped.
Agents should be no different.
Agents should be no different.
This is why the upstream didn't take it seriously, this has been known for literal decades.