From 5a919ea42a1dd7c5a3710bfcf819236a008988b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donncha=20=C3=93=20Cearbhaill?= Date: Fri, 10 Apr 2026 20:40:45 +0200 Subject: [PATCH] Fix SMS module alertstore.high() call passing slug as message The first argument was self.get_slug() (module slug) instead of a human-readable message. The module is already auto-detected via AlertStore._get_calling_module(). Also removed redundant log_latest(). --- src/mvt/ios/modules/mixed/sms.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mvt/ios/modules/mixed/sms.py b/src/mvt/ios/modules/mixed/sms.py index 5005ff5..bc619c2 100644 --- a/src/mvt/ios/modules/mixed/sms.py +++ b/src/mvt/ios/modules/mixed/sms.py @@ -77,12 +77,10 @@ class SMS(IOSExtraction): "text", "" ).startswith(alert_new): self.alertstore.high( - self.get_slug(), - f"Apple warning about state-sponsored attack received on the {message['isodate']}", + f"Apple warning about state-sponsored attack received on {message['isodate']}", message["isodate"], message, ) - self.alertstore.log_latest() if not self.indicators: return