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