XHS-Ops: Xiaohongshu Operations Toolkit
Analysis
This Xiaohongshu toolkit is coherent for content operations, but it needs careful review because it can use a logged-in Xiaohongshu session to post public comments and depends on an external MCP binary that handles account access.
Findings (5)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
result = mcp.post_comment(feed_id, xsec_token, comment_text)
The comment helper directly calls the MCP comment-posting function after only a blacklist check, with no explicit confirmation step in the function itself.
curl -L -o mcp.tar.gz https://github.com/xpzouying/xiaohongshu-mcp/releases/latest/download/xiaohongshu-mcp-darwin-arm64.tar.gz
The setup guidance pulls a latest-release external binary without a pinned version or checksum; that binary is central to login and Xiaohongshu API actions.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
Cookie expires ~30 days; re-login: `./xiaohongshu-login-darwin-arm64`
The skill relies on a persistent logged-in Xiaohongshu session even though the registry declares no primary credential, and other artifacts use that session to post comments.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
resp = requests.post(self.mcp_url, ... "method": "tools/call", ... "params": {"name": name, "arguments": arguments or {}})The skill delegates searches, feed-detail retrieval, and comment posting to a local MCP service; this is expected for the skill but makes the MCP service a sensitive trust boundary.
RESULTS_PATH = "/tmp/xhs-search-results.json"
Search results are persisted in a shared temporary file for later tools, and the saved records include feed IDs, titles, authors, engagement metrics, keywords, and xsec_token values.
