Earlier quoted context omitted.
> A gaping security hole What is that?
“the system installed GoGuardian monitoring software on the Chromebook without notice or permission.”
Students don't get to decide what software to install when it comes to logging in to school accounts. Generally the laptops are provided by the district, but it seems OP was trying to add another personal device to their system.
You can't participate in their system without the software. So I guess the alternative would be to block personal devices from logging in like this at all.