MCP ScannerCustom audit
All servers

baidubce/app-builder

appbuilder-sdk, 千帆AppBuilder-SDK帮助开发者灵活、快速的搭建AI原生应用

Packageappbuilder
Version1.1.3 in java/pom.xml
PublisherBaidu Official
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 588Forks 142Last push 2026-04-26
Python 74.6%Java 22.2%Go 3.1%by source files the scanner reads
Code safetypartly tracedExposure8.3Prompts10.0Supply chain6.4Secrets10.0Transparency10.0
Analysis confidence82%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure8.3/10Good

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain6.4/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

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.

  • In 318 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
  • 4 of 16 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
  • 2 tools, prompts and resources registered only in the repository's tests are not counted on this page

Top risks in plain words

  • HIGHTool upload_document reads or writes any file path by design: an agent steered by prompt injection can use it that way.
  • HIGH1 production dependency has 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

    upload_document can read or write any file path. Mount a single project folder, read-only where you can.

  • Turn off the tools you do not use

    Most MCP clients let you disable single tools. If you do not need upload_document, 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 mcp 1.28.1 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 13 tools, 1 resource. 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.

Read or write filesopen, create, change or delete files
upload_document
1 of 14
Read environment variablesoften where API keys are kept
AIsearch, describe_knowledge_base, list_apps, list_documents, list_knowledge_bases, upload_document
6 of 14

No tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; touch sensitive locations.

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.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

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.

  • files1 tool · upload_document
Reads private data1 tool
Takes text from outside0 tools
Can send data out0 tools

Not all three are present in the tools the scanner traced.

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 (14: 13 tools, 1 resource)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

upload_documenttool Upload documents to a KnowledgeBase.FilesEnv varsoutside textReads/writes files
Upload documents to a KnowledgeBase.
    
    Args:
        id: KnowledgeBase ID
        file_path: Path to the file to upload
        template: Optional processing template to use. Options:
            - ppt: PPT slides
            - paper: Academic papers
            - resume: Resume documents
            - default: Default configuration
(name computed at run time)resource
No description.
(name computed at run time)tool
No description.
AIsearchtool 执行搜索。Env vars
执行搜索。

    Args:
        query (str): 搜索请求。
        stream (bool, optional): 是否以流的形式接收响应数据。默认为False。
        instruction (Instruction, optional): 指令信息对象。默认为None。
        temperature (float, optional): 温度参数,控制生成文本的随机性。默认为1e-10。
        top_p (float, optional): 累积概率阈值,用于控制生成文本的多样性。默认为1e-10。
        search_top_k (int, optional): 搜索候选结果的数量。默认为4。
        hide_corner_markers (bool, optional): 是否隐藏响应中的边界标记。默认为True。

    Returns:
        Message: 处理后的信息对象。

    Raises:
        AppBuilderServerException: 如果输入信息或指令过长,将抛出此异常。
create_conversationtool Create a new conversation session for a specific AppBuilder application.
Create a new conversation session for a specific AppBuilder application.

    Args:
        app_id (str): The unique identifier of the target application

    Returns:
        str: A unique conversation identifier that can be used for subsequent interactions

    Example:
        conversation_id = create_conversation("fcc766c4-2bf2-46a3-a63b-1341b05bac49")
create_knowledge_basetool Create a new KnowledgeBase.
Create a new KnowledgeBase.
    
    Args:
        name: Name of the KnowledgeBase
        description: Description of the KnowledgeBase
describe_knowledge_basetool Get details of a specific KnowledgeBase.Env vars
Get details of a specific KnowledgeBase.
    
    Args:
        id: ID of the KnowledgeBase
handlertool
No description.
list_appstool Retrieve a list of all available AppBuilder applications. Env vars
Retrieve a list of all available AppBuilder applications.

    Returns:
        List[Dict]: A list of dictionaries containing app details with the following keys:
            - id (str): Unique identifier of the app
            - name (str): Name of the app
            - description (str): Description of the app
            - appType (str): Type of the app
            - isPublished (bool): Publication status of the app
            - updateTime (str): Last update timestamp
list_documentstool Get all documents in a KnowledgeBase.Env vars
Get all documents in a KnowledgeBase.
    
    Args:
        id: Knowledge base ID
list_knowledge_basestool List all KnowledgeBase.Env vars
List all KnowledgeBase.
    
    Args:
        max_keys: Maximum number of KnowledgeBase to return (default: 10)
query_knowledge_basetool Query content from KnowledgeBases.
Query content from KnowledgeBases.
    
    Args:
        query: Search query string
        id_list: List of KnowledgeBase ID to search in
runtool Execute a conversation query with a specific AppBuilder application.
Execute a conversation query with a specific AppBuilder application.

    Args:
        app_id (str): The unique identifier of the target application
        conversation_id (str): The conversation session identifier
        query (str): The input text/query to send to the application

    Returns:
        str: The response content from the conversation

    Example:
        response = run_conversation(
            "fcc766c4-2bf2-46a3-a63b-1341b05bac49",
            "conv-123",
            "今天北京天气如何"
        )
tool_fntool
No description.

Text the model reads (14)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

AIsearch tool
执行搜索。

    Args:
        query (str): 搜索请求。
        stream (bool, optional): 是否以流的形式接收响应数据。默认为False。
        instruction (Instruction, optional): 指令信息对象。默认为None。
        temperature (float, optional): 温度参数,控制生成文本的随机性。默认为1e-10。
        top_p (float, optional): 累积概率阈值,用于控制生成文本的多样性。默认为1e-10。
        search_top_k (int, optional): 搜索候选结果的数量。默认为4。
        hide_corner_markers (bool, optional): 是否隐藏响应中的边界标记。默认为True。

    Returns:
        Message: 处理后的信息对象。

    Raises:
        AppBuilderServerException: 如果输入信息或指令过长,将抛出此异常。
list_apps tool
Retrieve a list of all available AppBuilder applications.\x0d
\x0d
    Returns:\x0d
        List[Dict]: A list of dictionaries containing app details with the following keys:\x0d
            - id (str): Unique identifier of the app\x0d
            - name (str): Name of the app\x0d
            - description (str): Description of the app\x0d
            - appType (str): Type of the app\x0d
            - isPublished (bool): Publication status of the app\x0d
            - updateTime (str): Last update timestamp
create_conversation tool
Create a new conversation session for a specific AppBuilder application.\x0d
\x0d
    Args:\x0d
        app_id (str): The unique identifier of the target application\x0d
\x0d
    Returns:\x0d
        str: A unique conversation identifier that can be used for subsequent interactions\x0d
\x0d
    Example:\x0d
        conversation_id = create_conversation("fcc766c4-2bf2-46a3-a63b-1341b05bac49")
run tool
Execute a conversation query with a specific AppBuilder application.\x0d
\x0d
    Args:\x0d
        app_id (str): The unique identifier of the target application\x0d
        conversation_id (str): The conversation session identifier\x0d
        query (str): The input text/query to send to the application\x0d
\x0d
    Returns:\x0d
        str: The response content from the conversation\x0d
\x0d
    Example:\x0d
        response = run_conversation(\x0d
            "fcc766c4-2bf2-46a3-a63b-1341b05bac49",\x0d
            "conv-123",\x0d
            "今天北京天气如何"\x0d
        )
create_knowledge_base tool
Create a new KnowledgeBase.
    
    Args:
        name: Name of the KnowledgeBase
        description: Description of the KnowledgeBase
describe_knowledge_base tool
Get details of a specific KnowledgeBase.
    
    Args:
        id: ID of the KnowledgeBase
list_knowledge_bases tool
List all KnowledgeBase.
    
    Args:
        max_keys: Maximum number of KnowledgeBase to return (default: 10)
query_knowledge_base tool
Query content from KnowledgeBases.
    
    Args:
        query: Search query string
        id_list: List of KnowledgeBase ID to search in
upload_document tool
Upload documents to a KnowledgeBase.
    
    Args:
        id: KnowledgeBase ID
        file_path: Path to the file to upload
        template: Optional processing template to use. Options:
            - ppt: PPT slides
            - paper: Academic papers
            - resume: Resume documents
            - default: Default configuration
list_documents tool
Get all documents in a KnowledgeBase.
    
    Args:
        id: Knowledge base ID
(name computed at run time) tool
handler tool
tool_fn tool
(name computed at run time) resource

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure8.3
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 12 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 12 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path HIGH
    1 finding in upload_document
  • Requests any address
    No tool sends a request to an address the caller supplies — 12 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 12 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 14 capabilities; 10 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    1 of 14 capabilities touch files; 9 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 14 capabilities; 10 more call code the scanner could not follow, where it may happen
Where the code is: 14 handlers in 4 files at commit 76a7316c0671
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain6.4
  • Dependency manifests
    4 manifests: docs/Tools/SphinxSh/requirements.txt, go/appbuilder/go.mod, java/pom.xml, requirements.txt
  • Lockfiles checked against OSV
    3 files resolved and checked against the OSV database; 3 not resolved: docs/Tools/SphinxSh/requirements.txt: 3 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile; requirements.txt: 17 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile
  • Known vulnerabilities in production dependencies HIGH
    1 production package with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    mcp ==1.3.0
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 14 capabilities; 10 more call code the scanner could not follow, where it may happen
  • Environment variables
    6 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (1 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

PackageInstalledWorstAdvisoriesFixed in
mcpPyPI 1.3.0 HIGH 10 advisories 1.9.41.10.01.23.0+2 more
  • HIGHGHSA-vj7q-gjh5-988w CVE-2026-59950 PYSEC-2026-3483MCP Python SDK: WebSocket server transport does not support Host/Origin validation
  • HIGHGHSA-jpw9-pfvf-9f58 CVE-2026-52869 PYSEC-2026-3482MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
  • HIGHGHSA-9h52-p55h-vw2f CVE-2025-66416 PYSEC-2026-1617Model Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default
  • HIGHGHSA-j975-95f5-7wqh CVE-2025-53365 PYSEC-2026-1618MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service
  • HIGHGHSA-3qhf-m339-9g5v CVE-2025-53366 PYSEC-2026-1616MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS
  • MEDIUMPYSEC-2026-1616 CVE-2025-53366 GHSA-3qhf-m339-9g5vMCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS
  • MEDIUMPYSEC-2026-3482 CVE-2026-52869 GHSA-jpw9-pfvf-9f58MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
  • MEDIUMPYSEC-2026-1618 CVE-2025-53365 GHSA-j975-95f5-7wqhMCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service
  • MEDIUMPYSEC-2026-1617 CVE-2025-66416 GHSA-9h52-p55h-vw2fModel Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default
  • MEDIUMPYSEC-2026-3483 CVE-2026-59950 GHSA-vj7q-gjh5-988wMCP Python SDK: WebSocket server transport does not support Host/Origin validation

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 runsOn your machine, started by your MCP client from this repository or its package
Transportstdio
Sign-innot checked needs the live server
MCP SDKmcp ==1.3.0
Servers in the code4 (AB Component Server, AppBuilder App MCP Server, AppBuilder KnowledgeBase MCP Server, weather)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-04-26
Signed releasesnot checked yet

Where it is published

Listed in3 catalogs (awesome_habitoai, glama, mcp_toplist)
LicenseApache-2.0
Created2023-12-05
Topicsai-native erniebot large-language-models llm llms qianfan agent appbuilder assistant-api rag

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.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.