Skill flagged — suspicious patterns detected
ClawHub Security flagged this skill as suspicious. Review the scan results before using.
小红书转Obsidian
v1.0.0Extract Xiaohongshu (小红书) posts into Obsidian notes. Use when user shares a Xiaohongshu link and wants to save it as a markdown note. Supports single posts,...
⭐ 0· 28·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
The code (extract_post.py + video_transcribe.sh) implements scraping Xiaohongshu posts and saving Markdown to an Obsidian folder, which is coherent with the name/description. It legitimately uses cookies for authenticated scraping. However, the SKILL.md and the script disagree on the default cookie path (SKILL.md: ~/.openclaw/xhs-cookies.json; script default: ~/cookies.json), which is an inconsistency the user should be aware of.
Instruction Scope
Instructions explicitly ask the user to export their Xiaohongshu cookies (containing session/auth tokens) and save them to disk; the code reads those cookies and uses them to fetch pages. This is expected for authenticated scraping but is sensitive (storing auth cookies plaintext is risky). The code fetches HTML and video URLs and downloads video content locally; that behavior matches the stated purpose and does not show hidden network destinations. However, extract_post.py disables TLS verification (ssl.CERT_NONE), which weakens security and could allow MITM attacks — this is a notable implementation concern.
Install Mechanism
No install spec (instruction-only + included scripts). Optional dependencies (ffmpeg, mlx-whisper/whisper) are invoked only for transcription; installing via brew/pip is suggested. Nothing is downloaded from unknown third-party URLs in an install step.
Credentials
The skill requests no environment variables but requires a cookie file to be created by the user; that is proportional to the task. Still: cookies contain sensitive session data stored unencrypted on disk, and that risk is not called out in the SKILL.md. Also the mismatch in default cookie path between docs and script could lead to confusion or accidental exposure.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or cross-skill privileges. It writes notes to the user-specified Obsidian folder and temporary files under /tmp, which is consistent with its purpose.
What to consider before installing
This skill appears to do what it says (scrape Xiaohongshu posts and optionally transcribe videos), but exercise caution before installing/using it:
- Sensitive cookies: The tool requires you to export your Xiaohongshu cookies (session tokens) and save them to a local JSON file. Those cookies grant access to your account and should be treated like a password — do NOT share them. Consider creating a throwaway account if you are unsure.
- Plaintext storage: Cookies are stored in plaintext in your home directory by default; remove or rotate them after use and restrict file permissions (chmod 600) if you keep them.
- TLS verification disabled: extract_post.py creates an SSL context with certificate verification disabled (ssl.CERT_NONE). This reduces protection against network-level interception (MITM). If you only run this on trusted networks, risk is lower, but ideally the script should be modified to enable verification.
- Inconsistent defaults: SKILL.md and extract_post.py disagree on the default cookie path; always pass explicit --cookies and --output arguments to avoid surprises.
- Review code before running: The repository is small and readable — inspect the scripts yourself or run them in a sandboxed environment first. If you accept the risks, run with an account you can afford to expose and remove stored cookies after use.
If you want, I can point out the exact lines to change to re-enable SSL verification and to harmonize the default cookie path.Like a lobster shell, security has layers — review code before you run it.
latestvk971c97bkyve85drqb0mzfh5a58438gr
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
