LS-LINEAR-001: Linear API Key¶
| Severity | HIGH |
| Blast radius | Internal project management exposure |
| Rotate at | https://linear.app/settings/api |
--verify |
POST https://api.linear.app/graphql ({ viewer { id } }) |
If this leaks¶
Grants API access to the Linear workspace's issues, projects, and roadmaps, exposing internal product and engineering plans.
What to do¶
- Rotate or revoke the credential at https://linear.app/settings/api.
- 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¶
\blin_api_[A-Za-z0-9]{40}\b
Suppress¶
On one line: # leakscan:ignore LS-LINEAR-001. For the whole project:
disable_rules: [LS-LINEAR-001]