In this study, the authors identify a covalent inhibitor of PIN1 with anti-tumour and anti-metastatic properties thanks to PIN1 inactivation and to the release, after binding to PIN1, of a quinone-mimicking compound that elicits reactive oxygen generation and causes DNA damage. Here, PIN1 is linked to neoplasm.