School officials with Pioneer Ridge Middle School contacted Chaska police at 8 a.m. on Thursday to report a threat by a student involving a firearm toward a group of students on social media.