SIGN IN SIGN UP
apache / superset UNCLAIMED

Apache Superset is a Data Visualization and Data Exploration Platform

0 0 150 TypeScript

fix(mcp): validate api_key_prefixes in CompositeTokenVerifier — filter empty/non-string entries

Empty-string prefixes match every Bearer token (DoS/misclassification vector).
Non-string entries cause TypeError in str.startswith(). Filter both in __init__,
warn on invalid entries, and only store valid non-empty string prefixes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
A
Amin Ghadersohi committed
fd80f7666126a1c3efee3ae9601deb83d2bdd3d3
Parent: 5bb3155