Bruce Banner
03/04/2026, 7:38 PMSafari returns both Safari and Safari extensions. However some extensions just report their name as Safari and not as the extension name. In this case the extension is AdGuard mini.
I see other extensions that are reporting their real name. How do we get AdGuard mini to report it's correct name here?Unthread
03/04/2026, 11:12 PMSELECT * FROM safari_extensions
Feel free to narrow down the returned data to just the extension we're looking at, I didn't want to do any conditional checks since there's a chance the name is returning oddly from osquery.Unthread
03/04/2026, 11:12 PMBruce Banner
03/05/2026, 12:31 AMosquery> SELECT * FROM safari_extensions;
W0304 16:28:47.896507 166847040 virtual_table.cpp:1005] The safari_extensions table returns data based on the current user by default, consider JOINing against the users table
W0304 16:28:47.896571 166847040 virtual_table.cpp:1022] Please see the table documentation: <https://osquery.io/schema/#safari_extensions>
osquery>
osquery is version 5.20.0.
Fleet 4.80.1 • Go go1.25.6Bruce Banner
03/05/2026, 12:35 AMBruce Banner
03/05/2026, 12:45 AMSELECT * FROM users CROSS JOIN safari_extensions USING (uid);
and here i redacted some info
select 'h' as Host, bundle_version, identifier, name, uuid, version FROM users CROSS JOIN safari_extensions USING (uid);Bruce Banner
03/05/2026, 12:51 AM/Applications/AdGuard <http://Mini.app/Contents/PlugIns/%.appex/Contents/Info.plist|Mini.app/Contents/PlugIns/%.appex/Contents/Info.plist>Bruce Banner
03/05/2026, 12:57 AMSafari, and is the only one with CFBundleIdentifier of com.adguard.safari.AdGuard.Extension (which is the in the identifier column of the query results. So I guess that's on those guys that they have a bad name? Would it be useful for fleet/osquery to take the name from whatever's in /Applications instead, if the name in the Info.plist == Safari?
$ pwd
/Applications/AdGuard <http://Mini.app/Contents/PlugIns|Mini.app/Contents/PlugIns>
$ ls */Contents/Info.plist
CustomContentBlocker.appex/Contents/Info.plist OtherContentBlocker.appex/Contents/Info.plist PrivacyContentBlocker.appex/Contents/Info.plist SocialContentBlocker.appex/Contents/Info.plist
GeneralContentBlocker.appex/Contents/Info.plist PopupExtension.appex/Contents/Info.plist SecurityContentBlocker.appex/Contents/Info.plist
$ grep Safari */Contents/Info.plist
CustomContentBlocker.appex/Contents/Info.plist: <string>com.apple.Safari.content-blocker</string>
CustomContentBlocker.appex/Contents/Info.plist: <key>SFSafariWebsiteAccess</key>
GeneralContentBlocker.appex/Contents/Info.plist: <string>com.apple.Safari.content-blocker</string>
GeneralContentBlocker.appex/Contents/Info.plist: <key>SFSafariWebsiteAccess</key>
OtherContentBlocker.appex/Contents/Info.plist: <string>com.apple.Safari.content-blocker</string>
OtherContentBlocker.appex/Contents/Info.plist: <key>SFSafariWebsiteAccess</key>
PopupExtension.appex/Contents/Info.plist: <string>Safari</string>
PopupExtension.appex/Contents/Info.plist: <string>com.apple.Safari.extension</string>
PopupExtension.appex/Contents/Info.plist: <string>PopupExtension.SafariExtensionHandler</string>
PopupExtension.appex/Contents/Info.plist: <key>SFSafariContentScript</key>
PopupExtension.appex/Contents/Info.plist: <key>SFSafariToolbarItem</key>
PopupExtension.appex/Contents/Info.plist: <key>SFSafariWebsiteAccess</key>
PrivacyContentBlocker.appex/Contents/Info.plist: <string>com.apple.Safari.content-blocker</string>
PrivacyContentBlocker.appex/Contents/Info.plist: <key>SFSafariWebsiteAccess</key>
SecurityContentBlocker.appex/Contents/Info.plist: <string>com.apple.Safari.content-blocker</string>
SecurityContentBlocker.appex/Contents/Info.plist: <key>SFSafariWebsiteAccess</key>
SocialContentBlocker.appex/Contents/Info.plist: <string>com.apple.Safari.content-blocker</string>
SocialContentBlocker.appex/Contents/Info.plist: <key>SFSafariWebsiteAccess</key>Rachel Perkins
03/05/2026, 6:44 PMname without modifying the extension’s Info.plist or introducing an osquery patch that special‑cases this extension. The current behavior is “correct” from osquery’s perspective, just not helpful for you. Maybe the AdGuard team would be open to fixing their bug. From Fleet's GUI though, you are able to modify the name in the GUI if you have a software installer attached to it. That name will appear across all of Fleet's GUI as whatever you change it to.Rachel Perkins
03/05/2026, 6:45 PMif you have a software installer attached to itThese belong to teams which is a premium feature
Bruce Banner
03/05/2026, 7:37 PMRachel Perkins
03/06/2026, 2:19 PMRachel Perkins
03/06/2026, 2:20 PM