WeKnora/internal/im/wecom
wizardchen b2c009e61c feat(security): implement SSRF and path traversal protections in image handling and file downloads
- Added SSRF protection by stripping client-supplied URL and Caption fields from image attachments in the QA request handler.
- Introduced a validation function to ensure Feishu API path parameters contain only safe characters, preventing path traversal attacks.
- Enhanced the WeCom webhook adapter to reject internal/private URLs unless they are on an allowlist, improving security during file downloads.
- Implemented a mechanism to bypass SSRF checks for trusted IM platform API hosts.
2026-03-25 22:08:29 +08:00
..
longconn.go feat(im): integrate command dispatch, QA queue, rate limiting, and streaming improvements 2026-03-20 15:49:59 +08:00
webhook_adapter.go feat(security): implement SSRF and path traversal protections in image handling and file downloads 2026-03-25 22:08:29 +08:00
ws_adapter.go feat(im): add file support and knowledge base integration 2026-03-17 22:23:24 +08:00