We study whether the existence of opportunities to extract rents in a job affects the type of individuals who are attracted to it. We design a laboratory experiment in which individuals choose between two contracts, each offering a payment in return for performing a task, and we experimentally introduce the possibility of graft in one of the contracts. First, we find that the corruptible contract attracts less honest individuals and repels the more honest ones, thus changing the composition of the group that chooses that contract to the detriment of integrity. Second, we observe extensive graft when the opportunity is introduced. Using a double randomization strategy to disentangle pure incentives and selection effects, we find that selection is the fundamental driver of graft in our context.