Skip to content

Conversation

madhav165
Copy link
Collaborator

🐛 Bug-fix PR


📌 Summary

Fixes prompt execution part of issue #361

🔁 Reproduction Steps

Refer to issue #361

🐞 Root Cause

Prompt arguments not validated

💡 Fix Description

  1. Add schema for PromptExecutionArgs where args are validation for XSS issues

🧪 Verification

Check Command Status
Lint suite make lint pass
Unit tests make test pass

📐 MCP Compliance (if relevant)

  • Matches current MCP spec
  • No breaking change to MCP clients

✅ Checklist

  • Code formatted (make black isort pre-commit)
  • No secrets/credentials committed

Signed-off-by: Madhav Kandukuri <[email protected]>
@madhav165 madhav165 requested a review from crivetimihai as a code owner July 22, 2025 19:51
@madhav165 madhav165 self-assigned this Jul 22, 2025
@crivetimihai crivetimihai merged commit ff8967e into main Jul 22, 2025
26 checks passed
@crivetimihai crivetimihai deleted the check-prompt-args branch July 22, 2025 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Prompt and RPC Endpoints Accept XSS Content Without Validation Error
2 participants