That there is the hallmark of your system being hacked!
- Take it offline
- Close any open ports on your router (also check it for infected Firmware)
- Wipe it (the Pi4)
- Check all network connected equipment (better to be safe)
- Start over
- Never open up ports to Node RED, without knowing how to correctly secure it.