schema_version = 1
detector_id = "mx-api-credentials"
service = "mx"
severity = "critical"
[[positive]]
text = "MX_CLIENT_ID=CLIENT-353FcCafd"
credential = "CLIENT-353FcCafd"
reason = "Canonical anchor + synthesized body satisfying detector's primary regex."
[[positive]]
text = "MX_CLIENT_ID=\"CLIENT-353FcCafd\""
credential = "CLIENT-353FcCafd"
reason = "Quoted-value variant of the canonical positive."
[[negative]]
text = "MX_CLIENT_ID=YOUR_API_KEY_HERE_PLACEHOLDER_VALUE"
reason = "Placeholder-keyword body — suppression gate matches PLACEHOLDER prefix."
[[negative]]
text = "MX_CLIENT_ID=CLIENEXAMPLEEXAMPLEcCafd"
reason = "EXAMPLE token marker inside the body — suppression gate strips it."
[[evasion]]
text = "export MX_CLIENT_ID=CLIENT-353FcCafd"
credential = "CLIENT-353FcCafd"
reason = "Adversarial env_export envelope — credential must still surface under this detector."
[perf]
fixture_bytes = 4096
max_microseconds = 25000
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"