WeKnora/internal/agent
nullkey 0b64ef9bd1 fix(security): support IPv6 in SSRF validation via whitelist mechanism
- Keep strict mode blocking all direct IPs (IPv4 and IPv6 uniformly)
- Unify all SSRF call sites to use ValidateURLForSSRF (whitelist-aware)
- Add Teredo (2001:0000::/32) and 6to4 (2002::/16) tunnel detection
- Make redirect handler and DNS pinning respect SSRF_WHITELIST
- Unexport isSSRFSafeURL to prevent future callers bypassing whitelist
- Add scheme validation for whitelisted redirect targets
- Document IPv6 whitelist syntax in .env.example
- Add comprehensive IPv6 test coverage
2026-03-31 20:45:15 +08:00
..
memory feat(agent): enhance message consolidation and context management 2026-03-25 22:08:29 +08:00
skills feat: adapt preloaded skills to smart-reasoning agent 2026-02-04 20:08:49 +08:00
token feat(agent): enhance message consolidation and context management 2026-03-25 22:08:29 +08:00
tools fix(security): support IPv6 in SSRF validation via whitelist mechanism 2026-03-31 20:45:15 +08:00
act.go feat: support parallel tool calling 2026-03-30 10:41:08 +08:00
const.go fix(agent): prevent empty response when no Knowledge Base is configured 2026-03-27 14:56:12 +08:00
engine.go fix(agent): prevent empty response when no Knowledge Base is configured 2026-03-27 14:56:12 +08:00
engine_image_test.go feat: auto-describe MCP tool result images via VLM 2026-03-25 21:38:15 +08:00
engine_test.go fix(agent): prevent empty response when no Knowledge Base is configured 2026-03-27 14:56:12 +08:00
finalize.go feat(agent): enhance token management and context handling in AgentEngine 2026-03-25 22:08:29 +08:00
observe.go fix(agent): prevent empty response when no Knowledge Base is configured 2026-03-27 14:56:12 +08:00
prompts.go feat: enhance localization and configuration support 2026-03-17 22:23:24 +08:00
think.go fix(agent): prevent empty response when no Knowledge Base is configured 2026-03-27 14:56:12 +08:00