Back to skill

Security audit

Xiaohongshu Auto Publisher

Security checks for vulnerabilities and agentic risk

Overview

This skill appears to do what it says, but it stores a reusable Xiaohongshu login session and can publish publicly without a final confirmation step.

Install only if you are comfortable granting this skill access to a Xiaohongshu creator session and letting it publish the supplied title, text, and files. Treat state.json as a sensitive login token: do not share, sync, archive, or commit it, and delete or rotate the session when you are done. Review the generated post in the visible browser before relying on the automation.

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
scripts/login.py:4
Finding

Reusable Authentication State Stored in a Predictable Plaintext Project File

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 (2)

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The skill metadata and description present this as a straightforward publishing automation, but the documented setup also includes a separate login flow that captures and stores authenticated browser session state in state.json. That is security-relevant behavior because persisted session artifacts can grant account access if mishandled, and the need for manual login contradicts the stated automation model, reducing transparency for users making trust decisions.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The script automatically clicks the Xiaohongshu publish button and completes a public posting flow without any explicit confirmation, warning, or dry-run step immediately before publication. In an agent setting, this creates a real risk of unintended public disclosure, accidental posting of sensitive media/text, or abuse if upstream inputs are manipulated.

Content

No source excerpt is available for this finding.