Keeping just the CIA within their borders would be fine
I believe that the CIA technically is not legally allowed to operate within the borders of the US. That is the realm of the FBI. However, missions tend to grow when it is convenient to the powerful to have them do so.