Ledger Live is completely open source.
https://github.com/LedgerHQ/ledger-live
You can build it yourself.
People shit on Ledger (rightfully) for closed-source device firmware (the OS running on the signing device, which has nothing to do with sharing xpubs).