Is this taped socket where the screws broke out an okay interim solution, or dangerous?

Welcome to /r/AskElectricians. To get verified, send a photo to the mods that has your certificate/seal/card. In this photo, have a piece of paper with your username and date written on it. Block out all identifying information. Once verified delete the image. If the instructions are not followed exactly, the request will be ignored.