fix(security): harden untrusted web tool transcripts

This commit is contained in:
Peter Steinberger
2026-02-13 00:46:11 +01:00
parent 4543c401b4
commit da55d70fb0
13 changed files with 484 additions and 18 deletions

View File

@@ -67,6 +67,7 @@ export type ExternalContentSource =
| "email"
| "webhook"
| "api"
| "browser"
| "channel_metadata"
| "web_search"
| "web_fetch"
@@ -76,6 +77,7 @@ const EXTERNAL_SOURCE_LABELS: Record<ExternalContentSource, string> = {
email: "Email",
webhook: "Webhook",
api: "API",
browser: "Browser",
channel_metadata: "Channel metadata",
web_search: "Web Search",
web_fetch: "Web Fetch",