MCP ScannerCustom audit
All servers

xpzouying/xiaohongshu-mcp

MCP for xiaohongshu.com

Publisherxpzouying community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 17,134Forks 2,526Last push 2026-11-10
Go 90.6%Python 9.4%by source files the scanner reads
Code safetypartly tracedExposure5.6Prompts10.0Supply chain7.9Secrets10.0Transparency10.0
Analysis confidence91%
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 Exposure5.6/10Fair

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 Chain7.9/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.

  • Some paths pass through more than 8 functions one inside another; the scanner stops there
  • In 18 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

Top risks in plain words

  • HIGHTool publish_content requests any address by design: an agent steered by prompt injection can use it that way.
  • MEDIUM1 production dependency has known vulnerabilities (worst: medium).

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.

  • Limit where it can connect

    publish_content can 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 publish_content, 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 golang.org/x/crypto 0.58.1-0.20261009181718-2f1f834330b2 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 18 tools. 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.

Start other programs on the machinecan run commands or launch programs
favorite_feed, get_login_qrcode, get_my_profile, get_unread_count, like_feed, like_notification and 7 more
13 of 18
Read or write filesopen, create, change or delete files
favorite_feed, get_login_qrcode, get_my_profile, get_unread_count, like_feed, like_notification and 7 more
13 of 18
Connect to the internet or other hostssend requests or open connections
favorite_feed, get_login_qrcode, get_my_profile, get_unread_count, like_feed, like_notification and 7 more
13 of 18
Read environment variablesoften where API keys are kept
delete_cookies, favorite_feed, get_login_qrcode, get_my_profile, get_unread_count, like_feed and 8 more
14 of 18

No tool was seen to: 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.

1 request address could not be settled from the code (built at run time).

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.

  • files13 tools · favorite_feed, get_login_qrcode, get_my_profile +10
  • web or API responses1 tool · publish_content

Tool annotations

9 of 18 tools declare annotations. readOnlyHint 9.

Tools, prompts and resources (18: 18 tools)

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

publish_contenttool 发布小红书图文内容ProcessesFilesNetworkEnv varsoutside textRequests any address
发布小红书图文内容
check_login_statustool 检查小红书登录状态read-only (declared)
检查小红书登录状态
delete_cookiestool 删除 cookies 文件,重置登录状态。删除后需要重新登录。Env vars
删除 cookies 文件,重置登录状态。删除后需要重新登录。
favorite_feedtool 收藏指定笔记或取消收藏(如已收藏将跳过收藏,如未收藏将跳过取消收藏)ProcessesFilesNetworkEnv varsoutside text
收藏指定笔记或取消收藏(如已收藏将跳过收藏,如未收藏将跳过取消收藏)
get_feed_detailtool 获取小红书笔记详情,返回笔记内容、图片、作者信息、互动数据(点赞/收藏/分享数)及评论列表。视频笔记额外返回 video 字段,含各编码档位的视频直链与字幕地址(均带签名、有时效)。默认返回前10条一级评论,如需更多评论请设置load_all_comments=trueread-only (declared)
获取小红书笔记详情,返回笔记内容、图片、作者信息、互动数据(点赞/收藏/分享数)及评论列表。视频笔记额外返回 video 字段,含各编码档位的视频直链与字幕地址(均带签名、有时效)。默认返回前10条一级评论,如需更多评论请设置load_all_comments=true
get_login_qrcodetool 获取登录二维码(返回 Base64 图片和超时时间)ProcessesFilesNetworkEnv varsoutside textread-only (declared)
获取登录二维码(返回 Base64 图片和超时时间)
get_my_profiletool 获取当前登录用户的主页,返回用户基本信息,关注、粉丝、获赞量,以及指定 tab 下的内容。tab 可选 note(自己发的笔记,默认)、fav(自己收藏的)、liked(自己点赞的)ProcessesFilesNetworkEnv varsoutside textread-only (declared)
获取当前登录用户的主页,返回用户基本信息,关注、粉丝、获赞量,以及指定 tab 下的内容。tab 可选 note(自己发的笔记,默认)、fav(自己收藏的)、liked(自己点赞的)
get_unread_counttool 获取通知未读数,返回「评论和@」「赞和收藏」「新增关注」三个分区各自的未读条数。不会清除未读标记。查看具体内容用 list_notifications。ProcessesFilesNetworkEnv varsoutside textread-only (declared)
获取通知未读数,返回「评论和@」「赞和收藏」「新增关注」三个分区各自的未读条数。不会清除未读标记。查看具体内容用 list_notifications。
like_feedtool 为指定笔记点赞或取消点赞(如已点赞将跳过点赞,如未点赞将跳过取消点赞)ProcessesFilesNetworkEnv varsoutside text
为指定笔记点赞或取消点赞(如已点赞将跳过点赞,如未点赞将跳过取消点赞)
like_notificationtool 给「评论和@」里的一条评论点赞或取消点赞。comment_id 从 list_notifications 获取(其 liked 字段是当前状态)。已是目标状态时跳过。ProcessesFilesNetworkEnv varsoutside text
给「评论和@」里的一条评论点赞或取消点赞。comment_id 从 list_notifications 获取(其 liked 字段是当前状态)。已是目标状态时跳过。
list_feedstool 获取首页 Feeds 列表ProcessesFilesNetworkEnv varsoutside textread-only (declared)
获取首页 Feeds 列表
list_notificationstool 获取通知列表。返回评论内容、评论者、以及对应笔记的 feed_id 和 xsec_token(可用于 get_feed_detail 读原帖)。已删除或不可见的条目会被过滤,过滤数量见 filtered 字段。注意:会清除该分区的未读标记,只需要未读数时用 get_unread_count。ProcessesFilesNetworkEnv varsoutside textread-only (declared)
获取通知列表。返回评论内容、评论者、以及对应笔记的 feed_id 和 xsec_token(可用于 get_feed_detail 读原帖)。已删除或不可见的条目会被过滤,过滤数量见 filtered 字段。注意:会清除该分区的未读标记,只需要未读数时用 get_unread_count。
post_comment_to_feedtool 发表评论到小红书笔记ProcessesFilesNetworkEnv varsoutside text
发表评论到小红书笔记
publish_with_videotool 发布小红书视频内容(仅支持本地单个视频文件)
发布小红书视频内容(仅支持本地单个视频文件)
reply_comment_in_feedtool 回复小红书笔记下的指定评论ProcessesFilesNetworkEnv varsoutside text
回复小红书笔记下的指定评论
reply_notificationtool 回复「评论和@」里的一条评论。comment_id 从 list_notifications 获取。适合处理收到的评论,无需先定位笔记。ProcessesFilesNetworkEnv varsoutside text
回复「评论和@」里的一条评论。comment_id 从 list_notifications 获取。适合处理收到的评论,无需先定位笔记。
search_feedstool 搜索小红书内容(需要已登录)ProcessesFilesNetworkEnv varsoutside textread-only (declared)
搜索小红书内容(需要已登录)
user_profiletool 获取指定的小红书用户主页,返回用户基本信息,关注、粉丝、获赞量,以及指定 tab 下的内容。tab 可选 note(笔记,默认)、fav(收藏)、liked(点赞),后两者可能被对方设为不公开read-only (declared)
获取指定的小红书用户主页,返回用户基本信息,关注、粉丝、获赞量,以及指定 tab 下的内容。tab 可选 note(笔记,默认)、fav(收藏)、liked(点赞),后两者可能被对方设为不公开

Text the model reads (18)

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

check_login_status tool
检查小红书登录状态
get_login_qrcode tool
获取登录二维码(返回 Base64 图片和超时时间)
delete_cookies tool
删除 cookies 文件,重置登录状态。删除后需要重新登录。
publish_content tool
发布小红书图文内容
list_feeds tool
获取首页 Feeds 列表
search_feeds tool
搜索小红书内容(需要已登录)
get_feed_detail tool
获取小红书笔记详情,返回笔记内容、图片、作者信息、互动数据(点赞/收藏/分享数)及评论列表。视频笔记额外返回 video 字段,含各编码档位的视频直链与字幕地址(均带签名、有时效)。默认返回前10条一级评论,如需更多评论请设置load_all_comments=true
user_profile tool
获取指定的小红书用户主页,返回用户基本信息,关注、粉丝、获赞量,以及指定 tab 下的内容。tab 可选 note(笔记,默认)、fav(收藏)、liked(点赞),后两者可能被对方设为不公开
post_comment_to_feed tool
发表评论到小红书笔记
reply_comment_in_feed tool
回复小红书笔记下的指定评论
publish_with_video tool
发布小红书视频内容(仅支持本地单个视频文件)
like_feed tool
为指定笔记点赞或取消点赞(如已点赞将跳过点赞,如未点赞将跳过取消点赞)
favorite_feed tool
收藏指定笔记或取消收藏(如已收藏将跳过收藏,如未收藏将跳过取消收藏)
get_my_profile tool
获取当前登录用户的主页,返回用户基本信息,关注、粉丝、获赞量,以及指定 tab 下的内容。tab 可选 note(自己发的笔记,默认)、fav(自己收藏的)、liked(自己点赞的)
get_unread_count tool
获取通知未读数,返回「评论和@」「赞和收藏」「新增关注」三个分区各自的未读条数。不会清除未读标记。查看具体内容用 list_notifications。
list_notifications tool
获取通知列表。返回评论内容、评论者、以及对应笔记的 feed_id 和 xsec_token(可用于 get_feed_detail 读原帖)。已删除或不可见的条目会被过滤,过滤数量见 filtered 字段。注意:会清除该分区的未读标记,只需要未读数时用 get_unread_count。
reply_notification tool
回复「评论和@」里的一条评论。comment_id 从 list_notifications 获取。适合处理收到的评论,无需先定位笔记。
like_notification tool
给「评论和@」里的一条评论点赞或取消点赞。comment_id 从 list_notifications 获取(其 liked 字段是当前状态)。已是目标状态时跳过。

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 Exposure5.6
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 18 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 — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    2 findings the scanner could not decide; see the findings below
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    13 of 18 capabilities start processes; 5 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    13 of 18 capabilities touch files; 5 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    13 of 18 capabilities call the network; 5 more call code the scanner could not follow, where it may happen
Where the code is: 18 handlers in 1 file at commit bb6fa2e20871
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 Chain7.9
  • Dependency manifests
    1 manifest: go.mod
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database
  • Known vulnerabilities in production dependencies MEDIUM
    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
    github.com/modelcontextprotocol/go-sdk v1.8.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 18 capabilities; 18 more call code the scanner could not follow, where it may happen
  • Environment variables
    14 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)

PackageInstalledWorstAdvisoriesFixed in
golang.org/x/cryptoGo v0.58.0 MEDIUM 1 advisory 2026-10-09
  • MEDIUMGO-2026-5932The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues

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
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
MCP SDKgithub.com/modelcontextprotocol/go-sdk v1.8.0

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-11-10
Signed releasesnot checked yet

Where it is published

Listed in1 catalog (github_search)
LicenseApache-2.0
Created2025-08-03
Topicsmcp mcp-server xiaohongshu-mcp

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.