The rich execution environment (REE) is the ordinary operating environment of a phone, tablet or other device: its main operating system and the apps that run on it. It is called "rich" because it offers a full set of features, connectivity and third-party software. The term comes from the GlobalPlatform specifications, which contrast the REE with the isolated trusted execution environment (TEE) that runs alongside it on the same processor.
Because the REE runs large amounts of code from many sources, it is exposed to malware, rooting and other attacks. Payment designs therefore try to keep keys, PINs and cryptographic operations out of it, placing them in a TEE or a secure element instead. Where sensitive work must happen in the REE, as in parts of host card emulation and SoftPOS, it is protected by software hardening, short-lived keys and remote monitoring.
Ref 1090000085