Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

Say in SECURITY.md that the helper's gate is the administrator check

Țugui Dragoș5e72f97d2a5d
diff --git a/SECURITY.md b/SECURITY.md
index cb7573a2..cb49d575 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -92,8 +92,11 @@ have, and anything that destroys data that cannot be recovered.
**The privileged helper.** This is the part that matters most.
- Any way for a process that is not the installed copy of Peel to get the helper to act. That
- includes defeating the code-signing requirement on the XPC peer, replaying or forging a
- connection, or reaching the Mach service from an unprivileged process.
+ includes defeating the code-signing requirement on the XPC peer, or replaying or forging a
+ connection.
+- Any way to get the helper to act for an account that is not an administrator. Every account on the
+ Mac can reach its Mach service, by design; the helper answers administrators only, checked when a
+ connection opens and again with each message.
- Any way to get the helper to touch a path outside the locations `PrivilegedPathPolicy` allows:
path traversal, `..` handling, symlink or hardlink following, mount tricks, firmlinks, or a
race between the check and the file operation (TOCTOU).