Is there any country that doesn't have a bad human rights track record? Sure, some are worse than others. But where do you draw the line, and how far back into history are you willing to look?
This is a decent source: https://www.cato.org/human-freedom-index-new
There are 16 countries with personal freedom ranking above 9 (out of 10). US is ranked 26 with a score of 8.72, which intuitively makes sense.
Morocco is 135th with a score of 5.68, which pretty obviously indicates, that there is more than one thing wrong about offering hacking tools to the government