An Israeli firm has marketed espionage technologies to governments with offensive human rights histories.