Apple has established a documented protocol for notifying users of state-sponsored spyware attacks via its Threat Notifications system. This mechanism is a well-publicized security feature that provides alerts directly to users' devices when the company detects targeted surveillance attempts.