Fix alertstore method calls - use high() instead of warning()

This commit is contained in:
Janik Besendorf
2025-11-07 16:49:05 +01:00
parent 301582d7dd
commit 5b1f4df7a4
2 changed files with 4 additions and 4 deletions

View File

@@ -133,14 +133,14 @@ class Mounts(AndroidArtifact):
if mount["is_system_partition"] and mount["is_read_write"]:
system_rw_mounts.append(mount)
if mount_point == "/system":
self.alertstore.warning(
self.alertstore.high(
self.get_slug(),
"Root detected /system partition is mounted as read-write (rw)",
"",
mount,
)
else:
self.alertstore.warning(
self.alertstore.high(
self.get_slug(),
f"System partition {mount_point} is mounted as read-write (rw). This may indicate system modifications.",
"",
@@ -156,7 +156,7 @@ class Mounts(AndroidArtifact):
):
continue
suspicious_mounts.append(mount)
self.alertstore.warning(
self.alertstore.high(
self.get_slug(),
f"Suspicious mount options found for {mount_point}: {', '.join(suspicious_opts)}",
"",

View File

@@ -46,7 +46,7 @@ class RootBinaries(AndroidQFModule):
# All found root binaries are considered indicators of rooting
for result in self.results:
self.alertstore.warning(
self.alertstore.high(
self.get_slug(),
f'Found root binary "{result["binary_name"]}" at path "{result["path"]}"',
"",