pgEdge Go LLM Library discloses provider API key fragments in error messages in github.com/pgEdge/pgedge-go-llm-lib
{
"review_status": "UNREVIEWED",
"url": "https://pkg.go.dev/vuln/GO-2026-6969"
}{
"imports": [
{
"path": "github.com/pgEdge/pgedge-go-llm-lib/llm/provider/gemini",
"symbols": [
"client.Chat",
"client.ChatStream",
"client.Embed",
"client.EmbedBatch",
"client.ListModels",
"client.ListModelsWithMetadata",
"client.Ping",
"mapError"
]
},
{
"path": "github.com/pgEdge/pgedge-go-llm-lib/llm/provider/anthropic",
"symbols": [
"client.Chat",
"client.ChatStream",
"client.ListModels",
"client.ListModelsWithMetadata",
"client.Ping",
"mapError"
]
},
{
"path": "github.com/pgEdge/pgedge-go-llm-lib/llm/provider/openai",
"symbols": [
"client.Chat",
"client.ChatStream",
"client.Embed",
"client.EmbedBatch",
"client.ListModels",
"client.ListModelsWithMetadata",
"client.Ping",
"client.chatResponses",
"client.chatStreamResponses",
"mapError"
]
},
{
"path": "github.com/pgEdge/pgedge-go-llm-lib/llm/proxy",
"symbols": [
"Proxy.handleChatStream",
"Proxy.handleHealth",
"Proxy.writeError",
"writeSSE"
]
},
{
"path": "github.com/pgEdge/pgedge-go-llm-lib/llm/provider/ollama",
"symbols": [
"client.Chat",
"client.ChatStream",
"client.Embed",
"client.EmbedBatch",
"client.ListModels",
"client.ListModelsWithMetadata",
"client.Ping",
"mapError"
]
},
{
"path": "github.com/pgEdge/pgedge-go-llm-lib/llm/provider/voyage",
"symbols": [
"client.Embed",
"client.EmbedBatch",
"client.EmbedMultimodal",
"client.Ping",
"client.Rerank",
"client.postJSON"
]
}
]
}