how would i know i'm not going to be tricked by my friend. i trust him a lot to be honest, i know he isn’t going to betray me but there's nothing wrong to be sure that there's nothing wrong. how can i do that? how can i be sure that i'm not going to use a wallet with bug/malware installed to fuck my life savings.
Did he gave you brand new wallet or it was opened and pre-loaded with some coins and history of transactions?
Just make sure that device you receive was not opened or changed in any way, and just to make sure you can reset the device or import your own generated seed.
I had bad experience with friends connected with crypto so I don't trust anyone 100% and it's better to verify your device is genuine on ledger website.
Note that
Ledger nono S is stopping with manufacturing of this devices and I am sure they will stop supporting it with updates soon (like they did with all their previous junk).
I am not suggesting using this (or any of their products) as your main hardware wallet.