You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* fix(msteams): add SSRF validation to file consent upload URL The uploadToConsentUrl() function previously accepted any URL from the fileConsent/invoke response without validation. A malicious Teams tenant user could craft an invoke activity with an attacker-controlled uploadUrl, causing the bot to PUT file data to arbitrary destinations (SSRF). This commit adds validateConsentUploadUrl() which enforces: 1. HTTPS-only protocol 2. Hostname must match a strict allowlist of Microsoft/SharePoint domains (sharepoint.com, graph.microsoft.com, onedrive.com, etc.) 3. DNS resolution check rejects private/reserved IPs (RFC 1918, loopback, link-local) to prevent DNS rebinding attacks The CONSENT_UPLOAD_HOST_ALLOWLIST is intentionally narrower than the existing DEFAULT_MEDIA_HOST_ALLOWLIST, excluding overly broad domains like blob.core.windows.net and trafficmanager.net that any Azure customer can create endpoints under. Includes 47 tests covering IPv4/IPv6 private IP detection, protocol enforcement, hostname allowlist matching, DNS failure handling, and end-to-end upload validation. * fix(msteams): validate all DNS answers for consent uploads * fix(msteams): restore changelog header --------- Co-authored-by: Brad Groux <bradgroux@users.noreply.github.com> |
8 months ago | |
|---|---|---|
| .. | ||
| acpx | 8 months ago | |
| alibaba | 8 months ago | |
| amazon-bedrock | 8 months ago | |
| amazon-bedrock-mantle | 8 months ago | |
| anthropic | 8 months ago | |
| anthropic-vertex | 8 months ago | |
| bluebubbles | 8 months ago | |
| brave | 8 months ago | |
| browser | 8 months ago | |
| byteplus | 8 months ago | |
| chutes | 8 months ago | |
| cloudflare-ai-gateway | 8 months ago | |
| comfy | 8 months ago | |
| copilot-proxy | 8 months ago | |
| deepgram | 8 months ago | |
| deepseek | 8 months ago | |
| device-pair | 8 months ago | |
| diagnostics-otel | 8 months ago | |
| diffs | 8 months ago | |
| discord | 8 months ago | |
| duckduckgo | 8 months ago | |
| elevenlabs | 8 months ago | |
| exa | 8 months ago | |
| fal | 8 months ago | |
| feishu | 8 months ago | |
| firecrawl | 8 months ago | |
| fireworks | 8 months ago | |
| github-copilot | 8 months ago | |
| 8 months ago | ||
| googlechat | 8 months ago | |
| groq | 8 months ago | |
| huggingface | 8 months ago | |
| image-generation-core | 8 months ago | |
| imessage | 8 months ago | |
| irc | 8 months ago | |
| kilocode | 8 months ago | |
| kimi-coding | 8 months ago | |
| line | 8 months ago | |
| litellm | 8 months ago | |
| llm-task | 8 months ago | |
| lobster | 8 months ago | |
| matrix | 8 months ago | |
| mattermost | 8 months ago | |
| media-understanding-core | 8 months ago | |
| memory-core | 8 months ago | |
| memory-lancedb | 8 months ago | |
| memory-wiki | 8 months ago | |
| microsoft | 8 months ago | |
| microsoft-foundry | 8 months ago | |
| minimax | 8 months ago | |
| mistral | 8 months ago | |
| moonshot | 8 months ago | |
| msteams | 8 months ago | |
| nextcloud-talk | 8 months ago | |
| nostr | 8 months ago | |
| nvidia | 8 months ago | |
| ollama | 8 months ago | |
| open-prose | 8 months ago | |
| openai | 8 months ago | |
| opencode | 8 months ago | |
| opencode-go | 8 months ago | |
| openrouter | 8 months ago | |
| openshell | 8 months ago | |
| perplexity | 8 months ago | |
| phone-control | 8 months ago | |
| qa-channel | 8 months ago | |
| qa-lab | 8 months ago | |
| qianfan | 8 months ago | |
| qqbot | 8 months ago | |
| qwen | 8 months ago | |
| runway | 8 months ago | |
| searxng | 8 months ago | |
| sglang | 8 months ago | |
| shared | ||
| signal | 8 months ago | |
| slack | 8 months ago | |
| speech-core | 8 months ago | |
| stepfun | 8 months ago | |
| synology-chat | 8 months ago | |
| synthetic | 8 months ago | |
| talk-voice | 8 months ago | |
| tavily | 8 months ago | |
| telegram | 8 months ago | |
| thread-ownership | 8 months ago | |
| tlon | 8 months ago | |
| together | 8 months ago | |
| twitch | 8 months ago | |
| venice | 8 months ago | |
| vercel-ai-gateway | 8 months ago | |
| video-generation-core | 8 months ago | |
| vllm | 8 months ago | |
| voice-call | 8 months ago | |
| volcengine | 8 months ago | |
| vydra | 8 months ago | |
| webhooks | 8 months ago | |
| 8 months ago | ||
| xai | 8 months ago | |
| xiaomi | 8 months ago | |
| zai | 8 months ago | |
| zalo | 8 months ago | |
| zalouser | 8 months ago | |
| .npmignore | ||
| AGENTS.md | 8 months ago | |
| CLAUDE.md | ||
| music-generation-providers.live.test.ts | 8 months ago | |
| tsconfig.package-boundary.base.json | 8 months ago | |
| tsconfig.package-boundary.paths.json | 8 months ago | |
| video-generation-providers.live.test.ts | 8 months ago | |