Skip to content

PRP: Secret extractor for Square Access token #1232

@FUZZYCHICK

Description

@FUZZYCHICK

Secret Name

Square Access Token

Risk in Exposing the Secret

Square access tokens can be used to access payment data, process transactions, retrieve customer information, manage inventory, access location data, and perform financial operations through the Square API. This could lead to unauthorized access to sensitive payment information, customer data, business analytics, and the ability to process fraudulent transactions or refunds.

Validation Method

One can validate the access token with the following endpoint:

curl https://connect.squareup.com/v2/locations \
  -H "Authorization: Bearer access_token_here" 

Alternatively, test with a simple merchant info request:

curl https://connect.squareup.com/v2/merchants \
  -H "Authorization: Bearer access_token_here" \

Token Details

  • Application tokens are associated with specific Square applications

Reference

Square API Authentication Documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    PRPPatch Reward Program: This label is added to all PRP related issues for easy filteringPRP:RequestPatch Reward Program: This issue is a PRP contribution request and is being reviewed by the panel.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions