Back to skill

Security audit

xhs Agent

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Xiaohongshu publishing assistant that uses browser automation for expected social posting workflows and requires explicit confirmation before publishing.

Before installing, understand that this skill may automate actions in your Xiaohongshu account. Review drafts and replies before sending, keep publish confirmation explicit, and provide API keys only if you want optional cover-image generation.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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)

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
- body not empty
   - hashtags formatted
6. If `draft_only`: click save/draft and report success.
7. If `publish_now`: ask one final yes/no confirmation, then publish.
8. Return result summary with account, title, mode, status.

## Required confirmation policy

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This markdown file consists entirely of Chinese post templates and provides no indication that language choice is optional or limited to a China-specific use case. That creates a natural-language policy concern because the skill appears to prescribe a specific output language without user opt-in.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.