See, if you hadn’t wanted it to be safe, you could get all kinds of answers.
There really isn’t anything you can get into your bloodstream that will kill the mosquitoes without causing some degree of issues for a human. The only question is how severe, and whether or not you can get it without a prescription.
Since we already have topical chemicals that keep them away relatively well, ingesting or injecting anything would be silly.