bill of attainder

noun

1.
a legislative act finding a person guilty of treason or felony without a trial