forked from molecule-ai/molecule-core
Unbounded io.ReadAll on the Discord webhook error response body was a LOW OOM risk: a malicious gateway or misconfigured proxy could return a multi-MB body and exhaust agent memory. Cap with io.LimitReader(resp.Body, 4096) — error messages are always short; any extra content is irrelevant noise. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| adapter.go | ||
| channels_test.go | ||
| discord_test.go | ||
| discord.go | ||
| lark_test.go | ||
| lark.go | ||
| manager.go | ||
| registry.go | ||
| secret_test.go | ||
| secret.go | ||
| slack.go | ||
| telegram.go | ||