The difference in our argument is that I think it's important for good people to be involved in their government in order to support these western ideals and work to do the right thing.
It may be morally pure to just avoid the complex issues, but other than feeling good and maybe virtue signaling it doesn't actually help. Given the true need for security and organizations like this I think it's important for good people to be involved in this work. We have agency and a responsibility to make things better.
I think this argument changes when the foundational core is different (religious dictatorship) because the high level goals are not the same - you're immediately operating under a bad moral starting point when the law itself is bad and the government is not a representative democracy.
Your original point was:
> "If a person is comfortable working for an American intelligence agency and you are comfortable with people who do then I don't see how this situation is any worse."
I'm arguing it's both a lot worse and that there are good reasons for a moral person to work with western intelligence agencies.