Pineapple's effects are not mysterious or due to some detox. The cuts and sores are due to the proteolytic effects of bromelain and penetration of acids into. The enzymatic content is highest at certain stages if left to 'ripen' which is a misnomer, the enzymatic content goes down as they are used to convert sugars resulting in a mellower flavor and less beneficial activity. Enzyme count is highest when first picked or even a bit 'unripe' as in papayas and other similar enzymatic fruits.