You don't need to download XProtect because it's an anti-virus feature in macOS that's automatically enabled and updated on your Mac.