push-notifications
Audited by Socket on Jul 31, 2026
1 alert found:
AnomalyNo strong indicators of deliberate malware (no backdoor/persistence/exfiltration logic or obvious obfuscation) are present in the shown fragment. However, there is a meaningful security risk: the notification service extension appears to fetch remote media/avatars using URLs supplied directly in the untrusted notification payload without visible allowlisting/validation, then writes the downloaded bytes to disk and creates notification attachments from them. Additionally, the decryption key is shown being retrieved from shared UserDefaults rather than a more secure Keychain/secure storage mechanism, which is a confidentiality risk. Overall, this is likely functional but should be hardened by validating URL schemes/hosts, limiting destinations, enforcing size/content-type checks, and using secure key storage.