Back to skill

Security audit

小红书选题分析

Security checks for vulnerabilities and agentic risk

Overview

The skill mostly matches its stated Xiaohongshu research purpose, but it automatically saves full fetched results and URL tokens in a predictable temporary folder without clear user control.

Review before installing if you work on shared machines or handle sensitive research targets. Running the skill sends your keywords or Xiaohongshu URLs to guaikei.com with your API token, and successful results are automatically saved locally in a temp log folder. Avoid URLs containing sensitive access parameters where possible, delete local logs after use, and prefer an updated version that makes saving opt-in, redacts xsec_token, and writes with private permissions.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
src/utils/log.js:39
Finding

Automatic Storage of Sensitive Results in a Predictable Shared Temporary Directory

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (68)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The description foregrounds topic planning, but the skill also performs external API searches and writes results to disk without an explicit capability boundary. In an agent ecosystem, this matters because users may invoke what seems like a planning helper without realizing it can transmit queries to a third party and retain outputs locally.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The description foregrounds topic planning, but the skill also performs external API searches and writes results to disk without an explicit capability boundary. In an agent ecosystem, this matters because users may invoke what seems like a planning helper without realizing it can transmit queries to a third party and retain outputs locally.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The description foregrounds topic planning, but the skill also performs external API searches and writes results to disk without an explicit capability boundary. In an agent ecosystem, this matters because users may invoke what seems like a planning helper without realizing it can transmit queries to a third party and retain outputs locally.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The description foregrounds topic planning, but the skill also performs external API searches and writes results to disk without an explicit capability boundary. In an agent ecosystem, this matters because users may invoke what seems like a planning helper without realizing it can transmit queries to a third party and retain outputs locally.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The description foregrounds topic planning, but the skill also performs external API searches and writes results to disk without an explicit capability boundary. In an agent ecosystem, this matters because users may invoke what seems like a planning helper without realizing it can transmit queries to a third party and retain outputs locally.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The description foregrounds topic planning, but the skill also performs external API searches and writes results to disk without an explicit capability boundary. In an agent ecosystem, this matters because users may invoke what seems like a planning helper without realizing it can transmit queries to a third party and retain outputs locally.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The description foregrounds topic planning, but the skill also performs external API searches and writes results to disk without an explicit capability boundary. In an agent ecosystem, this matters because users may invoke what seems like a planning helper without realizing it can transmit queries to a third party and retain outputs locally.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The description foregrounds topic planning, but the skill also performs external API searches and writes results to disk without an explicit capability boundary. In an agent ecosystem, this matters because users may invoke what seems like a planning helper without realizing it can transmit queries to a third party and retain outputs locally.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The description foregrounds topic planning, but the skill also performs external API searches and writes results to disk without an explicit capability boundary. In an agent ecosystem, this matters because users may invoke what seems like a planning helper without realizing it can transmit queries to a third party and retain outputs locally.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The description foregrounds topic planning, but the skill also performs external API searches and writes results to disk without an explicit capability boundary. In an agent ecosystem, this matters because users may invoke what seems like a planning helper without realizing it can transmit queries to a third party and retain outputs locally.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The description foregrounds topic planning, but the skill also performs external API searches and writes results to disk without an explicit capability boundary. In an agent ecosystem, this matters because users may invoke what seems like a planning helper without realizing it can transmit queries to a third party and retain outputs locally.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The description foregrounds topic planning, but the skill also performs external API searches and writes results to disk without an explicit capability boundary. In an agent ecosystem, this matters because users may invoke what seems like a planning helper without realizing it can transmit queries to a third party and retain outputs locally.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The description foregrounds topic planning, but the skill also performs external API searches and writes results to disk without an explicit capability boundary. In an agent ecosystem, this matters because users may invoke what seems like a planning helper without realizing it can transmit queries to a third party and retain outputs locally.

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 48)May include surrounding context.

md
- "这条小红书笔记评论区在吐槽什么 → node src/xiaohongshu/comment-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 200"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 115)May include surrounding context.

md
- "这条小红书笔记评论区在吐槽什么 → node src/xiaohongshu/comment-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 200"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 128)May include surrounding context.

md
- "这条小红书笔记评论区在吐槽什么 → node src/xiaohongshu/comment-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 200"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 275)May include surrounding context.

md
- "这条小红书笔记评论区在吐槽什么 → node src/xiaohongshu/comment-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 200"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 278)May include surrounding context.

md
- "这条小红书笔记评论区在吐槽什么 → node src/xiaohongshu/comment-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 200"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 49)May include surrounding context.

md
- "看这个小红书博主最近 30 条作品发什么 → node src/xiaohongshu/post-cli.js --url 'https://www.xiaohongshu.com/user/profile/xxx?xsec_token=yyy' --limit 30"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 116)May include surrounding context.

md
- "看这个小红书博主最近 30 条作品发什么 → node src/xiaohongshu/post-cli.js --url 'https://www.xiaohongshu.com/user/profile/xxx?xsec_token=yyy' --limit 30"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 281)May include surrounding context.

md
- "看这个小红书博主最近 30 条作品发什么 → node src/xiaohongshu/post-cli.js --url 'https://www.xiaohongshu.com/user/profile/xxx?xsec_token=yyy' --limit 30"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 284)May include surrounding context.

md
- "看这个小红书博主最近 30 条作品发什么 → node src/xiaohongshu/post-cli.js --url 'https://www.xiaohongshu.com/user/profile/xxx?xsec_token=yyy' --limit 30"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 50)May include surrounding context.

md
- "分析这篇小红书爆款笔记为什么火 → node src/xiaohongshu/detail-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy'"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 114)May include surrounding context.

md
- "分析这篇小红书爆款笔记为什么火 → node src/xiaohongshu/detail-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy'"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 127)May include surrounding context.

md
- "分析这篇小红书爆款笔记为什么火 → node src/xiaohongshu/detail-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy'"

Static analysis

Detected: suspicious.exposed_secret_literal

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
SKILL.md:16