Skip to content

Configuration: Excessive Browser Permissions

Identifier: excessive_browser_permissions

Scanner(s) Support

GraphQL Scanner REST Scanner WebApp Scanner

Description

When a website unnecessarily grants access to special browser features or APIs to everyone, it can open the door to misuse. Instead of carefully limiting what parts of a browser an attacker or even third-party content should be able to access, developers might accidentally leave the door wide open for unwanted access to sensitive tools like the camera, microphone, or location services. This vulnerability happens when too many permissions are granted without proper oversight, increasing the risk of abuse or data breaches. Essentially, if left unaddressed, attackers could use these permissions to collect information or perform actions on behalf of users, which could lead to serious privacy and security issues. Developers need to watch out for the temptation to enable features by default and instead carefully choose what truly needs to be available to maintain a secure environment.

References:

Configuration

Example

Example configuration:

---
security_tests:
  excessive_browser_permissions:
    assets_allowed:
    - WEBAPP
    skip: false

Reference

assets_allowed

Type : List[AssetType]*

List of assets that this check will cover.

skip

Type : boolean

Skip the test if true.