It may sound like a Hollywood pitch for a summer movie aimed at teens, but it’s taken directly from the pages of a federal lawsuit filed in Philadelphia that spins a tale of high school teachers secretly installing cameras in hundreds of students’ homes to spy on them.

The class-action suit, Robbins v. Lower Merion School District , alleges that 1,800 students were provided with laptop computers equipped with webcams which — unbeknown to the students or their parents — could be activated at any time by teachers and school administrators to spy on the students and their families in their homes.