Fully autonomous AI Agents system capable of performing complex penetration testing tasks
Go ai-agentsai-security-toolanthropicautonomous-agentsgolanggptgraphqlmulti-agent-systemoffensive-securityopen-sourceopenaipenetration-testingpenetration-testing-toolsreactsecurity-automationsecurity-testingsecurity-toolsself-hosted
test(minimax): cover provider whitelist + secret pattern parity (refs #328)
Sergey Kozyrenkobfd80b1de99e
diff --git a/backend/pkg/config/config_test.go b/backend/pkg/config/config_test.goindex ac5dff67..70e7bd9b 100644--- a/backend/pkg/config/config_test.go+++ b/backend/pkg/config/config_test.go@@ -224,6 +224,7 @@ func TestGetSecretPatterns_AllFields(t *testing.T) {GLMAPIKey: "glm-123",KimiAPIKey: "kimi-123",QwenAPIKey: "qwen-123",+ MiniMaxAPIKey: "minimax-123",GoogleAPIKey: "AIza123",GoogleCXKey: "cx-123",OAuthGoogleClientID: "google-client-id",@@ -240,7 +241,7 @@ func TestGetSecretPatterns_AllFields(t *testing.T) {patterns := cfg.GetSecretPatterns()- expectedCount := 29+ expectedCount := 30if len(patterns) != expectedCount {t.Errorf("expected %d patterns, got %d", expectedCount, len(patterns))}@@ -294,6 +295,7 @@ func clearConfigEnv(t *testing.T) {"GLM_API_KEY", "GLM_SERVER_URL", "GLM_PROVIDER","KIMI_API_KEY", "KIMI_SERVER_URL", "KIMI_PROVIDER","QWEN_API_KEY", "QWEN_SERVER_URL", "QWEN_PROVIDER",+ "MINIMAX_API_KEY", "MINIMAX_SERVER_URL", "MINIMAX_PROVIDER","DUCKDUCKGO_ENABLED", "DUCKDUCKGO_REGION", "DUCKDUCKGO_SAFESEARCH", "DUCKDUCKGO_TIME_RANGE","SPLOITUS_ENABLED","GOOGLE_API_KEY", "GOOGLE_CX_KEY", "GOOGLE_LR_KEY",diff --git a/backend/pkg/server/models/providers_test.go b/backend/pkg/server/models/providers_test.goindex 42d87d15..efb1e271 100644--- a/backend/pkg/server/models/providers_test.go+++ b/backend/pkg/server/models/providers_test.go@@ -24,6 +24,7 @@ func TestProviderTypeValid(t *testing.T) {{"glm", ProviderType("glm")},{"kimi", ProviderType("kimi")},{"qwen", ProviderType("qwen")},+ {"minimax", ProviderType("minimax")},}for _, tt := range validTypes {