[detector]
id = "stackblitz-credentials"
name = "StackBlitz Credentials"
service = "stackblitz"
severity = "high"
keywords = ["sb_", "sbp_", "STACKBLITZ", "stackblitz"]
[[detector.patterns]]
regex = "sb_[a-zA-Z0-9_-]{20,}"
description = "StackBlitz token with sb_ prefix"
[[detector.patterns]]
regex = "sbp_[a-zA-Z0-9_-]{20,}"
description = "StackBlitz project token with sbp_ prefix"
[[detector.patterns]]
regex = "(?:STACKBLITZ|stackblitz)[_\\s]*(TOKEN|API|KEY)[=:\\s\"'']+([a-zA-Z0-9_-]{20,})"
description = "StackBlitz credential with context anchor"
group = 2