This study examines the relationship between firm-level factors including corporate social responsibility (CSR) performance and financial constraints, and the firm-level risk of corruption. Facing a measurement challenge referring to firm-level risk of corruption, we define a corruption score based on corporate disclosures of corrupt activities. We show that, first, CSR performance is negatively related to the risk of corporate corruption. Second, a firm's vulnerability to financial constraints is positively related to the risk of corporate corruption. Third, the effects are particularly strong for firms with low board independence. Finally, we contribute to prior literature by developing the first firm-level corruption score that is not only robust to prevalent corruption indices but is also applicable to any dataset and can be used for future research on firm-level corruption. Moreover, the study provides new empirical evidence on firm-level determinants that relate to corporate corruption risk.