You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
engine: sanitize OpenAPI summaries/descriptions to plain text
Generated MCP tool + Agent Skill descriptions carried the source spec's raw HTML
(Stripe et al. ship <p>…</p>/<a> in operation descriptions), so a forged tool read
"Stripe Get Charges — <p>Use the <a href=…". Add plain(): strip tags, unescape
common entities, collapse whitespace (also fixes "Get Charges" double-spacing),
trim — applied at the parse point so all downstream tool/skill/param descriptions
are clean text.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments