botrefund.com
← BotRefund 首页 附加信号

通知权限不匹配

BotRefund 在主窗口中比较 navigator.permissions.query({ name: 'notifications' }) 与 Notification.permission,以捕获被修补的状态。

检测内容

Executing directly inside the main browser window, the probe invokes await navigator.permissions.query({ name: 'notifications' }) and compares its returned .state value against synchronous Notification.permission.

It specifically checks for an inconsistent split state where the asynchronous Permissions API claims 'granted' while synchronous Notification.permission simultaneously reports 'default' for the current origin.

为何重要

Stealth plugins frequently patch navigator.permissions.query to return 'granted' so fresh automated sessions look like established human visitors, while overlooking the static Notification.permission getter on the global window.

在真正的 Chromium、Firefox 和 Safari 构建中,两个 API 都从相同的底层源权限存储中读取并保持一致。由于异常的浏览器状态转换很少会短暂失同步,此检查需要佐证,并让位于强烈的人类行为。

说明

如何解读结果

01 预期结果

同窗口通知权限状态一致

Authentic browsers return matching notification permission states across both navigator.permissions.query and Notification.permission on the main window.

Example result Permissions API: prompt • Notification.permission: default — Result: consistent permission state
02 可能的自动化信号

Permissions API 为 'granted' 而 Notification 为 'default'

Reporting 'granted' from the Permissions API while Notification.permission stays 'default' indicates an incomplete JavaScript permission override.

Example result Permissions API: granted • Notification.permission: default — Result: notification permission shim detected

Forensic significance: Strong supporting indicator of JavaScript permission-API spoofing; evaluated alongside other browser integrity signals and verified user interaction rather than blocking alone.