Apple has literally zero "security features" that rely on the app store.
They do not review source code. There is malware on the Apple app store, because they do not review apps for malware. Because they do not review source code.
Any other opinion is just not true.