1. A method comprising: parsing code of an application configured for execution in an execution environment on a user device to identify one or more sensitive portions of the code; identifying a trusted execution environment remote from the user device, suitable to execute the one or more sensitive portions of the code; prior to initialization of the application on the user device, configuring the code to provide the one or more sensitive portions of the code from the execution environment of the user device to the trusted execution environment during execution of the application in the execution environment of the user device; initializing execution of the application on the user device; establishing communications between the application and the trusted execution environment; responsive to initializing execution of the application, encrypting the one or more sensitive portions of the code and providing the encrypted one or more sensitive portions of the code to the trusted execution environment; and executing the one or more sensitive portions of the code in the trusted execution environment.