Ledger patches Ethereum app flaw after AI firm exposes $1B risk