From 74867bdc400c13c06a8154cfda665c620848dfda Mon Sep 17 00:00:00 2001 From: spaceoden <26421479+spaceoden@users.noreply.github.com> Date: Wed, 30 Oct 2024 20:01:05 -0800 Subject: [PATCH] feat: Update 70-secureblue.just to include ipc perm check in audit script (#495) Co-authored-by: RoyalOughtness <129108030+RoyalOughtness@users.noreply.github.com> --- files/system/usr/share/ublue-os/just/70-secureblue.just | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/system/usr/share/ublue-os/just/70-secureblue.just b/files/system/usr/share/ublue-os/just/70-secureblue.just index 6ebc8d6..067f3f8 100644 --- a/files/system/usr/share/ublue-os/just/70-secureblue.just +++ b/files/system/usr/share/ublue-os/just/70-secureblue.just @@ -645,6 +645,10 @@ audit-secureblue: status="$STATUS_FAILURE" warnings+=("> $f has ptrace access!") fi + if hasPermission "$permissions" "shared" "ipc"; then + status="$STATUS_FAILURE" + warnings+=("> $f has inter-proccess communications access!") + fi flatpak_test_string="Auditing $f" print_status "$flatpak_test_string" "$status" for warning in "${warnings[@]}"; do