ragflow/agent/tools
Yongteng Lei 7a344a32f9
Fix: code exec component vulnerability and add support for nested list and dict object (#11504)
### What problem does this PR solve?

Fix code exec component vulnerability and add support for nested list
and dict object.

<img width="1491" height="952" alt="image"
src="https://github.com/user-attachments/assets/ec2de4e3-0919-413d-abe6-d19431292f14"
/>

Return a single value:

<img width="1156" height="719" alt="image"
src="https://github.com/user-attachments/assets/baa35caa-e27c-4064-a9f9-4c0af9a3d5b8"
/>


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
2025-11-25 14:35:41 +08:00
..
__init__.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
akshare.py Feat: Redesign and refactor agent module (#9113) 2025-07-30 19:41:09 +08:00
arxiv.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
base.py Refactor: move mcp connection utilities to common (#11304) 2025-11-17 15:34:17 +08:00
code_exec.py Fix: code exec component vulnerability and add support for nested list and dict object (#11504) 2025-11-25 14:35:41 +08:00
crawler.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
deepl.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
duckduckgo.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
email.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
exesql.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
github.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
google.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
googlescholar.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
jin10.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
pubmed.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
qweather.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
retrieval.py Fix: no result if metadata returns none. (#11412) 2025-11-20 19:51:25 +08:00
searxng.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
tavily.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
tushare.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
wencai.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
wikipedia.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00
yahoofinance.py Feat: add mechanism to check cancellation in Agent (#10766) 2025-11-11 17:36:48 +08:00