gpg-agent doesn't defend against another process by the same user
inspecting its memory or doing other nasty things to the process.
While i'm encouraging upstream to add what protections are possible
[0], it would also be useful to have some tooling around creating a
secondary user account to run the agent in a designated,
non-privileged manner.
This might be a distro-specific project, since account creation,
removal, etc are normally not handled by gpg itself, but by the
distro.
Perhaps we can use this bug to brainstorm such an approach for
gpg-agent at least.