This is so obviously illegal that
a *federal* judge has issued a temporary restraining order against the Department of Homeland Security and the US Marshal Service to prevent further harm. Such an order requires that no amount of money could redress the potential harm of continued activity (in this case, chilling of free speech, and maybe the threat of bodily harm I don't remember) and also that the actions be on-their-face illegal.
This is one of those "checks" that's supposed to stop the Executive Branch - but we already saw Oregon (or Portland, can't recall) bring lawsuits over the unidentified agents abducting people, and yet this is happening. The Judicial branch acts slowly, and the Executive has seemingly no regard for future consequences.
A note about the abductions by the way - from what I heard, few of those grabbed were actually charged. The clandestine "arrests" would never have held up in court, even if the agents had permission to enforce state laws (which they specifically did not). It seems comedicaly pointless, so what was the point? Many are suggesting they were fishing for people to resist and strike federal agents. Portland even pointed out that protesters would be well within their rights to do so, under the reasonable suspicion that the agents were right-wing agitators or worse with literally just the word "police" stitched on. But "protesters attack federal agents" would have been good copy. it's sociopathic.