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:
@@ -2,12 +2,16 @@ format_version: 1
|
||||
name: anthropic
|
||||
display_name: Anthropic
|
||||
tier: 1
|
||||
last_verified: "2026-04-04"
|
||||
last_verified: "2026-04-05"
|
||||
keywords:
|
||||
- "sk-ant-api03-"
|
||||
- "sk-ant-admin01-"
|
||||
- "anthropic"
|
||||
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
|
||||
confidence: high
|
||||
verify:
|
||||
|
||||
@@ -2,14 +2,23 @@ format_version: 1
|
||||
name: openai
|
||||
display_name: OpenAI
|
||||
tier: 1
|
||||
last_verified: "2026-04-04"
|
||||
last_verified: "2026-04-05"
|
||||
keywords:
|
||||
- "sk-proj-"
|
||||
- "sk-svcacct-"
|
||||
- "sk-none-"
|
||||
- "openai"
|
||||
- "t3blbkfj"
|
||||
patterns:
|
||||
- regex: 'sk-proj-[A-Za-z0-9_\-]{48,}'
|
||||
entropy_min: 3.5
|
||||
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:
|
||||
method: GET
|
||||
url: https://api.openai.com/v1/models
|
||||
|
||||
Reference in New Issue
Block a user