Were The Federalist Papers an attack on the US Constitution?

No! In fact, the Federalist Papers were written in support of the Constitution by Alexander Hamilton, James Madison, and John Jay. They were published to gain public support for tis ratification in many of the states, but primarily New York, where opposition was strong.