LS-HUBSPOT-001: HubSpot Private App Token¶
| Severity | HIGH |
| Blast radius | CRM and customer data exposure |
| Rotate at | https://app.hubspot.com/private-apps/ |
If this leaks¶
Grants the CRM scopes configured on the private app, often including all contacts and deals.
What to do¶
- Rotate or revoke the credential at https://app.hubspot.com/private-apps/.
- Check the provider's audit logs for use you don't recognise.
- Remove it from git history (
leakscan purge --help) and load it from an environment variable or secret manager instead.
Pattern¶
\bpat-(?:na|eu)1-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}\b
Suppress¶
On one line: # leakscan:ignore LS-HUBSPOT-001. For the whole project:
disable_rules: [LS-HUBSPOT-001]