From a1f0b2dd3e2780bc8d680aa010724a856db3461f Mon Sep 17 00:00:00 2001 From: salvacybersec Date: Sun, 5 Apr 2026 14:11:27 +0300 Subject: [PATCH] feat(02-03): add Groq, Replicate, Anyscale provider YAMLs - Groq: gsk_ prefix, 52 chars (high confidence) - Replicate: r8_ prefix, 37 chars (high confidence) - Anyscale: esecret_ prefix (high confidence) - Dual-located in providers/ and pkg/providers/definitions/ --- pkg/providers/definitions/anyscale.yaml | 21 +++++++++++++++++++++ pkg/providers/definitions/groq.yaml | 21 +++++++++++++++++++++ pkg/providers/definitions/replicate.yaml | 21 +++++++++++++++++++++ providers/anyscale.yaml | 21 +++++++++++++++++++++ providers/groq.yaml | 21 +++++++++++++++++++++ providers/replicate.yaml | 21 +++++++++++++++++++++ 6 files changed, 126 insertions(+) create mode 100644 pkg/providers/definitions/anyscale.yaml create mode 100644 pkg/providers/definitions/groq.yaml create mode 100644 pkg/providers/definitions/replicate.yaml create mode 100644 providers/anyscale.yaml create mode 100644 providers/groq.yaml create mode 100644 providers/replicate.yaml diff --git a/pkg/providers/definitions/anyscale.yaml b/pkg/providers/definitions/anyscale.yaml new file mode 100644 index 0000000..a0e49e2 --- /dev/null +++ b/pkg/providers/definitions/anyscale.yaml @@ -0,0 +1,21 @@ +format_version: 1 +name: anyscale +display_name: Anyscale Endpoints +tier: 2 +last_verified: "2026-04-05" +keywords: + - "esecret_" + - "anyscale" + - "ANYSCALE_API_KEY" + - "api.endpoints.anyscale.com" +patterns: + - regex: 'esecret_[A-Za-z0-9_\-]{20,}' + entropy_min: 3.5 + confidence: high +verify: + method: GET + url: https://api.endpoints.anyscale.com/v1/models + headers: + Authorization: "Bearer {KEY}" + valid_status: [200] + invalid_status: [401, 403] diff --git a/pkg/providers/definitions/groq.yaml b/pkg/providers/definitions/groq.yaml new file mode 100644 index 0000000..d7b92be --- /dev/null +++ b/pkg/providers/definitions/groq.yaml @@ -0,0 +1,21 @@ +format_version: 1 +name: groq +display_name: Groq +tier: 2 +last_verified: "2026-04-05" +keywords: + - "gsk_" + - "groq" + - "GROQ_API_KEY" + - "api.groq.com" +patterns: + - regex: 'gsk_[a-zA-Z0-9]{52}' + entropy_min: 3.5 + confidence: high +verify: + method: GET + url: https://api.groq.com/openai/v1/models + headers: + Authorization: "Bearer {KEY}" + valid_status: [200] + invalid_status: [401, 403] diff --git a/pkg/providers/definitions/replicate.yaml b/pkg/providers/definitions/replicate.yaml new file mode 100644 index 0000000..fa40ba5 --- /dev/null +++ b/pkg/providers/definitions/replicate.yaml @@ -0,0 +1,21 @@ +format_version: 1 +name: replicate +display_name: Replicate +tier: 2 +last_verified: "2026-04-05" +keywords: + - "r8_" + - "replicate" + - "REPLICATE_API_TOKEN" + - "api.replicate.com" +patterns: + - regex: 'r8_[0-9A-Za-z\-_]{37}' + entropy_min: 3.5 + confidence: high +verify: + method: GET + url: https://api.replicate.com/v1/predictions + headers: + Authorization: "Bearer {KEY}" + valid_status: [200] + invalid_status: [401, 403] diff --git a/providers/anyscale.yaml b/providers/anyscale.yaml new file mode 100644 index 0000000..a0e49e2 --- /dev/null +++ b/providers/anyscale.yaml @@ -0,0 +1,21 @@ +format_version: 1 +name: anyscale +display_name: Anyscale Endpoints +tier: 2 +last_verified: "2026-04-05" +keywords: + - "esecret_" + - "anyscale" + - "ANYSCALE_API_KEY" + - "api.endpoints.anyscale.com" +patterns: + - regex: 'esecret_[A-Za-z0-9_\-]{20,}' + entropy_min: 3.5 + confidence: high +verify: + method: GET + url: https://api.endpoints.anyscale.com/v1/models + headers: + Authorization: "Bearer {KEY}" + valid_status: [200] + invalid_status: [401, 403] diff --git a/providers/groq.yaml b/providers/groq.yaml new file mode 100644 index 0000000..d7b92be --- /dev/null +++ b/providers/groq.yaml @@ -0,0 +1,21 @@ +format_version: 1 +name: groq +display_name: Groq +tier: 2 +last_verified: "2026-04-05" +keywords: + - "gsk_" + - "groq" + - "GROQ_API_KEY" + - "api.groq.com" +patterns: + - regex: 'gsk_[a-zA-Z0-9]{52}' + entropy_min: 3.5 + confidence: high +verify: + method: GET + url: https://api.groq.com/openai/v1/models + headers: + Authorization: "Bearer {KEY}" + valid_status: [200] + invalid_status: [401, 403] diff --git a/providers/replicate.yaml b/providers/replicate.yaml new file mode 100644 index 0000000..fa40ba5 --- /dev/null +++ b/providers/replicate.yaml @@ -0,0 +1,21 @@ +format_version: 1 +name: replicate +display_name: Replicate +tier: 2 +last_verified: "2026-04-05" +keywords: + - "r8_" + - "replicate" + - "REPLICATE_API_TOKEN" + - "api.replicate.com" +patterns: + - regex: 'r8_[0-9A-Za-z\-_]{37}' + entropy_min: 3.5 + confidence: high +verify: + method: GET + url: https://api.replicate.com/v1/predictions + headers: + Authorization: "Bearer {KEY}" + valid_status: [200] + invalid_status: [401, 403]