TMAegisBeta
更多 macos 規則

macOS

TMA-MACOS-6.3.1

Ensure Automatic Opening of Safe Files in Safari Is Disabled

中等級 1自動化macos

說明

Safari will automatically run or execute what it considers safe files. This can include installers and other files that execute on the operating system. Safari evaluates file safety by using a list of filetypes maintained by Apple. The list of files include text, image, video and archive formats that would be run in the context of the OS rather than the browser.

檢查方式

稽核方法: Shell 指令

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

修補方式

修補方法: 操作指南或基礎設施修補檔

Profile (preferred): com.apple.Safari AutoOpenSafeDownloads = <false/>.

屬性

作業系統
macos-26
標籤
macosapplications
參考資料
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 6.3.1 Ensure Automatic Opening of Safe Files in Safari Is Disabled

檢查此主機

請在您有權稽核的機器上執行此指令。掃描為唯讀操作。

shell
tmaegis scan --target macos