SAN FRANCISCO — You might want to watch what you say on your way in and out of court.

According to court papers filed Friday, federal agents placed secret recording devices in at least three locations around the entrance to the San Mateo County courthouse in Redwood City without first getting judicial approval.