Most hacks are safe, but just avoid using them. Usually that's what screws you over. If they appear legit, then the hacker is just trashing it and it probably doesn't affect your game. But, as for a virus, I doubt Nintendo, of all people, will allow gamers to use an unsafe service that could give them a virus. That would be a major issue as of a long time ago.