Replace the duct tape with one of these.
That is sketchy, should get an outlet box installed
Certainly not safe.
Duct tape conducts electricity, put it in a electrical wall box from Lowes/home depot
It needs to be in an outlet box.
Exposed connectors and bare wire is never ever safe. That’s how you get electrocuted.
Wrap in aluminum foil. Prevents EMI.