Would Nash DEX avoid issues such as this recent one with Beaxy exchange?

TLDR; an XRP “wallet exploit” led to a coordinated sell-off and trading had to be halted.

But it also sounds like the exploit might have just been a dev oversight:

Curious whether this could be another justification for non-custodial exchanges as the ideal future for secure trading, or if similar exploits could be possible on DEXs?