Apple failing to detect malware behind a feature flag in 2026 is malpractice. Detecting large portions of dark code in a new app does not require LLMs. This has been done programmatically for years.
No it's very easy to miss. If the malicious code is very small it's not visible. The only way to solve this is source-code analysis and reproducible builds. Neither of which Apple encourages.