1. Is this mistake somewhere else also?
2. What next bug is hidden behind this one?
3. What should I do to prevent bugs like this?
I was using SRCnet in 1981, when Liverpool Physics had a dedicated link to Daresbury (national lab) whose speed I don't remember at that stage. Unfortunately the infamous PDP11 "terminal concentrators" for interactive use then were horribly unreliable. RJE to the cloud, where analyses ran, worked well.
You could, with a tiny amount of password hacking, joyride around the system quite easily, at least as far as getting to a login message on a remote host, possibly logging on with a guest account and having a text chat with surprised people in other countries.