Fork Bomb
When a protogen does things like that, isn't that technically performing brain surgery on themselves?
I tried to find an argument that it could be something like drugs or changing your outlook, but no, it's permanent. Basically casual brain surgery.
Is it though, once the system crashes and reboots it'll lose the ram contents, so the script won't run again (unless he chooses to run it again), that is unless he added into his visor's firmware directly.