Supabase Service Role JWT
Description
General
- Documentation: https://supabase.io/docs/learn/auth-deep-dive/auth-deep-dive-jwts
- Summary: Supabase provides an assisted solution to deploy a web application backend (database and API). JWT tokens are used as a means of authentication when performing API calls. This detector aims at catching service role JWT tokens, that have admin rights over the whole database.
Details for Supabase Service Role JWT
-
Family: token
-
Category: data_storage
-
Company: Supabase
-
High recall: False
-
Validity check available: True
-
Analyzer available: False
-
Revoker available: True
-
On-premise instances exist: False
-
Only valid secrets raise an alert: False
-
Occurrences found for one million commits: 15
-
Prefixed: False
Revoker
Auth Credentials
Valid credentials needed to authenticate the request.
- access_token: A Supabase personal access token (sbp_...), or an OAuth access token with the secrets:write scope, allowed to manage the API keys of the project the leaked key belongs to
HTTP Calls
List of calls performed by the revoker.
- PUT:
/v1/projects/{ref}/api-keys/legacy
Revocation Mode
Revocation is synchronous.