1. A method comprising: parsing code of an application configured for execution on a user device to identify one or more sensitive portions of the code; identifying a trusted execution environment, different from the user device, suitable to execute the one or more sensitive portions of the code; and configuring the code to provide the one or more sensitive portions of the code from the user device to the trusted execution environment during execution of the application on the user device.