Will It Vibe logoWill It Vibe?
SECRET-044High severity-15 points

Square access token

Part of Security, which counts for 30% of the overall score. When this check fires it deducts 15 points from that category, once per scan, no matter how many places it turns up.

What it detects

A Square OAuth/access token (sq0atp-/sq0csp-/sq0idp-...) was found. It can read and act on the connected Square account.

Why it matters

A Square access token can read and act on the connected Square account, including payments and customer data. A leak is a financial and privacy risk. The token is long-lived until revoked.

How to fix it

Move the token into a server-side environment variable and read it at runtime; keep it off the client. Revoke the exposed token and issue a new one in the Square developer dashboard. Prefer OAuth with the least scopes needed.

The paid report includes a ready-to-paste prompt for your AI coding agent for every check it finds, pointed at the exact findings from your scan. See pricing

Does your repo trip this check?

Paste a GitHub URL or drop a project folder. Scans run in your browser and take seconds.

Scan your repo

Related Security checks