wso2 / wso2/api-platform

[Bug]: Policy validation not implemented for LLMs

Open
#1,590 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1.0.0 Area/AIGateway Area/Management Aspect/AI Aspect/API Severity/Major Type/Bug
Dominant language
Go
Stars
71
Forks
111
Avg merge
1d 14h
Merged PRs (30d)
110

Description

Please select the area the issue is related to

Area/Management (Management API or Management Portal UI), Area/AIGateway (AI Gateway runtime/control plane)

Please select the aspect the issue is related to

Aspect/API (API backends, definitions, contracts, interfaces, OpenAPI), Aspect/AI (AI/LLM integration, MCP, AI readiness)

Description

LLMs can be created with incorrect policy configurations. This will not be caught before the deployment to show an error to the user due to the missing validator

Steps to Reproduce

Create an LLM Provider with an incorrect policy config

Severity Level of the Issue

Severity/Major (Important functionality is broken. Should be prioritized. Doesn't need immediate attention)

Environment Details (with versions)

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Trace LLM Provider creation and deployment validation to find where policy configurations are checked. Reproduce the issue with an incorrect policy config, then confirm that creation reports a useful validation error before deployment and that valid configurations remain accepted.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
ai, api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.