Yes it’s that same security considerations of BitTorrent. If you want to protect your IP from those you connect to, use a VPN. Or simply choose your peers to only those you trust. There are also obfuscation methods that will emerge P2P in the network itself and I know people thinking about those, but generally just thinking about it like BitTorrent is the easiest way to protect your privacy/safety as needed.