Hacker News new | ask | show | jobs
by radim_h 44 days ago
Hey, we’ve added HTTP body and MCP argument rules now, including value checks and an allow_fields list to reject unknown fields. Your feedback and input from others helped shape this!

Implementation and examples: https://github.com/stashbase/cli/releases/tag/v0.22.0

1 comments

Nice, that was fast. Failing closed when the body isn't readable JSON is the part I'd have worried about most, and you covered it. Naming the field but not the value in the 403 is a good call too. The agent learns what to fix without the log leaking a recipient or an amount.

One thing I'd be curious about over time is GraphQL, since one endpoint can do everything. An exact-query allowlist is the safe default, but it'll get painful fast on big APIs. Thanks for following up.

Feel free to test it out!