← Back to Skills Marketplace
tinadu-ai

小红书自动化 V2

by NANA · GitHub ↗ · v2.0.0
cross-platform ⚠ suspicious
352
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install xiaohongshu-v2
Description
基于Chrome DevTools Protocol,实现小红书认证登录、内容发布、搜索发现和社交互动的完整自动化操作。
Usage Guidance
What to consider before installing/running this skill: - The code largely matches the described automation capability (it controls Chrome via CDP, manages profiles under ~/.xhs, and implements publishing/search/commenting flows), but the README includes hidden unicode control characters — inspect SKILL.md with a hex viewer or a trusted editor to ensure no hidden instructions are present. - The package will write persistent data to your home directory (~/.xhs): saved profiles, cookies, images, and a run.lock. If you plan to test, do so in an isolated account or container and back up any data you care about. - The code reads environment variables (CHROME_BIN to locate Chrome, XHS_PROXY for proxying) even though the skill metadata lists none. Be aware of these runtime knobs and set them intentionally; an attacker could try to direct traffic via a proxy if you unknowingly export one. - It launches Chrome with --no-sandbox/--disable-setuid-sandbox to support root execution; running Chrome without sandboxing is less secure. Avoid running this on production hosts or on machines with sensitive data — prefer an isolated VM or disposable container. - The skill can run system utilities to find/kill processes and will spawn subprocesses (Chrome). That behavior is necessary for this automation but consider limits: it can terminate processes bound to the CDP port if they conflict. - Network activity: the tool will fetch images from arbitrary URLs and talk to Chrome's local debugging endpoint. Review any URLs you pass to it and monitor outbound connections if you run it. - Recommended actions before use: review the full source (especially any truncated/omitted files), remove or neutralize hidden control characters in SKILL.md, run in an isolated environment, and inspect or pin third-party dependencies from requirements.txt. If you plan to use real accounts, consider risks related to platform ToS and detection avoidance code (anti-detection/stealth) that may be ethically or legally problematic.
Capability Analysis
Type: OpenClaw Skill Name: xiaohongshu-v2 Version: 2.0.0 The skill bundle is a comprehensive Xiaohongshu automation suite using Chrome DevTools Protocol (CDP). It is classified as suspicious due to a potential JavaScript injection vulnerability in `scripts/xhs/comment.py` where the `user_id` parameter is unsafely interpolated into a browser-side `evaluate` call. Additionally, `scripts/chrome_launcher.py` launches Chrome with security-weakening flags such as `--no-sandbox` and `--disable-setuid-sandbox`. While these capabilities and the broad file/network access (e.g., in `scripts/image_downloader.py`) are aligned with the tool's stated purpose, they represent a significant attack surface and risky security practices.
Capability Assessment
Purpose & Capability
Name/description align with the code: the package implements Chrome CDP automation for login, publishing, search, and interactions. The code manipulates Chrome, manages profiles under ~/.xhs, downloads images, and implements publish pipelines — all coherent with the stated purpose. However, some runtime environment variables (CHROME_BIN, XHS_PROXY) and local paths are relied on even though the skill metadata declares no required env/configs.
Instruction Scope
SKILL.md and CLI instruct running local Python commands that will: launch/kill Chrome, control pages via CDP, persist cookies and profiles under ~/.xhs, download remote images, and run lsof/netstat/taskkill to find/kill processes. Those actions are within the functional scope but the README contains detected unicode-control-chars (prompt-injection style) which is unexpected and suspicious. The instructions do not declare required env vars the code will read, leaving a mismatch between advertised and actual runtime behavior.
Install Mechanism
No install spec; code is bundled with the skill and runs as Python scripts. No external archive downloads or package installers are used by the skill package itself, which reduces supply-chain risk. It does import third-party libraries (requests, websockets) that would need to be present or installed via a requirements.txt referenced by SKILL.md.
Credentials
Skill metadata lists no required environment variables, but the code reads CHROME_BIN, XHS_PROXY and implicitly depends on a writable home directory (~/.xhs). It also interacts with the network to download images and uses system utilities (lsof/netstat/taskkill). Requesting/using CHROME_BIN and XHS_PROXY are reasonable for a browser automation tool, but the omission from metadata is a mismatch and increases the chance users won't notice these behaviors.
Persistence & Privilege
The skill does not request always:true and does not modify other skills. It persists data and profiles under ~/.xhs and can create/modify cookies and image caches there. It also intentionally adds Chrome flags (--no-sandbox, --disable-setuid-sandbox) to support running as root; this is functional for some environments but weakens process isolation and increases risk if the machine or containers host sensitive data.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xiaohongshu-v2
  3. After installation, invoke the skill by name or use /xiaohongshu-v2
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
基于 CDP 的小红书完整自动化方案,修复 Chrome 启动问题,支持登录、发布、搜索、互动
Metadata
Slug xiaohongshu-v2
Version 2.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is 小红书自动化 V2?

基于Chrome DevTools Protocol,实现小红书认证登录、内容发布、搜索发现和社交互动的完整自动化操作。 It is an AI Agent Skill for Claude Code / OpenClaw, with 352 downloads so far.

How do I install 小红书自动化 V2?

Run "/install xiaohongshu-v2" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 小红书自动化 V2 free?

Yes, 小红书自动化 V2 is completely free (open-source). You can download, install and use it at no cost.

Which platforms does 小红书自动化 V2 support?

小红书自动化 V2 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 小红书自动化 V2?

It is built and maintained by NANA (@tinadu-ai); the current version is v2.0.0.

💬 Comments