Notion is often used as a backend in no-code and AI side projects.
Format: new integration tokens start with ntn_ followed by 40+ characters. Verify against Notion's docs. The older secret_ prefix is too generic and would cause false alarms, so leave it out.
How to do it
- Add
("Notion integration token", r"\bntn_[A-Za-z0-9]{40,}\b") (or your verified version) to SECRET_PATTERNS in repodx.py.
- Add
"ntn_" to CANDIDATE_LITERALS.
- Add the key to
SecretScanTests.test_detects_provider_keys in tests/test_repodx.py, built with fake(...).
- Run
python3 -m unittest discover and python3 repodx.py . (must stay 100/100).
Comment here to claim it. One issue per person. See CONTRIBUTING.md. Never paste a real key.
Notion is often used as a backend in no-code and AI side projects.
Format: new integration tokens start with
ntn_followed by 40+ characters. Verify against Notion's docs. The oldersecret_prefix is too generic and would cause false alarms, so leave it out.How to do it
("Notion integration token", r"\bntn_[A-Za-z0-9]{40,}\b")(or your verified version) toSECRET_PATTERNSinrepodx.py."ntn_"toCANDIDATE_LITERALS.SecretScanTests.test_detects_provider_keysintests/test_repodx.py, built withfake(...).python3 -m unittest discoverandpython3 repodx.py .(must stay 100/100).Comment here to claim it. One issue per person. See CONTRIBUTING.md. Never paste a real key.