It’s hard to tell.
You install your own windows? Do you really know if the pre-installed windows gets deleted?
You install your own linux? There is still the BIOS that could carry some unwanted “evil” software.
Then there is the possibility of unwanted “evil” hardware or firmware parts inside some of the chips…
Mods please.