Skip to content

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

  1. Rotate or revoke the credential at https://www.notion.so/my-integrations.
  2. Check the provider's audit logs for use you don't recognise.
  3. 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]