1. A non-transitory computer-readable storage medium storing instructions that, when executed by a computer that has hardware implementing a particular instruction set architecture, cause the computer to perform a method comprising: receiving, by an application of the computer that has hardware implementing a particular instruction set architecture, a native code module that includes untrusted binary code native instructions for the particular instruction set architecture; validating, by a validator included in the application on the computer, the untrusted binary code native instructions in the native code module to determine whether to execute the untrusted binary code native instructions included in the native code module by: performing a decoding traversal, by the validator on the computer, of all executable instructions in the native code module; and determining, by the validator on the computer, that the decoded traversed executable instructions in the native code module a) are compliant with a plurality of security requirements for the particular instruction set architecture and b) can be executed; and executing the untrusted binary code native instructions directly on the hardware of the computer and in a secure runtime environment that is included in the application (i) in response to determining that the decoded traversed executable instructions in the native code module a) are compliant with the plurality of security requirements for the particular instruction set architecture and b) can be executed and (ii) after validating the untrusted binary code native instructions.