openclaw/extensions
Joel Cooper 513f3556e7 fix: enforce allowlist for explicit sends across all channels
Explicit-mode sends (agent tool calls, gateway send command) bypassed
the allowFrom allowlist on every channel adapter. An agent hallucination
or prompt injection could send messages to arbitrary recipients despite
dmPolicy: "allowlist" being configured.

Fix by:
- Adding allowlist enforcement to the default fallback in targets.ts,
  covering all channels without a custom resolveTarget (Discord, Slack,
  Matrix, MS Teams, etc.)
- Fixing WhatsApp (core + extension), Twitch, and Google Chat adapters
  to reject explicit sends to non-allowlisted targets
- Enforcing allowlist on WhatsApp group JIDs (previously unguarded)

Implicit and heartbeat modes still fall back to allowList[0] as before.

AI-assisted (Claude). Tested locally.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 14:34:19 -07:00
..
bluebubbles chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
copilot-proxy chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
diagnostics-otel chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
discord chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
google-antigravity-auth chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
google-gemini-cli-auth chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
googlechat fix: enforce allowlist for explicit sends across all channels 2026-01-29 14:34:19 -07:00
imessage chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
line chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
llm-task chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
lobster chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
matrix chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
mattermost chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
memory-core chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
memory-lancedb chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
msteams chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
nextcloud-talk chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
nostr chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
open-prose chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
qwen-portal-auth fix: enforce plugin config schemas (#1272) (thanks @thewilloftheshadow) 2026-01-20 11:03:17 +00:00
signal chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
slack chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
telegram chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
tlon chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
twitch fix: enforce allowlist for explicit sends across all channels 2026-01-29 14:34:19 -07:00
voice-call chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
whatsapp fix: enforce allowlist for explicit sends across all channels 2026-01-29 14:34:19 -07:00
zalo chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00
zalouser chore(release): bump versions to 2026.1.29 2026-01-29 16:48:13 +00:00