We analyze the economic aspects of corruption in public procurement. We describe the conditions necessary to corruption and develop five intermediary objectives in the task of fighting against corruption. We propose a mechanism that pursues such objectives.