Downloading torrents would be sketchy yes.
Just with any system, it is a secure as you make it.
I like the snapshot automation that truenas offers. That way if I do get hit with ransomware, shutdown everything and clear out the source of the attack and then in truenas revert the snapshot before it happened and my data is back.