Venezuela's socialist government said Wednesday it has derailed an attempted coup, claiming the United States, Colombia and Chile colluded in a plot by officers to assassinate President Nicolas Maduro and install a general in his place, a minister said.