1. A computer implemented method, comprising: in response to receiving a compilation request from an application to compile a source code during run time, the compilation request specifying the source code and a preference to compile the source code, identifying a first executable code from a cache based on the compilation request, the first executable code compiled from the source code specified in the compilation request; determining the first executable code was compiled by an insecure compiler, wherein the first executable code is authorized to be returned to the application in response to the compilation request if the first executable code was compiled by a secure compiler; determining, in response to the determining the first executable code was compiled by the insecure compiler, the first executable code is not authorized to be shared according to security constraints, wherein the first executable code is authorized to be shared if the security constraints are satisfied; identifying, in response to the determining the first executable code is not authorized to be shared, one or more compilers to build a second executable code for the source code according to the preference of the compilation request; and storing security attributes with the second executable code in the cache according to the identified one or more compilers.