Back to skill

Security audit

XHS Post Generator

Security checks for vulnerabilities and agentic risk

Overview

This skill is a simple Xiaohongshu post-writing prompt with no code, tools, persistence, or data access.

Install this if you want help drafting Xiaohongshu-style posts. Review generated text before publishing, especially tone, hashtags, claims, and language fit for your audience.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

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

md
---
displayName: "XHS Post Generator"
summary: "一键生成小红书风格笔记 - 从主题到排版,自动适配小红书平台风格"
os: ["windows", "macos", "linux"]

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
85% confidence
Finding

The summary states the skill will generate content in a Xiaohongshu-specific style using Chinese-language wording, which implies a fixed locale/style expectation. The file does not explicitly offer the user a language choice or opt-in for locale-specific output, which can violate language/locale policy requirements.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.