Decrypted Generative Model safety files for Apple Intelligence containing filters Structure decrypted_overrides/ : Contains decrypted overrides for various models. com.apple.*/ : Directory named using the Asset Specifier assosciated with the safety info Info.plist : Contains metadata for the override AssetData/ : Contains the decrypted JSON files : Contains decrypted overrides for various models. get_key_lldb.py : Script to get the encryption key (see usage info below) : Script to get the encryption key (see usage info below) decrypt_overrides.py : Script to decrypt the overrides (see usage info below) Usage Python dependencies cryptography is the only dependency required to run the decryption script. You can install it using pip: pip install cryptography Getting the encryption key To retrieve the encryption key (generated by ModelCatalog.Obfuscation.readObfuscatedContents) for the overrides, you must attach LLDB to GenerativeExperiencesSafetyInferenceProvider ( /System/Library/ExtensionKit/Extensions/GenerativeExperiencesSafetyInferenceProvider.appex/Contents/MacOS/GenerativeExperiencesSafetyInferenceProvider ). Also it is important that this is Xcode's LLDB, not the default macOS one or LLVM's lldb. The method I recommend to get LLDB to attach: Run sudo killall GenerativeExperiencesSafetyInferenceProvider; sudo xcrun lldb -w -n GenerativeExperiencesSafetyInferenceProvider /System/Library/ExtensionKit/Extensions/GenerativeExperiencesSafetyInferenceProvider.appex/Contents/MacOS/GenerativeExperiencesSafetyInferenceProvider In the Shortcuts app, create a dummy shortcut that uses the Generative Model action ("Use Model") and select the On-Device option. Type whatever you want into the text field, it doesn't matter. Then run the shortcut. You should see LLDB attach to (the newly started instance of) GenerativeExperiencesSafetyInferenceProvider with a message like this: (lldb) process attach --name "GenerativeExperiencesSafetyInferenceProvider" --waitfor Process 53629 st...
First seen: 2025-07-06 20:24
Last seen: 2025-07-07 01:25