[detector]
id = "deepnote-api-credentials"
name = "Deepnote API Credentials"
service = "deepnote"
severity = "high"
keywords = ["dn_", "DEEPNOTE", "deepnote"]
[[detector.patterns]]
regex = "dn_[a-zA-Z0-9_-]{20,}"
description = "Deepnote API token with dn_ prefix"
[[detector.patterns]]
regex = "(?:DEEPNOTE|deepnote)[_\\s]*(API|TOKEN|KEY)[=:\\s\"'']+([a-zA-Z0-9_-]{20,})"
description = "Deepnote API credential with context anchor"
group = 2
[detector.verify]
method = "GET"
url = "https://api.deepnote.com/v1/projects"
[detector.verify.auth]
type = "bearer"
field = "match"
[detector.verify.success]
status = 200