botrefund.com
← BotRefund Home ADDITIONAL SIGNALS

Notification Permission Mismatch

BotRefund compares navigator.permissions.query({ name: 'notifications' }) with Notification.permission in the main window to catch shimmed states.

What we test

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.

Why it matters

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.

In genuine Chromium, Firefox, and Safari builds, both APIs read from the same underlying origin permission store and agree. Because unusual browser state transitions can rarely desync transiently, this check requires corroboration and yields to strong human behavior.

EXPLANATION

How to interpret the response

01 EXPECTED RESPONSE

Same-window notification permission states agree

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 POSSIBLE AUTOMATION SIGNAL

Permissions API 'granted' vs 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.