Abby quotes James Madison from Federalist Paper #10:

“Bills of attainder, ex post facto laws, and laws impairing the
obligations of contracts, are contrary to the first principles of the
social compact, and to every principle of sound legislation. …”

But of course, Madison was a liberal while our government is currently being run by progressives. The value systems of the two are quite different. The former is concerned with limiting government power while the latter espouses its aggrandizement.