It's old electric wall box for plug receptacle. Pulled a plug and it pulled box with it. It has two screw holes and one of them is broken.
Obviously in not gonna take it apart and install a new one.
Broken screw hole:
Home Improvement Stack Exchange is a question and answer site for contractors and serious DIYers. It only takes a minute to sign up.Sign up to join this community