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
{{ message }}
Repository navigation
[bug] WebFetch tool URL validation is a no-op: invalid URLs pass through silently #33073
The WebFetch tool (packages/core/src/tool/webfetch.ts, line ~164-166) validates the URL protocol using �ssertHttpUrl wrapped in Effect.try({ try: () => assertHttpUrl(new URL(input.url)), catch: (error) => error }). The catch branch returns the error object as a SUCCESS value instead of failing the Effect. This means URL validation is effectively a no-op: invalid URLs pass through silently.
The execution continues to permission.assert and then tries to fetch the invalid URL. The network request eventually fails, but the error message is the generic "Unable to fetch " regardless of whether the URL was malformed or the network was unreachable.
Activity
rekram1-node commentedon Jun 22, 2026
STOP SPAMMING ISSUES.