TMAegisBeta
更多 macos 规则

macOS

TMA-MACOS-6.3.7

Ensure Show Full Website Address in Safari Is Enabled

低级别 1自动化macos

说明

Attackers use websites with malicious or unwanted content to exploit the user or the computer. Part of the attack chain is to lure someone to load their content rather than the desired content. In order to reduce the risk in interacting with unwanted content, the full website address should always be displayed in Safari.

检查方式

审计方法: Shell 命令

shell
out=$(/usr/sbin/system_profiler SPConfigurationProfileDataType 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -E 'ShowFullURLInSmartSearchField' | /usr/bin/tr -d ' '
预期输出
ShowFullURLInSmartSearchField=1;

修复方式

修复方法: 操作指南或基础设施补丁

Profile (preferred): com.apple.Safari ShowFullURLInSmartSearchField = <true/>.

属性

操作系统
macos-26
标签
macosapplications
参考
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 6.3.7 Ensure Show Full Website Address in Safari Is Enabled

检查本机

请在您有权审计的机器上运行此命令。扫描为只读操作。

shell
tmaegis scan --target macos