Back to skill

Security audit

CN Content Matrix

Security checks for vulnerabilities and agentic risk

Overview

The skill matches its Chinese content-generation purpose, but it needs review because user topics can be interpolated into Bash in a way that may execute unintended commands and the declared tool access is broader than necessary.

Install only after fixing the Bash topic handling or restricting topics to trusted input. Avoid confidential topics because WebSearch may expose search terms, and do not run content-review on sensitive local files unless you intend the agent to read them. The skill should remove unneeded Agent/WebFetch/Edit permissions, require explicit commands, and add scoped file-read and output controls.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:153
Finding

Command Injection Through Direct Topic Interpolation in Bash Templates

Content
View full analysis
Remediation
View remediation
&2 exit 1 fi ``` 4. Explicitly reject path separators, control characters, newlines, shell metacharacters, and unexpected Unicode characters before use. 5. Prefer implementing slug generation through a fixed helper script or a non-shell API so that the topic can never become part of executable syntax. 6. Add regression tests using topics containing command substitutions, backticks, quotes, semicolons, newlines, path traversal sequences, and leading option characters. 7. Apply the same correction to both occurrences at lines 153 and 294. ]]>

T05 · Unauthorized Access and Privilege Escalation

Note
Location
SKILL.md:9
Finding

Skill Declares Tools Beyond the Minimum Privileges Required

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (13)

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The declared description centers on content generation and style adaptation across multiple Chinese platforms. The supplied code does not generate any content, accept a topic, or transform text into platform-specific styles. Instead, it reads an existing file and evaluates it against platform-specific compliance/format heuristics such as length, banned words, emoji usage, and paragraph size. While the description mentions compliance review, this code only covers that auxiliary function and not the primary advertised generator behavior. Therefore the code chunk materially differs from the declared primary purpose.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The README describes the skill as providing 'true style transfer for Chinese social media,' and throughout the document it assumes Chinese-language generation as the required mode. Because the file does not offer user opt-in or a clear policy justification for enforcing a specific language/locale, this appears to violate the language-choice policy.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The README advertises WebSearch-powered real-time research but does not disclose that user-provided topics or prompt-derived content may be sent to external services. This creates a data exposure risk if users input sensitive business plans, unpublished campaigns, regulated content, or personal information under the assumption that processing is local.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The description and instructions define the skill as a Chinese content creation agent and all workflows are written to operate in Chinese, but there is no opt-in or explicit statement that the skill is intentionally limited to Chinese-language output. This can violate language/locale choice policy when the constraint is enforced without user selection or documented justification.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Treating any unrecognized input as a content-matrix command broadens activation beyond clear user intent. That can cause unintended web searches, file writes, and multi-step processing from ambiguous prompts, increasing the chance of surprise side effects and over-collection/over-processing.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill writes generated outputs to $HOME/content-output/... automatically, but the description does not clearly warn users that local files and directories will be created. Unexpected disk writes can expose sensitive topics in filenames/content, clutter the filesystem, and violate user expectations in shared or monitored environments.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The review flow reads an arbitrary user-specified file path, which can be abused to access unintended local files if the agent is invoked with sensitive paths. In an agent context, arbitrary path reads are dangerous because they expand the skill's data access surface beyond the expected content-review use case.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The document prescribes content adaptation for Chinese platforms and specifies Chinese-language audience and style conventions for each platform, but it does not indicate that users may choose another language or locale. Because the policy requires flagging language or locale constraints that are forced without opt-in, this is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The file recommends a comment CTA promising private-message delivery ('想要XX的扣 1,我私信发你') while later warning against off-platform lead diversion and related compliance issues. Even if the example only mentions DMs, this kind of engagement bait can encourage policy-violating traffic routing, spammy outreach, or platform moderation actions because users are being induced to comment in exchange for gated content.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

This markdown file presents all instructions, warnings, and examples exclusively in Chinese, and it does not state that the skill is intended only for Chinese-speaking users or a China-specific compliance context. Under the policy, forcing a specific language without user opt-in or clear justification is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

This markdown file is written as prescriptive guidance for producing Xiaohongshu content and consistently requires platform-specific Chinese phrasing such as '姐妹们', '安利', and other Chinese-language templates. Under the policy, forcing a specific language or locale without user opt-in can be a natural-language policy violation unless the locale restriction is clearly documented and justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

This shell script’s description and usage instructions force a specific language/locale for users, and the same pattern continues in later output strings. The policy allows locale constraints only when users are given a choice or when the restriction is clearly documented and justified as region-specific, which is not present here.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

This markdown file consists exclusively of Chinese-language instructions and examples, and nowhere indicates that the skill is China-specific or that users may choose another language. Under the language/locale policy, forcing a specific language without user opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.