schema_version = 1
detector_id = "hashnode-api-token"
service = "hashnode"
severity = "medium"
[[positive]]
text = "hashnode=1c4ce02cf2dfde95457503bd91cfa2fb"
credential = "1c4ce02cf2dfde95457503bd91cfa2fb"
reason = "Canonical anchor + synthesized body satisfying detector's primary regex."
[[positive]]
text = "hashnode=\"1c4ce02cf2dfde95457503bd91cfa2fb\""
credential = "1c4ce02cf2dfde95457503bd91cfa2fb"
reason = "Quoted-value variant of the canonical positive."
[[negative]]
text = "hashnode=YOUR_API_KEY_HERE_PLACEHOLDER_VALUE"
reason = "Placeholder-keyword body — suppression gate matches PLACEHOLDER prefix."
[[negative]]
text = "hashnode=1c4ceEXAMPLEEXAMPLEfa2fb"
reason = "EXAMPLE token marker inside the body — suppression gate strips it."
[[evasion]]
text = "export hashnode=1c4ce02cf2dfde95457503bd91cfa2fb"
credential = "1c4ce02cf2dfde95457503bd91cfa2fb"
reason = "Adversarial env_export envelope — credential must still surface under this detector."
[perf]
fixture_bytes = 4096
max_microseconds = 35000
note = "Standard single-file budget."
[scale]
fixture_bytes = 1048576
min_findings = 1
max_seconds = 2.0
note = "1 MiB filler + planted credential."
readme_claim = "900 service-specific detectors"