Back to skill

Security audit

采用强大模型,一键生成小红书图文,助力品牌曝光和转化。适用于用户希望“生成小红书笔记/小红书文案/笔记”时,通过API自动生成结果而非手动撰写。

Security checks for vulnerabilities and agentic risk

Overview

This skill does what it claims: it sends a XiaoHongShu note-writing request to a disclosed external generation API and returns the generated content.

Install this only if you are comfortable sending the prompt, audience, tone, persona, note type, and image settings to xiaonian.cc for generation. Avoid entering secrets, confidential business plans, regulated data, or private personal information unless you trust that external service's handling of the data.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding

The skill invokes an external networked API but does not declare any tool scope, permissions, or allowed-tools boundary. This weakens governance and review controls because the skill can transmit user-provided content off-platform without an explicit capability declaration, increasing the chance of unnoticed data exfiltration or unauthorized network use.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The activation description includes broad trigger terms like '生成小红书笔记/小红书文案/笔记', which can cause the skill to activate for generic writing requests beyond the user's clear intent to use this external service. Because the skill sends prompts to a third-party API, overbroad activation raises the risk of accidental invocation and unintended disclosure of user content.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill description and workflow state that content is sent to an external API and that no auth is required, but they do not include a clear user-facing warning or consent step before transmitting user requests. This is dangerous because users may unknowingly provide personal, confidential, or proprietary text that is then disclosed to a third party outside the primary system boundary.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
80% confidence
Finding

The module description states that the script generates XiaoHongShu notes, and the defaults further assume a Chinese-language audience and persona. This appears to impose a specific language/locale context without an explicit opt-in or documented justification in the file.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

This markdown file documents a POST endpoint that sends user-supplied task descriptions and related content fields to a remote service, but it does not warn that the data will be transmitted off-tool to an external API. Under the markdown-specific warning rule, skills that may affect user privacy should disclose that behavior.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

The example request fixes the audience and stylistic parameters to a specific Chinese-language context, which can imply a forced locale or language preference if used as a default skill behavior. The file does not indicate that users may choose another language or audience, nor that the locale constraint is intentional and justified.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

This code sends the user-supplied task description, audience, tone, character, and image-generation settings to a remote HTTP endpoint. Although the module docstring documents the endpoint, there is no explicit user-facing disclosure at the point of execution, such as a print/log message or confirmation, that user content will be transmitted to an external service.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.