This is what we need app sandboxing for. No reason third-party apps should be able to read the browser's cookie database.
So yeah, you're right. App sandboxing please.
Any part of the space in which these copies exist being compromised will mean that your encryption is useless in the end.
I agree with the parent quote:
> I’ve found statements like these to not contribute very much towards solving any practical security problems.
2. https://flathub.org/apps/details/com.github.tchx84.Flatseal