Skip to content

Injection: Arbitrary Token Scope

Identifier: arbitrary_token_scope

Scanner(s) Support

GraphQL Scanner REST Scanner WebApp Scanner

Description

Arbitrary Token Scope Injection happens when an attacker tricks your system into adding arbitrary scopes to a token.

This allows them to access resources that they shouldn't be able to access.

References:

Configuration

Example

Example configuration:

---
security_tests:
  arbitrary_token_scope:
    assets_allowed:
    - REST
    - GRAPHQL
    - 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.