mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 13:16:47 +00:00
docs: update SECURITY_AUDIT for receipt processing safety
- Document /private path exceptions for safe cleanup - Add receipt file filtering details - Auto-format shell scripts (shellcheck)
This commit is contained in:
@@ -13,7 +13,7 @@ _MOLE_CORE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
[[ -z "${MOLE_BASE_LOADED:-}" ]] && source "$_MOLE_CORE_DIR/base.sh"
|
||||
|
||||
# Declare WHITELIST_PATTERNS if not already set (used by is_path_whitelisted)
|
||||
if ! declare -p WHITELIST_PATTERNS &>/dev/null; then
|
||||
if ! declare -p WHITELIST_PATTERNS &> /dev/null; then
|
||||
declare -a WHITELIST_PATTERNS=()
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user