WASHINGTON — The US Supreme Court let stand Tuesday an immunity law on wiretapping viewed by government as a useful anti-terror tool but criticized by rights activists as a flagrant abuse of executive power.

The top US court declined to review a December 2011 appeals court decision that rejected a lawsuit against AT&T for helping the National Security Agency monitor its customers’ phone calls and Internet traffic.

Plaintiffs argue that the law allows the executive branch to conduct “warrantless and suspicionless domestic surveillance” without fear of review by the courts and at the sole discretion of the attorney general.

But President Barack Obama’s administration has argued to keep the immunity law in place, saying it would imperil national security to end such cooperation between the intelligence agencies and telecom companies.