mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 12:41:46 +00:00
security: restrict BOM whitelist to prevent shared component deletion
- Removes shared directories (Frameworks, Plugins, etc) from receipt scanning whitelist - Ensures that uninstalling an app won't accidentally delete shared system libraries - Updates SECURITY_AUDIT.md to reflect stricter receipt scanning policy
This commit is contained in:
@@ -950,13 +950,6 @@ find_app_receipt_files() {
|
||||
/Library/LaunchAgents/*) is_safe=true ;;
|
||||
/Library/LaunchDaemons/*) is_safe=true ;;
|
||||
/Library/PrivilegedHelperTools/*) is_safe=true ;;
|
||||
/Library/Internet\ Plug-Ins/*) is_safe=true ;;
|
||||
/Library/Audio/Plug-Ins/*) is_safe=true ;;
|
||||
/Library/Frameworks/*) is_safe=true ;;
|
||||
/Library/Input\ Methods/*) is_safe=true ;;
|
||||
/Library/QuickLook/*) is_safe=true ;;
|
||||
/Library/PreferencePanes/*) is_safe=true ;;
|
||||
/Library/Screen\ Savers/*) is_safe=true ;;
|
||||
/Library/Extensions/*) is_safe=false ;;
|
||||
*) is_safe=false ;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user