Ashwin K. Chetty spent many hours last year ordering weight-loss drugs online.

A Yale medical student and researcher with a trim build, he posed as a 237-pound patient in a secret shopping test. He and his colleagues wanted to find out how much actual clinical oversight he would receive from the plethora of websites selling the revolutionary GLP-1 medications.