contraption -
A machine or device that appears strange or unnecessarily complicated, and often badly made or unsafe
Cedric built a contraption on top of his motorcycle to transport his family, but he had good reason to be concerned about their safety.