OpenBMB/UltraRAG
A Low-Code MCP Framework for Building Complex and Innovative RAG Pipelines
5f48fff03c74ultrarag0.3.0.2 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- Some paths pass through more than 8 functions one inside another; the scanner stops there
- In 435 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 21 source files could be read only in part
- 8 of 103 tools, prompts and resources could not be followed through the code
- 2 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
- 3 tools, prompts and resources registered only in the repository's tests are not counted on this page
Top risks in plain words
- HIGHCapabilities
build_image_corpus,build_mineru_corpus,build_text_corpus,chunk_documentsand 3 more read or write any file path by design: an agent steered by prompt injection can use them that way. - HIGHTool with a name computed at run time requests any address by design: an agent steered by prompt injection can use it that way.
- HIGH5 production dependencies have known vulnerabilities (worst: high).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
build_image_corpus,build_mineru_corpus,build_text_corpus,chunk_documentsand 3 more can read or write any file path. Mount a single project folder, read-only where you can. - Limit where it can connect
servers/retriever/src/retriever.py:1128can request any address. Block access to internal hosts and cloud metadata endpoints. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
build_image_corpus,build_mineru_corpus,build_text_corpusand 4 more, switch them off. - Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Update its vulnerable packages
Use
setuptools83.0.0 or later,soupsieve4.0.0 or later,transformers5.10.0 or later,vllm0.32.0 or later. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 71 tools, 29 prompts. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
build_text_corpusRankCoT_kr, RankCoT_qa, build_image_corpus, build_mineru_corpus, build_text_corpus, check_passages and 34 moreself.generation_init, self.retriever_initmineru_parse, self.generation_init, self.reranker_init, self.retriever_initself.generation_init, self.retriever_initNo tool was seen to: connect to the internet or other hosts.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files40 tools · RankCoT_kr, RankCoT_qa, build_image_corpus +37
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (100: 71 tools, 29 prompts)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
build_image_corpustool Build image corpus from PDF files by extracting pages as images.Filesoutside textReads/writes files
Build image corpus from PDF files by extracting pages as images.
Args:
parse_file_path: Path to PDF file or directory containing PDF files
image_corpus_save_path: Path where the image corpus JSONL file will be saved
Raises:
ToolError: If input path doesn't exist, no PDFs found, or pymupdf is not installedbuild_mineru_corpustool Build text and image corpus from MinerU parsing results.Filesoutside textReads/writes files
Build text and image corpus from MinerU parsing results.
Args:
mineru_dir: Directory containing MinerU parsing results
parse_file_path: Original path to PDF file(s) that were parsed
text_corpus_save_path: Path where the text corpus JSONL file will be saved
image_corpus_save_path: Path where the image corpus JSONL file will be saved
Raises:
ToolError: If mineru_dir doesn't exist, invalid input path, or no PDFs foundbuild_text_corpustool Build text corpus from various file formats.ProcessesFilesoutside textReads/writes files
Build text corpus from various file formats.
Args:
parse_file_path: Path to file or directory containing files to parse
text_corpus_save_path: Path where the text corpus JSONL file will be saved
Raises:
ToolError: If input path doesn't exist or required dependencies are missingchunk_documentstool Chunk documents using various chunking strategies.Filesoutside textReads/writes files
Chunk documents using various chunking strategies.
Args:
raw_chunk_path: Path to JSONL file containing documents to chunk
chunk_backend_configs: Dictionary of configuration for each chunking backend
chunk_backend: Chunking method to use ("token", "sentence", or "recursive")
tokenizer_or_token_counter: Tokenizer name or counter type ("word", "character", or tiktoken encoding)
chunk_size: Target size for each chunk
chunk_path: Optional output path for chunked documents (defaults to project output directory)
use_title: Whether to include document title in chunk content
Raises:
ToolError: If chonkie/tiktoken not installed, invalid chunking method, or chunking fails(name computed at run time)prompt
No description.
RankCoT_krprompt Generate prompts for RankCoT knowledge retrieval step.Filesoutside text
Generate prompts for RankCoT knowledge retrieval step.
Args:
q_ls: List of questions
ret_psg: List of retrieved passages (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsRankCoT_qaprompt Generate prompts for RankCoT QA step.Filesoutside text
Generate prompts for RankCoT QA step.
Args:
q_ls: List of questions
kr_ls: List of knowledge retrieval results (CoT reasoning)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectscheck_passagesprompt Generate prompts for passage checking (loop and branch demo).Filesoutside text
Generate prompts for passage checking (loop and branch demo).
Args:
q_ls: List of questions
ret_psg: List of retrieved passages (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsevisrag_vqaprompt Generate prompts for EVisRAG visual question answering.Filesoutside text
Generate prompts for EVisRAG visual question answering.
Args:
q_ls: List of questions
ret_psg: List of image path lists (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsgen_subqprompt Generate prompts for sub-question generation (loop and branch demo).Filesoutside text
Generate prompts for sub-question generation (loop and branch demo).
Args:
q_ls: List of questions
ret_psg: List of retrieved passages (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsircot_next_promptprompt Generate prompts for IRCoT (Iterative Retrieval Chain-of-Thought) pipeline.Filesoutside text
Generate prompts for IRCoT (Iterative Retrieval Chain-of-Thought) pipeline.
Args:
memory_q_ls: List of question lists (one per round)
memory_ret_psg: List of retrieved passage lists (one per round)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectspromptprompt
No description.
prompt.fnprompt
No description.
qa_boxedprompt Generate prompts for QA boxed format.Filesoutside text
Generate prompts for QA boxed format.
Args:
q_ls: List of questions
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsqa_boxed_multiple_choiceprompt Generate prompts for multiple choice QA boxed format.Filesoutside text
Generate prompts for multiple choice QA boxed format.
Args:
q_ls: List of questions
choices_ls: List of choice lists (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsqa_rag_boxedprompt Generate prompts for QA RAG boxed format.Filesoutside text
Generate prompts for QA RAG boxed format.
Args:
q_ls: List of questions
ret_psg: List of retrieved passages (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsqa_rag_boxed_multiple_choiceprompt Generate prompts for QA RAG boxed format with multiple choice.Filesoutside text
Generate prompts for QA RAG boxed format with multiple choice.
Args:
q_ls: List of questions
choices_ls: List of choice lists (one per question)
ret_psg: List of retrieved passage lists (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsqa_rag_with_memoryprompt Generate prompts with both global memory, retrieved project memory and retrieved passages.Filesoutside text
Generate prompts with both global memory, retrieved project memory and retrieved passages.
qa_with_memoryprompt Generate prompts with both global memory and retrieved project memory.Filesoutside text
Generate prompts with both global memory and retrieved project memory.
r1_searcher_genprompt Generate prompts for r1_searcher pipeline.Filesoutside text
Generate prompts for r1_searcher pipeline.
Args:
prompt_ls: List of previous prompts
ans_ls: List of previous answers
ret_psg: List of retrieved passages (one per prompt)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssearch_o1_initprompt Generate prompts for Search O1 initialization.Filesoutside text
Generate prompts for Search O1 initialization.
Args:
q_ls: List of questions
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssearch_o1_insertprompt Generate prompts for Search O1 by inserting sub-queries and results.Filesoutside text
Generate prompts for Search O1 by inserting sub-queries and results.
Args:
q_ls: List of questions
total_subq_list: List of sub-query lists (one per question)
total_final_info_list: List of final info lists (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssearch_o1_reasoning_indocumentprompt Generate prompts for Search O1 reasoning in document step.Filesoutside text
Generate prompts for Search O1 reasoning in document step.
Args:
extract_query_list: List of extracted search queries
ret_psg: List of retrieved passage lists (one per query)
total_reason_list: List of reasoning history lists (one per query)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssearch_r1_genprompt Generate prompts for search-r1 pipeline.Filesoutside text
Generate prompts for search-r1 pipeline.
Args:
prompt_ls: List of previous prompts
ans_ls: List of previous answers
ret_psg: List of retrieved passages (one per prompt)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssurveycpm_extend_planprompt Generate prompts for SurveyCPM extend plan step.Filesoutside text
Generate prompts for SurveyCPM extend plan step.
Args:
instruction_ls: List of user instructions
survey_ls: List of survey JSON strings
surveycpm_extend_plan_template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssurveycpm_init_planprompt Generate prompts for SurveyCPM initial plan step.Filesoutside text
Generate prompts for SurveyCPM initial plan step.
Args:
instruction_ls: List of user instructions
retrieved_info_ls: List of retrieved information strings
surveycpm_init_plan_template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssurveycpm_searchprompt Generate prompts for SurveyCPM search step.Filesoutside text
Generate prompts for SurveyCPM search step.
Args:
instruction_ls: List of user instructions
survey_ls: List of survey JSON strings
cursor_ls: List of cursor positions
surveycpm_search_template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssurveycpm_writeprompt Generate prompts for SurveyCPM write step.Filesoutside text
Generate prompts for SurveyCPM write step.
Args:
instruction_ls: List of user instructions
survey_ls: List of survey JSON strings
cursor_ls: List of cursor positions
retrieved_info_ls: List of retrieved information strings
surveycpm_write_template: Path to Jinja2 template file
Returns:
List of PromptMessage objectswebnote_fill_pageprompt Generate prompts for WebNote page filling.Filesoutside text
Generate prompts for WebNote page filling.
Args:
q_ls: List of questions
plan_ls: List of plans (one per question)
page_ls: List of page contents (one per question)
subq_ls: List of sub-questions (one per question)
psg_ls: List of passages (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectswebnote_gen_answerprompt Generate prompts for WebNote answer generation.Filesoutside text
Generate prompts for WebNote answer generation.
Args:
q_ls: List of questions
page_ls: List of page contents (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectswebnote_gen_planprompt Generate prompts for WebNote plan generation.Filesoutside text
Generate prompts for WebNote plan generation.
Args:
q_ls: List of questions
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectswebnote_gen_subqprompt Generate prompts for WebNote sub-question generation.Filesoutside text
Generate prompts for WebNote sub-question generation.
Args:
q_ls: List of questions
plan_ls: List of plans (one per question)
page_ls: List of page contents (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectswebnote_init_pageprompt Generate prompts for WebNote initial page creation.Filesoutside text
Generate prompts for WebNote initial page creation.
Args:
q_ls: List of questions
plan_ls: List of plans (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objects(name computed at run time)tool
No description.
assign_citation_idstool Assign sequential citation IDs to passages.
Assign sequential citation IDs to passages.
Args:
ret_psg: List of lists of document strings
Returns:
Dictionary with 'ret_psg' containing passages with [1], [2], etc. prefixesassign_citation_ids_statefultool Return numbered passages and updated, JSON-serializable query state.
Return numbered passages and updated, JSON-serializable query state.
Copy the input to preserve earlier pipeline snapshots and caller ownership.
No server-global state or cleanup step is required on failure/cancellation.buildtool
No description.
check_model_statetool Check if model should continue or stop based on search token.
Check if model should continue or stop based on search token.
Args:
ans_ls: List of answer strings
Returns:
Dictionary with 'ans_ls' containing answers with continue/stop statesevisrag_output_extract_from_specialtool Extract content from <answer>...</answer> tags for EvisRAG.
Extract content from <answer>...</answer> tags for EvisRAG.
Args:
ans_ls: List of answer strings that may contain <answer>...</answer> tags
Returns:
Dictionary with 'pred_ls' containing extracted contentget_datatool Load benchmark data from file with key mapping and optional shuffling.Filesoutside text
Load benchmark data from file with key mapping and optional shuffling.
Args:
benchmark: Dictionary containing:
- path: Path to the data file (required)
- key_map: Dictionary mapping alias keys to original keys (required)
- shuffle: Whether to shuffle the data (default: False)
- seed: Random seed for shuffling (default: 42)
- limit: Maximum number of records to load, -1 for no limit (default: -1)
- name: Name of the benchmark (optional)
Returns:
Dictionary with mapped keys containing lists of values
Raises:
NotFoundError: If path is missing or invalid
ToolError: If key_map is invalid or limit is invalidget_global_memorytool Read global memory from MEMORY.md.Filesoutside text
Read global memory from MEMORY.md.
Args:
user_id: User identifier. Defaults to "default".
Returns:
Dictionary containing global memory content.greettool Greet a person by name.
Greet a person by name.
Args:
name: Name of the person to greet
Returns:
Dictionary with 'msg' containing the greeting messageinit_citation_registrytool Create per-query citation state owned by this pipeline execution.
Create per-query citation state owned by this pipeline execution.
State travels through MCP as JSON rather than remaining in the server.
Each query has its own dictionary so branch filtering preserves its IDs.ircot_check_endtool Check if IRCoT answers are complete based on completion phrase.
Check if IRCoT answers are complete based on completion phrase.
Args:
ans_ls: List of answer strings
Returns:
Dictionary with 'ans_ls' containing answers with completion statesircot_extract_anstool Extract final answer from IRCoT responses using 'so the answer is' pattern.
Extract final answer from IRCoT responses using 'so the answer is' pattern.
Args:
ans_ls: List of answer strings
Returns:
Dictionary with 'pred_ls' containing extracted answersircot_get_first_senttool Extract first sentence from answers for IRCoT pipeline.
Extract first sentence from answers for IRCoT pipeline.
Args:
ans_ls: List of answer strings
Returns:
Dictionary with 'q_ls' containing first sentencesiterretgen_nextquerytool Generate next query by combining previous query with answer.
Generate next query by combining previous query with answer.
Args:
q_ls: List of previous queries
ans_ls: List of answers corresponding to queries
Returns:
Dictionary with 'nextq_ls' containing combined queriesmerge_passagestool Merge temporary passages into retrieved passages.
Merge temporary passages into retrieved passages.
Args:
temp_psg: List of temporary passage lists
ret_psg: List of retrieved passage lists to merge into
Returns:
Dictionary with 'ret_psg' containing merged passagesmineru_parsetool Parse PDF files using MinerU tool.Env vars
Parse PDF files using MinerU tool.
Args:
parse_file_path: Path to PDF file or directory containing PDF files
mineru_dir: Output directory for MinerU parsing results
mineru_extra_params: Optional dictionary of extra parameters for MinerU command
Raises:
ToolError: If mineru executable not found, invalid input path, or execution failsoutput_extract_from_boxedtool Extract content from LaTeX \\boxed{} expressions in answers.
Extract content from LaTeX \\boxed{} expressions in answers.
Args:
ans_ls: List of answer strings that may contain \\boxed{...} expressions
Returns:
Dictionary with 'pred_ls' containing extracted contentr1_searcher_checktool Check if r1_searcher answers are complete based on EOS tokens.
Check if r1_searcher answers are complete based on EOS tokens.
Args:
ans_ls: List of answer strings to check
Returns:
Dictionary with 'ans_ls' containing answers with completion statesr1_searcher_query_extracttool Extract search queries from answer list using <|begin_of_query|> tags.
Extract search queries from answer list using <|begin_of_query|> tags.
Args:
ans_ls: List of answer strings that may contain <|begin_of_query|>...</|begin_of_query|> tags
Returns:
Dictionary with 'extract_query_list' containing extracted queriesroute1tool Route queries to state1 or state2 based on query value.
Route queries to state1 or state2 based on query value.
Args:
query_list: List of query strings
Returns:
Dictionary with 'query_list' containing queries with routing states
Raises:
ValueError: If query cannot be converted to integerroute2tool Route all queries to state2.
Route all queries to state2.
Args:
query_list: List of query strings
Returns:
Dictionary with 'query_list' containing queries with state2save_memorytool Save one round of user-assistant dialogue into daily project memory.Filesoutside text
Save one round of user-assistant dialogue into daily project memory.
Args:
user_id: User identifier. Defaults to "default".
q_ls: Current round question.
ans_ls: Current round answer.
Returns:
None.search_o1_checktool Check if Search O1 should stop or continue retrieving.
Check if Search O1 should stop or continue retrieving.
Args:
ans_ls: List of answer strings
q_ls: List of query strings
total_subq_list: List of sub-question lists
total_reason_list: List of reasoning lists
total_final_info_list: List of final info lists
Returns:
Dictionary with all input lists wrapped with routing statessearch_o1_combine_final_informationtool Combine extracted final information into total list for Search-o1.
Combine extracted final information into total list for Search-o1.
Args:
total_final_info_list: List of lists to accumulate final information
extract_final_infor_list: New final information to add
Returns:
Dictionary with updated total_final_info_listsearch_o1_combine_listtool Combine extracted queries and reasons into total lists for Search-o1.
Combine extracted queries and reasons into total lists for Search-o1.
Args:
total_subq_list: List of lists to accumulate subqueries
extract_query_list: New queries to add
total_reason_list: List of lists to accumulate reasons
extract_reason_list: New reasons to add
Returns:
Dictionary with updated total_subq_list and total_reason_listsearch_o1_extract_final_informationtool Extract final information section from answers for Search-o1.
Extract final information section from answers for Search-o1.
Args:
ans_ls: List of answer strings that may contain **Final Information** section
Returns:
Dictionary with 'extract_final_infor_list' containing final informationsearch_o1_init_listtool Initialize lists for Search-o1 pipeline.
Initialize lists for Search-o1 pipeline.
Args:
q_ls: List of queries
Returns:
Dictionary with initialized lists for subq, reason, and final_infosearch_o1_query_extracttool Extract search queries from answers using Search-o1 tags.
Extract search queries from answers using Search-o1 tags.
Args:
ans_ls: List of answer strings containing <|begin_search_query|>...</|end_search_query|> tags
Returns:
Dictionary with 'extract_query_list' containing extracted queriessearch_o1_reasoning_extracttool Extract reasoning content before search query tags for Search-o1.
Extract reasoning content before search query tags for Search-o1.
Args:
ans_ls: List of answer strings
Returns:
Dictionary with 'extract_reason_list' containing reasoning contentsearch_r1_checktool Check if search-r1 answers are complete based on EOS tokens.
Check if search-r1 answers are complete based on EOS tokens.
Args:
ans_ls: List of answer strings to check
Returns:
Dictionary with 'ans_ls' containing answers with completion statessearch_r1_query_extracttool Extract search queries from answer list using <search> tags.
Extract search queries from answer list using <search> tags.
Args:
ans_ls: List of answer strings that may contain <search>...</search> tags
Returns:
Dictionary with 'extract_query_list' containing extracted queriesself.bm25_indextool Build BM25 index from corpus.
Build BM25 index from corpus.
Args:
overwrite: Whether to overwrite existing indexself.bm25_searchtool Search using BM25 index.
Search using BM25 index.
Args:
query_list: List of query strings
top_k: Number of top passages to return per query
Returns:
Dictionary with 'ret_psg' containing retrieved passagesself.buildtool
No description.
self.generatetool
No description.
self.generation_inittool Initialize generation backend (vllm, openai, litellm, or hf).FilesCredentialsEnv varsSensitive pathsoutside text
Initialize generation backend (vllm, openai, litellm, or hf).
Args:
backend_configs: Dictionary of backend-specific configurations
sampling_params: Sampling parameters for generation
extra_params: Optional extra parameters (e.g., chat_template_kwargs)
backend: Backend name ("vllm", "openai", "litellm", or "hf")
Raises:
ImportError: If required dependencies are not installed
ValueError: If backend is unsupported or required config is missingself.multimodal_generatetool Generate responses with multimodal inputs (text + images).Filesoutside text
Generate responses with multimodal inputs (text + images).
Args:
multimodal_path: List of image path lists (one per prompt)
prompt_ls: List of text prompts
system_prompt: Optional system prompt
image_tag: Optional tag to split prompt and insert images (e.g., "<image>")
Returns:
Dictionary with 'ans_ls' containing generated responses
Raises:
ValueError: If image tag count doesn't match image path countself.multiturn_generatetool Generate response for multi-turn conversation.Filesoutside text
Generate response for multi-turn conversation.
Args:
messages: Conversation history list, each message format: {"role": "user"|"assistant", "content": "..."}
system_prompt: Optional system prompt
Returns:
Dictionary with 'ans_ls' containing assistant responseself.reranker_inittool Initialize reranker backend (infinity, sentence_transformers, or openai).Env vars
Initialize reranker backend (infinity, sentence_transformers, or openai).
Args:
model_name_or_path: Model name or path
backend_configs: Dictionary of backend-specific configurations
batch_size: Batch size for reranking
gpu_ids: Comma-separated GPU IDs (e.g., "0,1")
backend: Backend name ("infinity", "sentence_transformers", or "openai")
Raises:
ImportError: If required dependencies are not installed
ValueError: If required config is missingself.reranker_reranktool Rerank passages for queries using the initialized reranker backend.
Rerank passages for queries using the initialized reranker backend.
Args:
query_list: List of query strings
passages_list: List of passage lists (one per query)
top_k: Number of top passages to return per query
query_instruction: Optional instruction to prepend to queries
Returns:
Dictionary with 'rerank_psg' containing reranked passages
Raises:
ValueError: If query_list and passages_list have different lengths
RuntimeError: If reranking fails (for openai backend)self.retriever_batch_searchtool Search for passages for multiple batches of queries.
Search for passages for multiple batches of queries.
Args:
batch_query_list: List of query lists (one batch per list)
top_k: Number of top passages to return per query
query_instruction: Optional instruction to prepend to queries
collection_name: Collection name for Milvus or Qdrant backend
Returns:
Dictionary with 'ret_psg_ls' containing retrieved passages for each batchself.retriever_batch_websearchtool Batch web search for SurveyCPM-style queries.
Batch web search for SurveyCPM-style queries.
Args:
batch_query_list: List of query lists (one batch per list)
top_k: Number of top results to return per query
retrieve_thread_num: Maximum number of concurrent workers
websearch_backend: Backend name ("tavily", "exa", "zhipuai")
websearch_backend_configs: Backend configuration dictionary
Returns:
Dictionary with 'ret_psg_ls' containing retrieved passages for each batchself.retriever_deploy_searchtool Search using remote retriever deployment.
Search using remote retriever deployment.
Args:
retriever_url: URL of remote retriever service
query_list: List of query strings
top_k: Number of top passages to return per query
query_instruction: Optional instruction to prepend to queries
Returns:
Dictionary with 'ret_psg' containing retrieved passages
Raises:
ToolError: If remote retriever call fails or response is invalidself.retriever_embedtool Generate embeddings for corpus contents.Filesoutside text
Generate embeddings for corpus contents.
Args:
embedding_path: Path to save embeddings (.npy file)
overwrite: Whether to overwrite existing embeddings
is_multimodal: Whether to generate image embeddings
Raises:
ValidationError: If embedding_path format is invalid
RuntimeError: If embedding generation fails
ValueError: If backend doesn't support multimodal or is unsupportedself.retriever_indextool Build index from embeddings or corpus (for demo mode).Filesoutside text
Build index from embeddings or corpus (for demo mode).
Args:
embedding_path: Path to embeddings file (.npy) for non-demo mode
overwrite: Whether to overwrite existing index
collection_name: Collection name for Milvus or Qdrant backend
corpus_path: Corpus file path (required for demo mode)
Raises:
ValidationError: If demo mode requirements are not met
NotFoundError: If embedding file not found (non-demo mode)
RuntimeError: If index backend is not initialized or indexing fails
ValueError: If backend is BM25 or other unsupported backendself.retriever_inittool Initialize retriever with specified backend and index backend.FilesCredentialsEnv varsSensitive pathsoutside text
Initialize retriever with specified backend and index backend.
Args:
model_name_or_path: Model name or path for embedding
backend_configs: Dictionary of backend-specific configurations
batch_size: Batch size for embedding generation
corpus_path: Path to corpus file (JSONL format)
gpu_ids: Comma-separated GPU IDs (e.g., "0,1")
is_multimodal: Whether to use multimodal (image) embeddings
backend: Backend name ("infinity", "sentence_transformers", "openai", "litellm", or "bm25")
index_backend: Index backend name ("faiss", "milvus" or "qdrant")
index_backend_configs: Dictionary of index backend configurations
is_demo: Whether to run in demo mode (forces OpenAI + Milvus)
collection_name: Collection name for Milvus or Qdrant backend
Raises:
ImportError: If required dependencies are not installed
ValueError: If required config is missing
ValidationError: If demo mode requirements are not metself.retriever_project_memory_searchtool Search for passages for project memory.
Search for passages for project memory.
Args:
query_list: List of query strings
top_k: Number of top passages to return per query
query_instruction: Optional instruction to prepend to queries
current_user_id: User identifier
Returns:
Dictionary with 'project_memory_content' containing retrieved passagesself.retriever_searchtool Search for passages using query embeddings.
Search for passages using query embeddings.
Args:
query_list: List of query strings
top_k: Number of top passages to return per query
query_instruction: Optional instruction to prepend to queries
collection_name: Collection name for Milvus or Qdrant backend
Returns:
Dictionary with 'ret_psg' containing retrieved passages
Raises:
RuntimeError: If index backend is not initialized
ValueError: If backend is unsupportedself.retriever_websearchtool Unified web search tool with multiple backends.
Unified web search tool with multiple backends.
Args:
query_list: List of query strings
top_k: Number of top results to return per query
retrieve_thread_num: Maximum number of concurrent workers
websearch_backend: Backend name ("tavily", "exa", "zhipuai")
websearch_backend_configs: Backend configuration dictionary
Returns:
Dictionary with 'ret_psg' containing retrieved passagesself.vllm_shutdowntool Shutdown vLLM model and clean up resources.Filesoutside text
Shutdown vLLM model and clean up resources.
This method attempts to properly shutdown the vLLM model and free GPU memory.surveycpm_after_extendtool Process responses after extend-plan action in SurveyCPM pipeline.
Process responses after extend-plan action in SurveyCPM pipeline.
Args:
response_ls: List of LLM response strings
survey_ls: List of survey JSON strings
cursor_ls: List of cursor positions
instruction_ls: List of user instructions
surveycpm_hard_mode: Whether to use strict validation
Returns:
Dictionary with updated survey_ls, cursor_ls, extend_result_ls, and parsed_lssurveycpm_after_init_plantool Process responses after init-plan action in SurveyCPM pipeline.
Process responses after init-plan action in SurveyCPM pipeline.
Args:
response_ls: List of LLM response strings
survey_ls: List of survey JSON strings
instruction_ls: List of user instructions
surveycpm_hard_mode: Whether to use strict validation
Returns:
Dictionary with updated survey_ls, cursor_ls, and parsed_lssurveycpm_after_writetool Process responses after write action in SurveyCPM pipeline.
Process responses after write action in SurveyCPM pipeline.
Args:
response_ls: List of LLM response strings
survey_ls: List of survey JSON strings
cursor_ls: List of cursor positions
instruction_ls: List of user instructions
retrieved_info_ls: List of retrieved information strings
surveycpm_hard_mode: Whether to use strict validation
Returns:
Dictionary with updated survey_ls, cursor_ls, and parsed_lssurveycpm_check_completiontool Check completion status based on step count only.
Check completion status based on step count only.
This runs OUTSIDE of branch, so all items are processed together.
Note: The extend logic is now handled in surveycpm_after_write.
This function only checks if surveycpm_max_step is reached.
Logic:
- If step >= surveycpm_max_step: -> done
- Otherwise: keep current state (which may already be analyst-extend_plan from surveycpm_after_write)surveycpm_format_outputtool Format final survey output as clean Markdown.
Format final survey output as clean Markdown.
survey_ls contains JSON strings that are parsed.surveycpm_init_citation_registrytool Initialize citation registry for SurveyCPM pipeline.
Initialize citation registry for SurveyCPM pipeline.
Args:
instruction_ls: List of instructions
Returns:
Dictionary with 'instruction_ls' (pass-through)surveycpm_parse_search_responsetool Parse search responses from LLM for SurveyCPM pipeline.
Parse search responses from LLM for SurveyCPM pipeline.
Args:
response_ls: List of LLM response strings
surveycpm_hard_mode: Whether to use strict validation
Returns:
Dictionary with 'keywords_ls' and 'parsed_ls'surveycpm_process_passagestool Process and deduplicate passages for SurveyCPM pipeline.
Process and deduplicate passages for SurveyCPM pipeline.
Args:
ret_psg_ls: List of lists of passage lists (one per query)
Returns:
Dictionary with 'retrieved_info_ls' containing processed passagessurveycpm_process_passages_with_citationtool Process passages and assign unique citation IDs for SurveyCPM.
Process passages and assign unique citation IDs for SurveyCPM.
Similar to surveycpm_process_passages, but adds [id] prefix to each passage
for citation tracking.
Returns:
- retrieved_info_ls: List of formatted strings for prompts
- ret_psg: List of lists of cited passages for frontend rendering
(same length as ret_psg_ls, each element is a list of cited docs)surveycpm_state_inittool Initialize state for SurveyCPM pipeline.
Initialize state for SurveyCPM pipeline.
Args:
instruction_ls: List of user instructions
Returns:
Dictionary with initialized state listssurveycpm_state_routertool Route SurveyCPM state variables based on current state.
Route SurveyCPM state variables based on current state.
Args:
state_ls: List of state strings
cursor_ls: List of cursor positions (may be None)
survey_ls: List of survey JSON strings
step_ls: List of step numbers
extend_time_ls: List of extend time values
extend_result_ls: List of extend result strings
Returns:
Dictionary with all input lists wrapped with routing statessurveycpm_update_statetool Update state based on cursor and extend results.
Update state based on cursor and extend results.
This runs OUTSIDE of branch, so all items are processed together.
Handles all state transitions in one place to avoid length mismatch issues.
State transition logic:
- If step >= surveycpm_max_step: -> done
- If parsed_ls is False: -> keep current state (retry)
- If current state is 'search':
- cursor == 'outline': -> analyst-init_plan
- cursor is section-X: -> write
- cursor is None: -> done (shouldn't happen in search)
- If current state is 'analyst-init_plan':
- cursor != 'outline': -> search (init plan succeeded)
- cursor == 'outline': -> analyst-init_plan (retry)
- If current state is 'write':
- cursor is not None: -> search (continue writing)
- cursor is None and extend_time < surveycpm_max_extend_step: -> analyst-extend_plan
- cursor is None and extend_time >= surveycpm_max_extend_step: -> done
- If current state is 'analyst-extend_plan':
- extend_result == 'extended': -> search
- extend_result == 'nop': -> done
- extend_result == 'retry': -> analyst-extend_plan
- If current state is 'done': -> donetooltool
No description.
tooltool
No description.
tool.fntool
No description.
webnote_check_pagetool Check if WebNote pages are complete or incomplete.
Check if WebNote pages are complete or incomplete.
Args:
page_ls: List of page strings to check
Returns:
Dictionary with 'page_ls' containing pages with completion stateswebnote_check_page_with_citationstool Route each WebNote page and its citation state through the same branch.
Route each WebNote page and its citation state through the same branch.
Explicitly routing both values also handles the first iteration, before
the pipeline's variable pool has branch metadata for citation state.Text the model reads (100)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
get_data tool
Load benchmark data from file with key mapping and optional shuffling.
Args:
benchmark: Dictionary containing:
- path: Path to the data file (required)
- key_map: Dictionary mapping alias keys to original keys (required)
- shuffle: Whether to shuffle the data (default: False)
- seed: Random seed for shuffling (default: 42)
- limit: Maximum number of records to load, -1 for no limit (default: -1)
- name: Name of the benchmark (optional)
Returns:
Dictionary with mapped keys containing lists of values
Raises:
NotFoundError: If path is missing or invalid
ToolError: If key_map is invalid or limit is invalidbuild_text_corpus tool
Build text corpus from various file formats.
Args:
parse_file_path: Path to file or directory containing files to parse
text_corpus_save_path: Path where the text corpus JSONL file will be saved
Raises:
ToolError: If input path doesn't exist or required dependencies are missingbuild_image_corpus tool
Build image corpus from PDF files by extracting pages as images.
Args:
parse_file_path: Path to PDF file or directory containing PDF files
image_corpus_save_path: Path where the image corpus JSONL file will be saved
Raises:
ToolError: If input path doesn't exist, no PDFs found, or pymupdf is not installedmineru_parse tool
Parse PDF files using MinerU tool.
Args:
parse_file_path: Path to PDF file or directory containing PDF files
mineru_dir: Output directory for MinerU parsing results
mineru_extra_params: Optional dictionary of extra parameters for MinerU command
Raises:
ToolError: If mineru executable not found, invalid input path, or execution failsbuild_mineru_corpus tool
Build text and image corpus from MinerU parsing results.
Args:
mineru_dir: Directory containing MinerU parsing results
parse_file_path: Original path to PDF file(s) that were parsed
text_corpus_save_path: Path where the text corpus JSONL file will be saved
image_corpus_save_path: Path where the image corpus JSONL file will be saved
Raises:
ToolError: If mineru_dir doesn't exist, invalid input path, or no PDFs foundchunk_documents tool
Chunk documents using various chunking strategies.
Args:
raw_chunk_path: Path to JSONL file containing documents to chunk
chunk_backend_configs: Dictionary of configuration for each chunking backend
chunk_backend: Chunking method to use ("token", "sentence", or "recursive")
tokenizer_or_token_counter: Tokenizer name or counter type ("word", "character", or tiktoken encoding)
chunk_size: Target size for each chunk
chunk_path: Optional output path for chunked documents (defaults to project output directory)
use_title: Whether to include document title in chunk content
Raises:
ToolError: If chonkie/tiktoken not installed, invalid chunking method, or chunking failssearch_r1_query_extract tool
Extract search queries from answer list using <search> tags.
Args:
ans_ls: List of answer strings that may contain <search>...</search> tags
Returns:
Dictionary with 'extract_query_list' containing extracted queriesr1_searcher_query_extract tool
Extract search queries from answer list using <|begin_of_query|> tags.
Args:
ans_ls: List of answer strings that may contain <|begin_of_query|>...</|begin_of_query|> tags
Returns:
Dictionary with 'extract_query_list' containing extracted queriesiterretgen_nextquery tool
Generate next query by combining previous query with answer.
Args:
q_ls: List of previous queries
ans_ls: List of answers corresponding to queries
Returns:
Dictionary with 'nextq_ls' containing combined queriesoutput_extract_from_boxed tool
Extract content from LaTeX \\\\boxed{} expressions in answers.
Args:
ans_ls: List of answer strings that may contain \\\\boxed{...} expressions
Returns:
Dictionary with 'pred_ls' containing extracted contentircot_get_first_sent tool
Extract first sentence from answers for IRCoT pipeline.
Args:
ans_ls: List of answer strings
Returns:
Dictionary with 'q_ls' containing first sentencesircot_extract_ans tool
Extract final answer from IRCoT responses using 'so the answer is' pattern.
Args:
ans_ls: List of answer strings
Returns:
Dictionary with 'pred_ls' containing extracted answerssearch_o1_init_list tool
Initialize lists for Search-o1 pipeline.
Args:
q_ls: List of queries
Returns:
Dictionary with initialized lists for subq, reason, and final_infosearch_o1_combine_list tool
Combine extracted queries and reasons into total lists for Search-o1.
Args:
total_subq_list: List of lists to accumulate subqueries
extract_query_list: New queries to add
total_reason_list: List of lists to accumulate reasons
extract_reason_list: New reasons to add
Returns:
Dictionary with updated total_subq_list and total_reason_listsearch_o1_query_extract tool
Extract search queries from answers using Search-o1 tags.
Args:
ans_ls: List of answer strings containing <|begin_search_query|>...</|end_search_query|> tags
Returns:
Dictionary with 'extract_query_list' containing extracted queriessearch_o1_reasoning_extract tool
Extract reasoning content before search query tags for Search-o1.
Args:
ans_ls: List of answer strings
Returns:
Dictionary with 'extract_reason_list' containing reasoning contentsearch_o1_extract_final_information tool
Extract final information section from answers for Search-o1.
Args:
ans_ls: List of answer strings that may contain **Final Information** section
Returns:
Dictionary with 'extract_final_infor_list' containing final informationsearch_o1_combine_final_information tool
Combine extracted final information into total list for Search-o1.
Args:
total_final_info_list: List of lists to accumulate final information
extract_final_infor_list: New final information to add
Returns:
Dictionary with updated total_final_info_listmerge_passages tool
Merge temporary passages into retrieved passages.
Args:
temp_psg: List of temporary passage lists
ret_psg: List of retrieved passage lists to merge into
Returns:
Dictionary with 'ret_psg' containing merged passagesevisrag_output_extract_from_special tool
Extract content from <answer>...</answer> tags for EvisRAG.
Args:
ans_ls: List of answer strings that may contain <answer>...</answer> tags
Returns:
Dictionary with 'pred_ls' containing extracted contentassign_citation_ids tool
Assign sequential citation IDs to passages.
Args:
ret_psg: List of lists of document strings
Returns:
Dictionary with 'ret_psg' containing passages with [1], [2], etc. prefixesinit_citation_registry tool
Create per-query citation state owned by this pipeline execution.
State travels through MCP as JSON rather than remaining in the server.
Each query has its own dictionary so branch filtering preserves its IDs.assign_citation_ids_stateful tool
Return numbered passages and updated, JSON-serializable query state.
Copy the input to preserve earlier pipeline snapshots and caller ownership.
No server-global state or cleanup step is required on failure/cancellation.surveycpm_init_citation_registry tool
Initialize citation registry for SurveyCPM pipeline.
Args:
instruction_ls: List of instructions
Returns:
Dictionary with 'instruction_ls' (pass-through)surveycpm_process_passages_with_citation tool
Process passages and assign unique citation IDs for SurveyCPM.
Similar to surveycpm_process_passages, but adds [id] prefix to each passage
for citation tracking.
Returns:
- retrieved_info_ls: List of formatted strings for prompts
- ret_psg: List of lists of cited passages for frontend rendering
(same length as ret_psg_ls, each element is a list of cited docs)surveycpm_state_init tool
Initialize state for SurveyCPM pipeline.
Args:
instruction_ls: List of user instructions
Returns:
Dictionary with initialized state listssurveycpm_parse_search_response tool
Parse search responses from LLM for SurveyCPM pipeline.
Args:
response_ls: List of LLM response strings
surveycpm_hard_mode: Whether to use strict validation
Returns:
Dictionary with 'keywords_ls' and 'parsed_ls'surveycpm_process_passages tool
Process and deduplicate passages for SurveyCPM pipeline.
Args:
ret_psg_ls: List of lists of passage lists (one per query)
Returns:
Dictionary with 'retrieved_info_ls' containing processed passagessurveycpm_after_init_plan tool
Process responses after init-plan action in SurveyCPM pipeline.
Args:
response_ls: List of LLM response strings
survey_ls: List of survey JSON strings
instruction_ls: List of user instructions
surveycpm_hard_mode: Whether to use strict validation
Returns:
Dictionary with updated survey_ls, cursor_ls, and parsed_lssurveycpm_after_write tool
Process responses after write action in SurveyCPM pipeline.
Args:
response_ls: List of LLM response strings
survey_ls: List of survey JSON strings
cursor_ls: List of cursor positions
instruction_ls: List of user instructions
retrieved_info_ls: List of retrieved information strings
surveycpm_hard_mode: Whether to use strict validation
Returns:
Dictionary with updated survey_ls, cursor_ls, and parsed_lssurveycpm_after_extend tool
Process responses after extend-plan action in SurveyCPM pipeline.
Args:
response_ls: List of LLM response strings
survey_ls: List of survey JSON strings
cursor_ls: List of cursor positions
instruction_ls: List of user instructions
surveycpm_hard_mode: Whether to use strict validation
Returns:
Dictionary with updated survey_ls, cursor_ls, extend_result_ls, and parsed_lssurveycpm_update_state tool
Update state based on cursor and extend results.
This runs OUTSIDE of branch, so all items are processed together.
Handles all state transitions in one place to avoid length mismatch issues.
State transition logic:
- If step >= surveycpm_max_step: -> done
- If parsed_ls is False: -> keep current state (retry)
- If current state is 'search':
- cursor == 'outline': -> analyst-init_plan
- cursor is section-X: -> write
- cursor is None: -> done (shouldn't happen in search)
- If current state is 'analyst-init_plan':
- cursor != 'outline': -> search (init plan succeeded)
- cursor == 'outline': -> analyst-init_plan (retry)
- If current state is 'write':
- cursor is not None: -> search (continue writing)
- cursor is None and extend_time < surveycpm_max_extend_step: -> analyst-extend_plan
- cursor is None and extend_time >= surveycpm_max_extend_step: -> done
- If current state is 'analyst-extend_plan':
- extend_result == 'extended': -> search
- extend_result == 'nop': -> done
- extend_result == 'retry': -> analyst-extend_plan
- If current state is 'done': -> donesurveycpm_check_completion tool
Check completion status based on step count only.
This runs OUTSIDE of branch, so all items are processed together.
Note: The extend logic is now handled in surveycpm_after_write.
This function only checks if surveycpm_max_step is reached.
Logic:
- If step >= surveycpm_max_step: -> done
- Otherwise: keep current state (which may already be analyst-extend_plan from surveycpm_after_write)surveycpm_format_output tool
Format final survey output as clean Markdown.
survey_ls contains JSON strings that are parsed.self.generation_init tool
Initialize generation backend (vllm, openai, litellm, or hf).
Args:
backend_configs: Dictionary of backend-specific configurations
sampling_params: Sampling parameters for generation
extra_params: Optional extra parameters (e.g., chat_template_kwargs)
backend: Backend name ("vllm", "openai", "litellm", or "hf")
Raises:
ImportError: If required dependencies are not installed
ValueError: If backend is unsupported or required config is missingself.generate tool
self.multimodal_generate tool
Generate responses with multimodal inputs (text + images).
Args:
multimodal_path: List of image path lists (one per prompt)
prompt_ls: List of text prompts
system_prompt: Optional system prompt
image_tag: Optional tag to split prompt and insert images (e.g., "<image>")
Returns:
Dictionary with 'ans_ls' containing generated responses
Raises:
ValueError: If image tag count doesn't match image path countself.multiturn_generate tool
Generate response for multi-turn conversation.
Args:
messages: Conversation history list, each message format: {"role": "user"|"assistant", "content": "..."}
system_prompt: Optional system prompt
Returns:
Dictionary with 'ans_ls' containing assistant responseself.vllm_shutdown tool
Shutdown vLLM model and clean up resources.
This method attempts to properly shutdown the vLLM model and free GPU memory.get_global_memory tool
Read global memory from MEMORY.md.
Args:
user_id: User identifier. Defaults to "default".
Returns:
Dictionary containing global memory content.save_memory tool
Save one round of user-assistant dialogue into daily project memory.
Args:
user_id: User identifier. Defaults to "default".
q_ls: Current round question.
ans_ls: Current round answer.
Returns:
None.self.reranker_init tool
Initialize reranker backend (infinity, sentence_transformers, or openai).
Args:
model_name_or_path: Model name or path
backend_configs: Dictionary of backend-specific configurations
batch_size: Batch size for reranking
gpu_ids: Comma-separated GPU IDs (e.g., "0,1")
backend: Backend name ("infinity", "sentence_transformers", or "openai")
Raises:
ImportError: If required dependencies are not installed
ValueError: If required config is missingself.reranker_rerank tool
Rerank passages for queries using the initialized reranker backend.
Args:
query_list: List of query strings
passages_list: List of passage lists (one per query)
top_k: Number of top passages to return per query
query_instruction: Optional instruction to prepend to queries
Returns:
Dictionary with 'rerank_psg' containing reranked passages
Raises:
ValueError: If query_list and passages_list have different lengths
RuntimeError: If reranking fails (for openai backend)self.retriever_init tool
Initialize retriever with specified backend and index backend.
Args:
model_name_or_path: Model name or path for embedding
backend_configs: Dictionary of backend-specific configurations
batch_size: Batch size for embedding generation
corpus_path: Path to corpus file (JSONL format)
gpu_ids: Comma-separated GPU IDs (e.g., "0,1")
is_multimodal: Whether to use multimodal (image) embeddings
backend: Backend name ("infinity", "sentence_transformers", "openai", "litellm", or "bm25")
index_backend: Index backend name ("faiss", "milvus" or "qdrant")
index_backend_configs: Dictionary of index backend configurations
is_demo: Whether to run in demo mode (forces OpenAI + Milvus)
collection_name: Collection name for Milvus or Qdrant backend
Raises:
ImportError: If required dependencies are not installed
ValueError: If required config is missing
ValidationError: If demo mode requirements are not metself.retriever_embed tool
Generate embeddings for corpus contents.
Args:
embedding_path: Path to save embeddings (.npy file)
overwrite: Whether to overwrite existing embeddings
is_multimodal: Whether to generate image embeddings
Raises:
ValidationError: If embedding_path format is invalid
RuntimeError: If embedding generation fails
ValueError: If backend doesn't support multimodal or is unsupportedself.retriever_index tool
Build index from embeddings or corpus (for demo mode).
Args:
embedding_path: Path to embeddings file (.npy) for non-demo mode
overwrite: Whether to overwrite existing index
collection_name: Collection name for Milvus or Qdrant backend
corpus_path: Corpus file path (required for demo mode)
Raises:
ValidationError: If demo mode requirements are not met
NotFoundError: If embedding file not found (non-demo mode)
RuntimeError: If index backend is not initialized or indexing fails
ValueError: If backend is BM25 or other unsupported backendself.retriever_search tool
Search for passages using query embeddings.
Args:
query_list: List of query strings
top_k: Number of top passages to return per query
query_instruction: Optional instruction to prepend to queries
collection_name: Collection name for Milvus or Qdrant backend
Returns:
Dictionary with 'ret_psg' containing retrieved passages
Raises:
RuntimeError: If index backend is not initialized
ValueError: If backend is unsupportedself.retriever_batch_search tool
Search for passages for multiple batches of queries.
Args:
batch_query_list: List of query lists (one batch per list)
top_k: Number of top passages to return per query
query_instruction: Optional instruction to prepend to queries
collection_name: Collection name for Milvus or Qdrant backend
Returns:
Dictionary with 'ret_psg_ls' containing retrieved passages for each batchself.retriever_project_memory_search tool
Search for passages for project memory.
Args:
query_list: List of query strings
top_k: Number of top passages to return per query
query_instruction: Optional instruction to prepend to queries
current_user_id: User identifier
Returns:
Dictionary with 'project_memory_content' containing retrieved passagesself.bm25_index tool
Build BM25 index from corpus.
Args:
overwrite: Whether to overwrite existing indexself.bm25_search tool
Search using BM25 index.
Args:
query_list: List of query strings
top_k: Number of top passages to return per query
Returns:
Dictionary with 'ret_psg' containing retrieved passagesself.retriever_deploy_search tool
Search using remote retriever deployment.
Args:
retriever_url: URL of remote retriever service
query_list: List of query strings
top_k: Number of top passages to return per query
query_instruction: Optional instruction to prepend to queries
Returns:
Dictionary with 'ret_psg' containing retrieved passages
Raises:
ToolError: If remote retriever call fails or response is invalidself.retriever_websearch tool
Unified web search tool with multiple backends.
Args:
query_list: List of query strings
top_k: Number of top results to return per query
retrieve_thread_num: Maximum number of concurrent workers
websearch_backend: Backend name ("tavily", "exa", "zhipuai")
websearch_backend_configs: Backend configuration dictionary
Returns:
Dictionary with 'ret_psg' containing retrieved passagesself.retriever_batch_websearch tool
Batch web search for SurveyCPM-style queries.
Args:
batch_query_list: List of query lists (one batch per list)
top_k: Number of top results to return per query
retrieve_thread_num: Maximum number of concurrent workers
websearch_backend: Backend name ("tavily", "exa", "zhipuai")
websearch_backend_configs: Backend configuration dictionary
Returns:
Dictionary with 'ret_psg_ls' containing retrieved passages for each batchroute1 tool
Route queries to state1 or state2 based on query value.
Args:
query_list: List of query strings
Returns:
Dictionary with 'query_list' containing queries with routing states
Raises:
ValueError: If query cannot be converted to integerroute2 tool
Route all queries to state2.
Args:
query_list: List of query strings
Returns:
Dictionary with 'query_list' containing queries with state2ircot_check_end tool
Check if IRCoT answers are complete based on completion phrase.
Args:
ans_ls: List of answer strings
Returns:
Dictionary with 'ans_ls' containing answers with completion statessearch_r1_check tool
Check if search-r1 answers are complete based on EOS tokens.
Args:
ans_ls: List of answer strings to check
Returns:
Dictionary with 'ans_ls' containing answers with completion stateswebnote_check_page tool
Check if WebNote pages are complete or incomplete.
Args:
page_ls: List of page strings to check
Returns:
Dictionary with 'page_ls' containing pages with completion stateswebnote_check_page_with_citations tool
Route each WebNote page and its citation state through the same branch.
Explicitly routing both values also handles the first iteration, before
the pipeline's variable pool has branch metadata for citation state.r1_searcher_check tool
Check if r1_searcher answers are complete based on EOS tokens.
Args:
ans_ls: List of answer strings to check
Returns:
Dictionary with 'ans_ls' containing answers with completion statessearch_o1_check tool
Check if Search O1 should stop or continue retrieving.
Args:
ans_ls: List of answer strings
q_ls: List of query strings
total_subq_list: List of sub-question lists
total_reason_list: List of reasoning lists
total_final_info_list: List of final info lists
Returns:
Dictionary with all input lists wrapped with routing statescheck_model_state tool
Check if model should continue or stop based on search token.
Args:
ans_ls: List of answer strings
Returns:
Dictionary with 'ans_ls' containing answers with continue/stop statessurveycpm_state_router tool
Route SurveyCPM state variables based on current state.
Args:
state_ls: List of state strings
cursor_ls: List of cursor positions (may be None)
survey_ls: List of survey JSON strings
step_ls: List of step numbers
extend_time_ls: List of extend time values
extend_result_ls: List of extend result strings
Returns:
Dictionary with all input lists wrapped with routing statesgreet tool
Greet a person by name.
Args:
name: Name of the person to greet
Returns:
Dictionary with 'msg' containing the greeting messagetool tool
tool.fn tool
build tool
self.build tool
(name computed at run time) tool
tool tool
qa_boxed prompt
Generate prompts for QA boxed format.
Args:
q_ls: List of questions
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsqa_with_memory prompt
Generate prompts with both global memory and retrieved project memory.
qa_boxed_multiple_choice prompt
Generate prompts for multiple choice QA boxed format.
Args:
q_ls: List of questions
choices_ls: List of choice lists (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsqa_rag_boxed prompt
Generate prompts for QA RAG boxed format.
Args:
q_ls: List of questions
ret_psg: List of retrieved passages (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsqa_rag_with_memory prompt
Generate prompts with both global memory, retrieved project memory and retrieved passages.
qa_rag_boxed_multiple_choice prompt
Generate prompts for QA RAG boxed format with multiple choice.
Args:
q_ls: List of questions
choices_ls: List of choice lists (one per question)
ret_psg: List of retrieved passage lists (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsRankCoT_kr prompt
Generate prompts for RankCoT knowledge retrieval step.
Args:
q_ls: List of questions
ret_psg: List of retrieved passages (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsRankCoT_qa prompt
Generate prompts for RankCoT QA step.
Args:
q_ls: List of questions
kr_ls: List of knowledge retrieval results (CoT reasoning)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsircot_next_prompt prompt
Generate prompts for IRCoT (Iterative Retrieval Chain-of-Thought) pipeline.
Args:
memory_q_ls: List of question lists (one per round)
memory_ret_psg: List of retrieved passage lists (one per round)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectswebnote_init_page prompt
Generate prompts for WebNote initial page creation.
Args:
q_ls: List of questions
plan_ls: List of plans (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectswebnote_gen_plan prompt
Generate prompts for WebNote plan generation.
Args:
q_ls: List of questions
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectswebnote_gen_subq prompt
Generate prompts for WebNote sub-question generation.
Args:
q_ls: List of questions
plan_ls: List of plans (one per question)
page_ls: List of page contents (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectswebnote_fill_page prompt
Generate prompts for WebNote page filling.
Args:
q_ls: List of questions
plan_ls: List of plans (one per question)
page_ls: List of page contents (one per question)
subq_ls: List of sub-questions (one per question)
psg_ls: List of passages (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectswebnote_gen_answer prompt
Generate prompts for WebNote answer generation.
Args:
q_ls: List of questions
page_ls: List of page contents (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssearch_r1_gen prompt
Generate prompts for search-r1 pipeline.
Args:
prompt_ls: List of previous prompts
ans_ls: List of previous answers
ret_psg: List of retrieved passages (one per prompt)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsr1_searcher_gen prompt
Generate prompts for r1_searcher pipeline.
Args:
prompt_ls: List of previous prompts
ans_ls: List of previous answers
ret_psg: List of retrieved passages (one per prompt)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssearch_o1_init prompt
Generate prompts for Search O1 initialization.
Args:
q_ls: List of questions
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssearch_o1_reasoning_indocument prompt
Generate prompts for Search O1 reasoning in document step.
Args:
extract_query_list: List of extracted search queries
ret_psg: List of retrieved passage lists (one per query)
total_reason_list: List of reasoning history lists (one per query)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssearch_o1_insert prompt
Generate prompts for Search O1 by inserting sub-queries and results.
Args:
q_ls: List of questions
total_subq_list: List of sub-query lists (one per question)
total_final_info_list: List of final info lists (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsgen_subq prompt
Generate prompts for sub-question generation (loop and branch demo).
Args:
q_ls: List of questions
ret_psg: List of retrieved passages (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectscheck_passages prompt
Generate prompts for passage checking (loop and branch demo).
Args:
q_ls: List of questions
ret_psg: List of retrieved passages (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsevisrag_vqa prompt
Generate prompts for EVisRAG visual question answering.
Args:
q_ls: List of questions
ret_psg: List of image path lists (one per question)
template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssurveycpm_search prompt
Generate prompts for SurveyCPM search step.
Args:
instruction_ls: List of user instructions
survey_ls: List of survey JSON strings
cursor_ls: List of cursor positions
surveycpm_search_template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssurveycpm_init_plan prompt
Generate prompts for SurveyCPM initial plan step.
Args:
instruction_ls: List of user instructions
retrieved_info_ls: List of retrieved information strings
surveycpm_init_plan_template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssurveycpm_write prompt
Generate prompts for SurveyCPM write step.
Args:
instruction_ls: List of user instructions
survey_ls: List of survey JSON strings
cursor_ls: List of cursor positions
retrieved_info_ls: List of retrieved information strings
surveycpm_write_template: Path to Jinja2 template file
Returns:
List of PromptMessage objectssurveycpm_extend_plan prompt
Generate prompts for SurveyCPM extend plan step.
Args:
instruction_ls: List of user instructions
survey_ls: List of survey JSON strings
surveycpm_extend_plan_template: Path to Jinja2 template file
Returns:
List of PromptMessage objectsprompt.fn prompt
(name computed at run time) prompt
prompt prompt
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 95 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 95 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file path HIGH5 findings in chunk_documents, servers/retriever/src/retriever.py:213, servers/retriever/src/retriever.py:742; 6 more to review
- Requests any address1 finding the scanner could not decide; see the findings below
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 95 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processes1 of 100 capabilities start processes; 87 more call code the scanner could not follow, where it may happen
- Tools that touch files40 of 100 capabilities touch files; 48 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 100 capabilities; 88 more call code the scanner could not follow, where it may happen
Where the code is: 100 handlers in 13 files at commit 5f48fff03c74
servers/benchmark/src/benchmark.pyget_dataservers/corpus/src/corpus.pybuild_text_corpus, build_image_corpus, mineru_parse, build_mineru_corpus, chunk_documentsservers/custom/src/custom.pysearch_r1_query_extract, r1_searcher_query_extract, iterretgen_nextquery, output_extract_from_boxed, ircot_get_first_sent, ircot_extract_ans, search_o1_init_list, search_o1_combine_list, search_o1_query_extract, search_o1_reasoning_extract, search_o1_extract_final_information, search_o1_combine_final_information +16servers/generation/src/generation.pyself.generation_init, self.generate, self.multimodal_generate, self.multiturn_generate, self.vllm_shutdownservers/memory/src/memory.pyget_global_memory, save_memoryservers/prompt/src/prompt.pyqa_boxed, qa_with_memory, qa_boxed_multiple_choice, qa_rag_boxed, qa_rag_with_memory, qa_rag_boxed_multiple_choice, RankCoT_kr, RankCoT_qa, ircot_next_prompt, webnote_init_page, webnote_gen_plan, webnote_gen_subq +14servers/reranker/src/reranker.pyself.reranker_init, self.reranker_rerankservers/retriever/src/retriever.pyself.retriever_init, self.retriever_embed, self.retriever_index, self.retriever_search, self.retriever_batch_search, self.retriever_project_memory_search, self.bm25_index, self.bm25_search, self.retriever_deploy_search, self.retriever_websearch, self.retriever_batch_websearchservers/router/src/router.pyroute1, route2, ircot_check_end, search_r1_check, webnote_check_page, webnote_check_page_with_citations, r1_searcher_check, search_o1_check, check_model_state, surveycpm_state_routerservers/sayhello/src/sayhello.pygreetsrc/ultrarag/local_server.pytoolui/frontend/dist/assets/index-BL9vrcYf.jstool.fn, prompt.fnsrc/ultrarag/mcp_server.pybuild, self.build, (name computed at run time), (name computed at run time), prompt, tool
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests2 manifests: pyproject.toml, ui/frontend/package.json
- Lockfiles checked against OSV2 files resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependencies HIGH5 production packages with known advisories
- Known vulnerabilities in other dependencies4 packages with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK versionNo MCP SDK declared in a manifest
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials2 of 100 capabilities read credentials; 86 more call code the scanner could not follow, where it may happen
- Environment variables4 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (2 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (5 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
vllmPyPI 0.22.1+cu129 HIGH 88 advisories 0.24.00.25.00.26.0+6 more
- HIGHGHSA-h3rc-6mm3-gc2m CVE-2026-114053vLLM: Request-controlled mm_processor_kwargs.code_revision allows remote code execution
- HIGHGHSA-8wr5-jm2h-8r4f CVE-2026-54234 PYSEC-2026-3542vLLM has Remote DoS via Invalid Recovered Token Reinjection
- HIGHGHSA-33cg-gxv8-3p8g CVE-2026-55514 PYSEC-2026-2303vLLM denial of service via prompt embeds on M-RoPE models
- HIGHGHSA-h3rc-j82p-2c3h CVE-2026-115915 PYSEC-2026-4346vLLM: Untrusted EPS inputs can trigger denial of service or Ghostscript RCE
- HIGHGHSA-6757-hggm-hp2w CVE-2026-115912 PYSEC-2026-4345vLLM: Public multimodal SHM handle forgery reaches worker-side `pickle.loads()` with insecure serialization disabled
- HIGHGHSA-rwxx-mrjm-wc2m CVE-2026-55574 PYSEC-2026-2304vLLM: ReDoS via structured_outputs.regex compiled without timeout in xgrammar and outlines backends
- HIGHGHSA-gx7p-2j49-hfq4 CVE-2026-114055vLLM : DoS via unvalidated mm_processor_kwargs in multimodal image processors (Isaac, InternVL, H2OVL, etc.)
- MEDIUMPYSEC-2026-4350 CVE-2026-116173 GHSA-6pgw-f3pv-4h8qvLLM from 0.22.0 before 0.24.0 contains a denial of service vulnerability that allows remote attackers to terminate EngineCore by bypassing logprob_token_ids limits in the Rust gRPC frontend. Attackers can send Generate or GenerateStream requests with output_logprobs enabled and more than 128 output_candidates.token_ids, triggering a fatal sampler exception that crashes the engine.
- MEDIUMPYSEC-2026-4319 CVE-2026-105922A security flaw has been discovered in vllm-project vLLM up to 0.31.0. This impacts the function get_token_bin_counts_and_mask of the file vllm/model_executor/layers/utils.py of the component Penalty Handler. Performing a manipulation results in denial of service. Remote exploitation of the attack is possible. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
- MEDIUMPYSEC-2026-3937 CVE-2026-73555 GHSA-hwrm-c4cx-rf4jvLLM: Unauthenticated Internal Path and Username Disclosure via Validation Error Messages
- MEDIUMPYSEC-2026-4353 CVE-2026-116178 GHSA-34qw-q2h2-jp3mvLLM from 0.20.0 before 0.30.0 contains a denial of service vulnerability that allows remote attackers to crash the engine by sending inconsistent multimodal metadata to the disaggregated /inference/v1/generate endpoint. Attackers can replay a valid multimodal item with repeated or overlapping mm_placeholders ranges or mismatched kwargs_data and mm_hashes lists, producing a negative text span in Qwen2.5-VL position construction that terminates the engine.
- MEDIUMPYSEC-2026-3704 CVE-2026-73559 GHSA-87x5-vmc3-756jvLLM: Completion prompt lists fan out into unbounded engine requests
- MEDIUMPYSEC-2026-3996 CVE-2026-93436vLLM through 0.29.0 fails to properly clean up decode-side metadata for rejected inference requests in prefill/decode disaggregated deployments. Remote attackers can submit requests with max_tokens=0 to exhaust decode-worker memory without bound until the worker restarts.
- MEDIUMGHSA-4hhp-h66f-j5j7 CVE-2026-73560 PYSEC-2026-3934vLLM: SSRF + arbitrary local file read in MiMoV2OmniMultiModalProcessor `_fetch_image` and audio loader bypass MediaConnector protections
- MEDIUMGHSA-p92p-rxj5-7p2x CVE-2026-114050vLLM: Forged multimodal UUID + P0/P1 processor-cache eviction drift: unauthenticated remote crash of the whole vLLM engine
- MEDIUMGHSA-7h4p-rffg-7823 CVE-2026-54235 PYSEC-2026-3405vLLM: temperature=NaN and temperature=Infinity bypass validation and propagate to GPU kernels
- MEDIUMPYSEC-2026-4308 CVE-2026-105752 GHSA-935w-9g4m-p28pvLLM: Harmony tool continuations drop `cache_salt` — restoring a cross-tenant prefix-cache membership oracle
- MEDIUMPYSEC-2026-4004 CVE-2026-94622vLLM versions through 0.29.0 contain a denial of service vulnerability in the NIXL connector's metadata handling for prefill/decode disaggregated deployments. Attackers can send requests with incomplete kv_transfer_params dictionary entries to trigger an uncaught KeyError in EngineCore scheduling, causing the decode engine to terminate and making all routed requests fail until manual restart.
- MEDIUMGHSA-8pw2-6jv3-mj5j CVE-2026-69147 PYSEC-2026-4178vLLM: Request-selected PyNvVideoCodec GPU decode bypasses static VRAM reservation
- MEDIUMPYSEC-2026-3998 CVE-2026-93840vLLM before 0.29.0 validates allowed_token_ids against tokenizer length instead of model output logits width in SamplingParams._validate_allowed_token_ids(). Attackers can supply token IDs above the output vocabulary that pass validation, causing LogitBiasState to corrupt GPU logits state and allow concurrent requests to sample tokens outside their allowlists.
- MEDIUMGHSA-2phq-3phc-84px CVE-2026-105755 PYSEC-2026-4198vLLM: Flash late-interaction scoring caches query embeddings under a caller-controlled request id — cross-request integrity break and induced errors on `/score` and `/rerank`
- MEDIUMGHSA-frvg-qw88-hww9 CVE-2026-94624 PYSEC-2026-4006vllm p2p never connected zmq_exhaustion
- MEDIUMGHSA-v82g-2437-67m2 CVE-2026-55646 PYSEC-2026-2305vLLM: Speech-to-text upload size limit is enforced after full UploadFile read
- MEDIUMGHSA-gq5q-89c7-vhvx CVE-2026-115914vLLM DeepSeek-OCR image processing vulnerable to denial of service
- MEDIUMPYSEC-2026-2304 CVE-2026-55574 GHSA-rwxx-mrjm-wc2mvLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. Prior to 0.24.0, the structured_outputs.regex API parameter passes a user-supplied regular expression string directly to the grammar compiler backends with no compilation timeout; in the xgrammar backend the string reaches the regex compiler with no guard, and in the outlines backend the validation step blocks structural issues such as lookarounds and backreferences but performs no complexity analysis, so a pattern with nested quantifiers passes all checks and causes exponential state-space expansion, allowing a single request containing an adversarial regex to hang an inference worker indefinitely and deny service. This issue is fixed in version 0.24.0.
- MEDIUMPYSEC-2026-3542 CVE-2026-54234 GHSA-8wr5-jm2h-8r4fvLLM has Remote DoS via Invalid Recovered Token Reinjection
- MEDIUMPYSEC-2026-4197 CVE-2026-105753 GHSA-ph3r-5jfg-f84fvLLM is an inference and serving engine for large language models. Prior to 0.28.0, the default mirrored multimodal LRU cache can commit a media hash in the frontend sender cache during multimodal rendering and before engine admission, while the engine receiver cache never receives the payload if that request is rejected. A later request reusing the same media hash causes MultiModalProcessorSenderCache to send no payload and MultiModalReceiverCache to reach an assertion with the message "Expected a cached item," producing a shared-service availability failure. This issue is fixed in version 0.28.0.
- MEDIUMPYSEC-2026-4184 CVE-2026-100650 GHSA-p6g9-7v3x-m8mvvLLM through 0.29.0 fetches and fully materializes remote or inline media before enforcing its documented media controls (the VLLM_MAX_AUDIO_CLIP_FILESIZE_MB compressed-audio size cap, default 25 MB, and the per-modality --limit-mm-per-prompt item limits). Across four ingress paths — the shared media-acquisition layer (HTTPConnection.get_bytes()/async_get_bytes()), the chat completions audio_url/base64 path, the batch speech runner, and the Rust frontend POST /tokenize route — the server reads the entire HTTP response body, base64-decodes the inline payload, or spawns one fetch/decode task per media part, and only then applies the limit (or, on some paths, never applies it). A remote attacker can therefore cause the API server or batch-runner process to allocate memory and consume outbound bandwidth proportional to an attacker-chosen body size or media item count before the request is rejected, resulting in pre-inference memory and bandwidth exhaustion (denial of service). The chat and batch surfaces require an API key when one is configured; the Rust frontend /tokenize route is unauthenticated by design. There is no code execution or data disclosure impact.
- MEDIUMGHSA-hwrm-c4cx-rf4j CVE-2026-73555 PYSEC-2026-3937vLLM: Unauthenticated Internal Path and Username Disclosure via Validation Error Messages
- MEDIUMGHSA-hgg8-fqqc-vfmw CVE-2026-54236 PYSEC-2026-3408vLLM: incomplete CVE-2026-22778 fix leaks PIL repr addresses via Anthropic router
- MEDIUMPYSEC-2026-4186 CVE-2026-103241A flaw has been found in vllm-project vLLM up to 0.26.0. This vulnerability affects unknown code of the file rust/src/parser/src/unified/gemma4.rs of the component Gemma4UnifiedParser. Executing a manipulation can lead to denial of service. The attack may be launched remotely. The exploit has been published and may be used. Upgrading to version 0.29.1rc0 is able to resolve this issue. This patch is called 3439bad37e68ba9755a46f4f6b44a4aeaf1f60a9. Upgrading the affected component is advised.
- MEDIUMPYSEC-2026-4005 CVE-2026-94623vLLM through 0.29.0 contains a denial of service vulnerability in the NIXL connector's prefix caching implementation that fails to properly validate block counts across multi-prompt completion requests in prefill/decode disaggregated deployments. Attackers can trigger an assertion failure in NixlBaseConnectorWorker._apply_prefix_caching by submitting completion requests with multiple prompts of varying lengths, causing the decode worker to terminate and become unavailable until restarted.
- MEDIUMGHSA-85xf-c7hm-whqw CVE-2026-105757 PYSEC-2026-4199vLLM: Structured-output request errors escape the request boundary and terminate the shared EngineCore — engine-fatal denial of service (3 sites)
- MEDIUMGHSA-48jh-3gj7-fg8v CVE-2026-73556 PYSEC-2026-3933vLLM: ReDoS via structured_outputs.regex in the lm-format-enforcer backend (no compile timeout) — missed sibling of GHSA-rwxx-mrjm-wc2m
- MEDIUMPYSEC-2026-4325 CVE-2026-105759 GHSA-5fj9-pfhr-6j48vLLM is an inference and serving engine for large language models. Prior to 0.30.0, the Rust frontend's track_http_metrics middleware records the raw HTTP method token as a Prometheus label for requests reaching registered routes. An unauthenticated attacker can send unique arbitrary method tokens to unguarded routes such as /tokenize, causing Prometheus's Family::get_or_create function to permanently create counter and histogram label sets. Those label sets increase process memory usage and enlarge the /metrics response until the service or monitoring path is exhausted. This issue is fixed in version 0.30.0.
- MEDIUMPYSEC-2026-4000 CVE-2026-93989vLLM through 0.29.0 fails to properly validate bad_words token indices against the model's generation output width in SamplingParams.update_from_tokenizer(). Attackers can supply out-of-bounds token indices that corrupt logits memory of concurrent requests, causing different in-flight HTTP requests to return incorrect tokens.
- MEDIUMPYSEC-2026-4008 CVE-2026-94626vLLM through 0.29.0 fails to validate the tp_size parameter in kv_transfer_params on OpenAI-compatible completion endpoints, allowing attackers to allocate unbounded memory. Attackers can supply arbitrary tp_size values in prefill/decode disaggregated deployments to exhaust memory and trigger kernel OOM-kill of the decode worker process.
- MEDIUMPYSEC-2026-3403 CVE-2026-53923 GHSA-5jv2-g5wq-cmr4vLLM: GGUF dequantize kernel int truncation exposes uninitialized GPU memory in multi-tenant serving
- MEDIUMPYSEC-2026-3408 CVE-2026-54236 GHSA-hgg8-fqqc-vfmwvLLM: incomplete CVE-2026-22778 fix leaks PIL repr addresses via Anthropic router
- MEDIUMPYSEC-2026-3985 CVE-2026-90553 GHSA-3c86-2m5g-59q7vLLM before 0.28.0 contains a remote code execution vulnerability in the LlavaOnevision2 processor loader that ignores the trust_remote_code parameter when loading remote processor classes. Attackers can craft a malicious model with arbitrary code in processing_llava_onevision2.py that executes with vLLM process authority even when trust_remote_code is set to False.
- MEDIUMPYSEC-2026-4003 CVE-2026-78684 GHSA-cqm8-jxg6-fqfqvLLM before 0.27.0 fails to properly classify DeepStream as a GPU backend and omits pixel-limit enforcement in its decode path. Unauthenticated attackers can activate DeepStream at request time to initialize the process-wide GPU decode pool and submit video that bypasses resource controls, causing partial denial of service for concurrent requests.
- MEDIUMPYSEC-2026-2303 CVE-2026-55514 GHSA-33cg-gxv8-3p8gvLLM is a library for LLM inference and serving. From 0.12.0 to before 0.24.0, sending a pure prompt embeds payload in a /v1/completions request with a model using M-RoPE causes EngineCore to fail an assertion and fatally crash, shutting down the entire server application. Any remote user who is authorized to make a /v1/completions request can make such a request and induce a crash. This issue is fixed in version 0.24.0.
- MEDIUMPYSEC-2026-3999 CVE-2026-93841vLLM through 0.29.0 contains a memory corruption vulnerability in the Triton _bincount_kernel where prompt token IDs index the penalty prompt-presence bitset without bounds checking against vocabulary size. Attackers can submit multimodal audio requests with tokens equal to vocabulary size, causing out-of-bounds writes that corrupt concurrent requests' sampler state and alter repetition penalty behavior.
- MEDIUMPYSEC-2026-3935 CVE-2026-73558 GHSA-7m6h-x95x-82q5vLLM: Cross-User Data Leak Vulnerability
- MEDIUMPYSEC-2026-3933 CVE-2026-73556 GHSA-48jh-3gj7-fg8vvLLM: ReDoS via structured_outputs.regex in the lm-format-enforcer backend (no compile timeout) — missed sibling of GHSA-rwxx-mrjm-wc2m
- MEDIUMPYSEC-2026-4007 CVE-2026-94625vLLM through 0.29.0 contains a resource exhaustion vulnerability in MooncakeConnector where rejected prefill requests create ownerless transfer placeholders that are never reclaimed. Attackers can send rejected requests to exhaust sender task pools, causing valid requests to be delayed by up to 480 seconds while health checks continue returning success.
- MEDIUMPYSEC-2026-4349 CVE-2026-115918 GHSA-x567-49g5-p4cfvLLM is an inference and serving engine for large language models. From 0.16.0 until 0.32.0, the /v1/responses endpoint allows an authenticated caller to place an attacker-controlled template in chat_template_kwargs[chat_template] when no server template is configured. ChatParams.get_apply_chat_template_kwargs() preserves that value without enforcing trust_request_chat_template, so the request can bypass the intended trust policy and cause CPU or memory exhaustion through Jinja rendering. This issue is fixed in version 0.32.0.
- MEDIUMGHSA-8737-qx52-hjff CVE-2026-71486 PYSEC-2026-3936vLLM: Derender endpoints decode caller-supplied GenerateResponse token IDs without output bounds
- MEDIUMPYSEC-2026-4351 CVE-2026-116176 GHSA-vfp2-c8pq-v6h6vLLM from 0.9.2 before 0.24.0 contains a server-side request forgery vulnerability that allows API callers to force outbound connections by embedding a decode address in the X-Request-Id header. Attackers can make a P2pNcclConnector prefill worker ZMQ-connect to an attacker host, leaking the NCCL unique_id and KV-cache tensors or blocking the worker.
- MEDIUMPYSEC-2026-3934 CVE-2026-73560 GHSA-4hhp-h66f-j5j7vLLM: SSRF + arbitrary local file read in MiMoV2OmniMultiModalProcessor `_fetch_image` and audio loader bypass MediaConnector protections
- MEDIUMPYSEC-2026-4185 CVE-2026-100652 GHSA-qff2-492f-9fm4vLLM versions 0.22.0 through 0.23.0 fail to validate stop_token_ids against vocabulary bounds in Rust HTTP and gRPC frontends, allowing out-of-vocabulary token IDs to reach MinTokensLogitsProcessor. Attackers can submit requests with min_tokens greater than zero and out-of-vocabulary stop_token_ids to trigger CUDA tensor indexing failures that leave EngineCore in a fatal state requiring service restart.
- MEDIUMPYSEC-2026-2305 CVE-2026-55646 GHSA-v82g-2437-67m2vLLM is an inference and serving engine for large language models. From 0.22.0 to 0.23.0, the /v1/audio/transcriptions and /v1/audio/translations routes call request.file.read() to fully materialize an uploaded audio file into memory before vLLM checks the documented VLLM_MAX_AUDIO_CLIP_FILESIZE_MB compressed upload size limit (default 25 MB) later in the speech-to-text preprocessing step, so an API caller who can reach those routes can submit an oversized multipart upload and cause vLLM to allocate memory proportional to the uploaded file size before the request is rejected as too large, creating memory pressure or terminating the process depending on deployment resource limits. This issue is fixed in version 0.24.0.
- MEDIUMPYSEC-2026-4306 CVE-2026-105756 GHSA-2823-qmq8-rwvjvLLM: Loose `cache_salt` validation lets a single request kill EngineCore on LMCache-MP deployments — uncaught downstream `ValueError` denial of service
- MEDIUMPYSEC-2026-3997 CVE-2026-93592 GHSA-25q3-v2hm-8vpfvLLM versions before 0.28.0 fail to validate the lower bound of token IDs in the /v1/embeddings and /pooling endpoints, allowing unauthenticated attackers to crash the engine by submitting negative token IDs. A single request with a negative token ID triggers a CUDA device-side assertion that poisons the GPU context, causing all subsequent requests to fail until the process restarts.
- MEDIUMGHSA-5jv2-g5wq-cmr4 CVE-2026-53923 PYSEC-2026-3403vLLM: GGUF dequantize kernel int truncation exposes uninitialized GPU memory in multi-tenant serving
- MEDIUMPYSEC-2026-3938 CVE-2026-73557 GHSA-pr7f-p5mw-fc87 vLLM: Incomplete CVE-2025-62164 remediation can be bypassed by concurrent prompt parts
- MEDIUMGHSA-q97c-p368-75c4 CVE-2026-115916 PYSEC-2026-4347vLLM: Out-of-vocabulary prompt token id passes input validation and triggers a CUDA device-side assert (engine crash / DoS)
- MEDIUMGHSA-x567-49g5-p4cf CVE-2026-115918 PYSEC-2026-4349vLLM: Responses API bypasses trust_request_chat_template for chat_template_kwargs
- MEDIUMPYSEC-2026-4198 CVE-2026-105755 GHSA-2phq-3phc-84pxvLLM is an inference and serving engine for large language models. Prior to 0.30.0, flash late-interaction scoring at the /score and /rerank endpoints derives each worker's query_key value from the caller-controlled X-Request-Id header. A concurrent request that reuses a victim's identifier can overwrite the cached query embedding so the victim's documents are scored against the attacker's query, and shared use counters can also cause a late-interaction cache-miss error. This issue is fixed in version 0.30.0.
- MEDIUMGHSA-pr7f-p5mw-fc87 CVE-2026-73557 PYSEC-2026-3938 vLLM: Incomplete CVE-2025-62164 remediation can be bypassed by concurrent prompt parts
- MEDIUMPYSEC-2026-3404 CVE-2026-54233 GHSA-6pr9-rp53-2pmcvLLM: OOM Denial of Service via Audio Decompression Bomb
- MEDIUMPYSEC-2026-4348 CVE-2026-115917 GHSA-vvpg-rrww-wpmhvLLM is an inference and serving engine for large language models. Prior to 0.32.0, the OpenAI-compatible server configures Starlette CORSMiddleware with allowed_origins set to a wildcard by default. A malicious web page can use a victim's browser to reach an unauthenticated vLLM server on localhost, an internal network, or a VPN, call endpoints including GET /v1/models and POST /v1/chat/completions, consume GPU resources, and read responses. Cookie-based cross-site request forgery does not apply because credentials are disabled by default, and deployments requiring bearer authentication are exposed only when the caller already has a usable token. This issue is fixed in version 0.32.0.
- MEDIUMGHSA-6pr9-rp53-2pmc CVE-2026-54233 PYSEC-2026-3404vLLM: OOM Denial of Service via Audio Decompression Bomb
- MEDIUMPYSEC-2026-4345 CVE-2026-115912 GHSA-6757-hggm-hp2wvLLM is an inference and serving engine for large language models. Prior to 0.32.0, an authenticated caller can place forged shared-memory address and monotonic_id values in public multimodal features.kwargs_data. In scale-out deployments with shared-memory multimodal caching enabled, workers trust those values and pass attacker-selected bytes to pickle.loads(), allowing arbitrary Python execution even when insecure serialization is disabled. This issue is fixed in version 0.32.0.
- MEDIUMPYSEC-2026-4347 CVE-2026-115916 GHSA-q97c-p368-75c4vLLM is an inference and serving engine for large language models. Prior to 0.32.0, vllm/tokenizers/hf.py computes max_token_id with an off-by-one upper bound, allowing a pre-tokenized prompt ID equal to the vocabulary size to pass validation. For a tensor-parallel size of one and an exact multiple-of-64 vocabulary, VocabParallelEmbedding.forward does not mask that value before F.embedding uses it, causing a CUDA device-side assertion and terminating the engine. This issue is fixed in version 0.32.0.
- MEDIUMPYSEC-2026-4179 CVE-2026-57173 GHSA-hcwq-8wjf-3gcrvLLM: Unauthenticated audio decompression-bomb DoS in /v1/chat/completions
- MEDIUMPYSEC-2026-3406 CVE-2026-12491 GHSA-8jr5-v98p-w75mvLLM: image EXIF Rotation & PNG tRNS Transparency Not Normalized, Causing Mismatch Between Model Input and Expectations
- MEDIUMGHSA-8jr5-v98p-w75m CVE-2026-12491 PYSEC-2026-3406vLLM: image EXIF Rotation & PNG tRNS Transparency Not Normalized, Causing Mismatch Between Model Input and Expectations
- MEDIUMGHSA-2823-qmq8-rwvj CVE-2026-105756 PYSEC-2026-4306vLLM: Loose `cache_salt` validation lets a single request kill EngineCore on LMCache-MP deployments — uncaught downstream `ValueError` denial of service
- MEDIUMPYSEC-2026-4324 CVE-2026-100653 GHSA-hhv2-872h-628qvLLM is an inference and serving engine for large language models. In versions from 0.22.1 through 0.28.0, the operator-supplied model revision pin (--revision / --code-revision) is not propagated to several Hugging Face artifact loads for the FunAudioChat and Tarsier2 architectures: the WhisperFeatureExtractor and speech_tokenizer PreTrainedTokenizerFast loads in vllm/model_executor/models/funaudiochat.py and the Qwen2VLConfig.from_pretrained call used by Tarsier2ProcessingInfo in vllm/model_executor/models/qwen2_vl.py. As a result, deployments pinned to a reviewed revision still resolve these behavior-affecting processor, tokenizer, and config artifacts from the repository's default revision, so a later change to the upstream default branch can alter audio preprocessing, speech tokenizer behavior, or Tarsier2 configuration without any change to the operator's configured pin. This is a supply-chain integrity and reproducibility failure for pinned deployments; it is residual to the earlier fix tracked as GHSA-3ww4-5jv9-j5gm / CVE-2026-47155 and does not constitute remote code execution or a trust_remote_code=False bypass. The issue is fixed in version 0.28.0.
- MEDIUMPYSEC-2026-4006 CVE-2026-94624 GHSA-frvg-qw88-hww9vLLM through 0.29.0 contains a denial of service vulnerability in P2P KV offloading when OffloadingConnector is configured with TieringOffloadingSpec and a peer-to-peer secondary tier. Attackers can supply arbitrary remote host and port values in kv_transfer_params to create unreachable peer sessions that retain ZeroMQ sockets until the context quota is exhausted, causing an uncaught ZMQError that crashes EngineCore and stops all inference.
- MEDIUMPYSEC-2026-4199 CVE-2026-105757 GHSA-85xf-c7hm-whqwvLLM is an inference and serving engine for large language models. Prior to 0.30.0, structured-output request failures can escape request-scoped validation and reach the EngineCore fatal-error path. A per-request backend mismatch can re-raise a grammar compilation exception, padding produced by the ngram_gpu speculative-decoding mode can pass a negative token to guidance validation, and the Rust frontend can admit empty structured-output values that the Python frontend rejects, allowing ordinary constrained-generation requests to terminate the shared engine. This issue is fixed in version 0.30.0.
- MEDIUMPYSEC-2026-3405 CVE-2026-54235 GHSA-7h4p-rffg-7823vLLM: temperature=NaN and temperature=Infinity bypass validation and propagate to GPU kernels
- MEDIUMGHSA-ph3r-5jfg-f84f CVE-2026-105753 PYSEC-2026-4197vLLM: Mirrored multimodal IPC caches desync after a rejected request — a later request reusing the same media hash trips a receiver assertion in the engine core
- MEDIUMGHSA-8397-8qf6-f2gm CVE-2026-115913vLLM: Phi-4 multimodal audio encoder materializes and retains full attention matrices: a single max-length audio OOM-crashes the vLLM engine
- MEDIUMPYSEC-2026-4178 CVE-2026-69147 GHSA-8pw2-6jv3-mj5jvLLM: Request-selected PyNvVideoCodec GPU decode bypasses static VRAM reservation
- MEDIUMGHSA-7m6h-x95x-82q5 CVE-2026-73558 PYSEC-2026-3935vLLM: Cross-User Data Leak Vulnerability
- MEDIUMPYSEC-2026-4362 CVE-2026-114054 GHSA-rh6f-3x46-j33qvLLM before 0.31.0 contains a cache aliasing vulnerability that allows authenticated attackers to collide shared cache keys by supplying caller-controlled values such as EXIF ImageID or cache_salt. Attackers can set a UUID EXIF ImageID to receive another request's cached processed media, or match cache_salt to a LoRA name to reuse first-block KV state.
- MEDIUMPYSEC-2026-4309 CVE-2026-105754 GHSA-ph72-cqr5-qpp7vLLM: Scale-out disaggregated multimodal transport trusts caller-supplied features
- MEDIUMGHSA-542m-9234-8gvf CVE-2026-115911 PYSEC-2026-4344vLLM: DoS via unbounded chat_template Jinja2 rendering exhausts the renderer thread pool
- MEDIUMPYSEC-2026-4344 CVE-2026-115911 GHSA-542m-9234-8gvfvLLM is an inference and serving engine for large language models. From 0.19.0 until 0.32.0, authenticated callers can supply a request chat template when no server-side --chat-template is configured, or a malicious model repository can provide a template that is compiled and rendered by tokenizer.apply_chat_template() without a wall-clock timeout, output-size limit, or iteration bound. Rendering runs in a ThreadPoolExecutor with one worker by default, so a nonterminating render can block /v1/responses and other chat-template users after the request ends, while an output-expanding render can exhaust server memory. Harmony models are not affected because they do not use this Jinja path. This issue is fixed in version 0.32.0.
- MEDIUMGHSA-ph72-cqr5-qpp7 CVE-2026-105754 PYSEC-2026-4309vLLM: Scale-out disaggregated multimodal transport trusts caller-supplied features
- MEDIUMGHSA-87x5-vmc3-756j CVE-2026-73559 PYSEC-2026-3704vLLM: Completion prompt lists fan out into unbounded engine requests
- MEDIUMPYSEC-2026-4352 CVE-2026-116177 GHSA-mm38-5g96-7j6xvLLM from 0.10.2 before 0.25.0 contains an uncontrolled resource consumption vulnerability that allows unauthenticated attackers to exhaust memory because the Nemotron-VL processors globally set Image.MAX_IMAGE_PIXELS to None. Attackers can submit a pathological decompression-bomb image to /v1/chat/completions to OOM-kill the worker and deny service to co-tenants.
- MEDIUMPYSEC-2026-3936 CVE-2026-71486 GHSA-8737-qx52-hjffvLLM: Derender endpoints decode caller-supplied GenerateResponse token IDs without output bounds
- MEDIUMGHSA-hcwq-8wjf-3gcr CVE-2026-57173 PYSEC-2026-4179vLLM: Unauthenticated audio decompression-bomb DoS in /v1/chat/completions
- LOWGHSA-vvpg-rrww-wpmh CVE-2026-115917 PYSEC-2026-4348vLLM: Permissive default CORS origins allow cross-origin requests to the vLLM HTTP server
- LOWGHSA-935w-9g4m-p28p CVE-2026-105752 PYSEC-2026-4308vLLM: Harmony tool continuations drop `cache_salt` — restoring a cross-tenant prefix-cache membership oracle
transformersPyPI 4.57.6 HIGH 11 advisories 5.0.05.0.0rc35.3.0+2 more
- HIGHGHSA-fgcw-684q-jj6r CVE-2026-5241 PYSEC-2026-2290huggingface/transformers: Arbitrary Code Execution During Model Initialization in the LightGlue Model Loading Path
- HIGHGHSA-29pf-2h5f-8g72 CVE-2026-4372 PYSEC-2026-2289HuggingFace transformers vulnerable to remote code execution
- HIGHGHSA-xrqw-3rrv-vx5w CVE-2026-9856 PYSEC-2026-3929Transformers save_pretrained path traversal allows arbitrary file writes through chat template names
- HIGHGHSA-x9r9-c232-4q39 CVE-2026-80047 PYSEC-2026-4174Hugging Face Transformers downloads custom generation code before trust consent
- MEDIUMPYSEC-2026-2288 CVE-2026-1839 GHSA-69w3-r845-3855A vulnerability in the HuggingFace Transformers library, specifically in the `Trainer` class, allows for arbitrary code execution. The `_load_rng_state()` method in `src/transformers/trainer.py` at line 3059 calls `torch.load()` without the `weights_only=True` parameter. This issue affects all versions of the library supporting `torch>=2.2` when used with PyTorch versions below 2.6, as the `safe_globals()` context manager provides no protection in these versions. An attacker can exploit this vulnerability by supplying a malicious checkpoint file, such as `rng_state.pth`, which can execute arbitrary code when loaded. The issue is resolved in version v5.0.0rc3.
- MEDIUMGHSA-69w3-r845-3855 CVE-2026-1839 PYSEC-2026-2288HuggingFace Transformers allows for arbitrary code execution in the `Trainer` class
- MEDIUMPYSEC-2026-2289 CVE-2026-4372 GHSA-29pf-2h5f-8g72A critical remote code execution vulnerability exists in all versions of the HuggingFace transformers library prior to version 5.3.0. The vulnerability allows an attacker to craft a malicious `config.json` file containing the `_attn_implementation_internal` field set to an attacker-controlled HuggingFace Hub repository ID. When a victim loads this model using the standard `AutoModelForCausalLM.from_pretrained()` API, the library downloads and executes arbitrary Python code from the attacker's repository with the victim's full OS privileges. This issue arises due to unfiltered deserialization of configuration attributes, insufficient sanitization of internal fields, and unsandboxed execution of downloaded kernels. The vulnerability bypasses the `trust_remote_code` security mechanism, is invisible to the victim, and exploits the standard documented usage pattern, making it particularly severe. Users are advised to upgrade to version 5.3.0 or later to mitigate this issue.
- MEDIUMPYSEC-2026-4174 CVE-2026-80047 GHSA-x9r9-c232-4q39Hugging Face Transformers downloads custom generation code before trust consent
- MEDIUMPYSEC-2026-2290 CVE-2026-5241 GHSA-fgcw-684q-jj6rA vulnerability in the LightGlue model loading path of huggingface/transformers version 5.2.0 allows an attacker-controlled model repository to execute arbitrary code during model initialization. The issue arises because the `trust_remote_code` parameter, intended to prevent remote code execution, is overridden by untrusted serialized configuration data in a nested code path. Specifically, when loading a LightGlue model using `AutoModel.from_pretrained()` with `trust_remote_code=False`, the `LightGlueConfig` reads the `trust_remote_code` value from the untrusted `config.json` file and propagates it into nested `AutoConfig.from_pretrained()` calls. This results in the execution of attacker-provided Python modules, even when the victim explicitly disables remote code execution. The vulnerability poses a high risk for environments such as API inference servers, research notebooks, CI/CD pipelines, and model evaluation workers, potentially leading to credential theft, lateral movement, or persistence/backdoor deployment.
- MEDIUMPYSEC-2026-3929 CVE-2026-9856 GHSA-xrqw-3rrv-vx5wTransformers save_pretrained path traversal allows arbitrary file writes through chat template names
- MEDIUMPYSEC-2025-217 CVE-2025-14929Hugging Face Transformers X-CLIP Checkpoint Conversion Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of checkpoints. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28308.
soupsievePyPI 2.9.1 HIGH 4 advisories 2.10.03.0.24.0.0
- HIGHGHSA-mmhr-3c5m-f64f CVE-2026-126190Soup Sieve: Polynomial-time denial of service in the descendant combinator
- HIGHGHSA-6655-6qjp-jx7x CVE-2026-126191Soup Sieve: Exponential ReDoS in selector compilation via \\9-run in CSS_ESCAPES/IDENTIFIER
- MEDIUMGHSA-4j63-6c4x-wfg4 CVE-2026-126192Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time
- MEDIUMGHSA-7g44-g9rc-x53w CVE-2026-126193Soup Sieve: Uncontrolled recursion in CSS parser lets nested pseudo-class selectors exhaust the Python call stack
setuptoolsPyPI 80.10.2 MEDIUM 3 advisories 83.0.084.1.0
- MEDIUMPYSEC-2026-3447 BIT-setuptools-2026-59890 CVE-2026-59890 GHSA-h35f-9h28-mq5csetuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. Prior to 83.0.0, FileList applied MANIFEST.in exclude, global-exclude, recursive-exclude, and prune directives by matching compiled glob patterns against on-disk file names without Unicode normalization, so on macOS APFS or HFS+ an NFD file name could bypass an NFC exclusion rule and be packed into a source distribution. This issue is fixed in version 83.0.0.
- MEDIUMGHSA-h35f-9h28-mq5c BIT-setuptools-2026-59890 CVE-2026-59890 PYSEC-2026-3447setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+
- LOWGHSA-xmj3-9gf7-h52wsetuptools: Windows path escape via namespace_packages.txt during legacy wheel installation Description
diskcachePyPI 5.6.3 MEDIUM 2 advisories no fix yet
- MEDIUMPYSEC-2026-2447 CVE-2025-69872 GHSA-w8v5-vhqr-4h9vDiskCache has unsafe pickle deserialization
- MEDIUMGHSA-w8v5-vhqr-4h9v CVE-2025-69872 PYSEC-2026-2447DiskCache has unsafe pickle deserialization
4 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
jupyter-serverPyPI 2.20.0 HIGH 2 advisories 2.21.0
- HIGHGHSA-c3mw-737p-c7g2 CVE-2026-86049 PYSEC-2026-4054Jupyter Server: 5xx request logging leaks token-bearing Referer header values
- MEDIUMPYSEC-2026-4054 CVE-2026-86049 GHSA-c3mw-737p-c7g2Jupyter Server: 5xx request logging leaks token-bearing Referer header values
torchPyPI 2.11.0+cu129 LOW 1 advisory 2.13.0
- LOWGHSA-rrmf-rvhw-rf47 BIT-pytorch-2025-3000 CVE-2025-3000 PYSEC-2025-194PyTorch is vulnerable to memory corruption through its torch.jit.script function
torchPyPI 2.11.0 LOW 1 advisory 2.13.0
- LOWGHSA-rrmf-rvhw-rf47 BIT-pytorch-2025-3000 CVE-2025-3000 PYSEC-2025-194PyTorch is vulnerable to memory corruption through its torch.jit.script function
tornadoPyPI 6.6 LOW 1 advisory 6.6.1
- LOWGHSA-5cjw-f85j-cv6r CVE-2026-126347Tornado: Open redirect via triple-slash redirect paths
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
The project's own security
| Security policy | yes .github/SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-15 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | Apache-2.0 |
| Created | 2025-01-16 |
| Topics | deepseek demo easy embedding flask gpt huggingface-transformers llm mcp multimodal |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.