> How do independent researchers do this with legal safety?

In my experience it’s usually foreign nationals from third-world countries doing drive-by beg-bounty testing. Presumably they don’t much consider legality.

> Presumably they don’t much consider legality.

Or the operation is not even illegal where they come from?