There is supposed to be an oversight committee to monitor and stop acts of these agencies from infringing on the rights of American citizens. But, as is typical, such power corrupts.
Perhaps thirty years ago, oversight of these agencies began to wane.
Now, the heads of agencies publicly flip off congress.