Prosecutors and the SEC "in a lot of ways . . . have been quite cavalier" about assuming that friendships are sufficient to satisfy the personal-benefit test in insider-trading cases, said Stephen Bainbridge, a law professor at the University of California, Los Angeles.