Illicit OAuth Consent Grant for High-Privilege Permissions

Detects when a user grants consent to a third-party application via the OAuth consent framework, specifically looking for grants that include highly privileged permissions such as Mail.ReadWrite, Contacts.Read, or offline_access. This can indicate a compromised user account being used to establish persistence or gain further access through a malicious application.