feat(02-01): upgrade OpenAI and Anthropic provider YAMLs

- OpenAI: add sk-svcacct- and legacy T3BlbkFJ patterns
- Anthropic: add api03 AA suffix and sk-ant-admin01- pattern
- Sync both to pkg/providers/definitions/ for go:embed
This commit is contained in:
salvacybersec
2026-04-05 14:11:12 +03:00
parent 5079c65161
commit c0d3add7e1
4 changed files with 32 additions and 6 deletions

View File

@@ -2,12 +2,16 @@ format_version: 1
name: anthropic name: anthropic
display_name: Anthropic display_name: Anthropic
tier: 1 tier: 1
last_verified: "2026-04-04" last_verified: "2026-04-05"
keywords: keywords:
- "sk-ant-api03-" - "sk-ant-api03-"
- "sk-ant-admin01-"
- "anthropic" - "anthropic"
patterns: patterns:
- regex: 'sk-ant-api03-[A-Za-z0-9_\-]{93,}' - regex: 'sk-ant-api03-[A-Za-z0-9_\-]{93}AA'
entropy_min: 3.5
confidence: high
- regex: 'sk-ant-admin01-[A-Za-z0-9_\-]{93}AA'
entropy_min: 3.5 entropy_min: 3.5
confidence: high confidence: high
verify: verify:

View File

@@ -2,14 +2,23 @@ format_version: 1
name: openai name: openai
display_name: OpenAI display_name: OpenAI
tier: 1 tier: 1
last_verified: "2026-04-04" last_verified: "2026-04-05"
keywords: keywords:
- "sk-proj-" - "sk-proj-"
- "sk-svcacct-"
- "sk-none-"
- "openai" - "openai"
- "t3blbkfj"
patterns: patterns:
- regex: 'sk-proj-[A-Za-z0-9_\-]{48,}' - regex: 'sk-proj-[A-Za-z0-9_\-]{48,}'
entropy_min: 3.5 entropy_min: 3.5
confidence: high confidence: high
- regex: 'sk-svcacct-[A-Za-z0-9_\-]{48,}'
entropy_min: 3.5
confidence: high
- regex: 'sk-[A-Za-z0-9]{20,}T3BlbkFJ[A-Za-z0-9_\-]{20,}'
entropy_min: 3.5
confidence: high
verify: verify:
method: GET method: GET
url: https://api.openai.com/v1/models url: https://api.openai.com/v1/models

View File

@@ -2,12 +2,16 @@ format_version: 1
name: anthropic name: anthropic
display_name: Anthropic display_name: Anthropic
tier: 1 tier: 1
last_verified: "2026-04-04" last_verified: "2026-04-05"
keywords: keywords:
- "sk-ant-api03-" - "sk-ant-api03-"
- "sk-ant-admin01-"
- "anthropic" - "anthropic"
patterns: patterns:
- regex: 'sk-ant-api03-[A-Za-z0-9_\-]{93,}' - regex: 'sk-ant-api03-[A-Za-z0-9_\-]{93}AA'
entropy_min: 3.5
confidence: high
- regex: 'sk-ant-admin01-[A-Za-z0-9_\-]{93}AA'
entropy_min: 3.5 entropy_min: 3.5
confidence: high confidence: high
verify: verify:

View File

@@ -2,14 +2,23 @@ format_version: 1
name: openai name: openai
display_name: OpenAI display_name: OpenAI
tier: 1 tier: 1
last_verified: "2026-04-04" last_verified: "2026-04-05"
keywords: keywords:
- "sk-proj-" - "sk-proj-"
- "sk-svcacct-"
- "sk-none-"
- "openai" - "openai"
- "t3blbkfj"
patterns: patterns:
- regex: 'sk-proj-[A-Za-z0-9_\-]{48,}' - regex: 'sk-proj-[A-Za-z0-9_\-]{48,}'
entropy_min: 3.5 entropy_min: 3.5
confidence: high confidence: high
- regex: 'sk-svcacct-[A-Za-z0-9_\-]{48,}'
entropy_min: 3.5
confidence: high
- regex: 'sk-[A-Za-z0-9]{20,}T3BlbkFJ[A-Za-z0-9_\-]{20,}'
entropy_min: 3.5
confidence: high
verify: verify:
method: GET method: GET
url: https://api.openai.com/v1/models url: https://api.openai.com/v1/models