(formerly) a legislative act finding a person guilty without trial of treason or felony and declaring him or her attainted
See also attainder (sense 1)
bill of attainder in American English
a legislative enactment by which a person is pronounced guilty, without trial, of an alleged crime, orig. a capital crime, esp. treason: prohibited in the U.S. by the Constitution