LS-NOTION-001: Notion API Key¶
| Severity | HIGH |
| Blast radius | Internal documentation exposure |
| Rotate at | https://www.notion.so/my-integrations |
--verify |
GET https://api.notion.com/v1/users/me |
If this leaks¶
Allows reading and writing every page and database the integration has been shared with, which can include internal documentation and wikis.
What to do¶
- Rotate or revoke the credential at https://www.notion.so/my-integrations.
- 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¶
\b(?:secret|ntn)_[A-Za-z0-9]{43}\b
Suppress¶
On one line: # leakscan:ignore LS-NOTION-001. For the whole project:
disable_rules: [LS-NOTION-001]