Back to skill

Security audit

Cn Image Watermark

Security checks for vulnerabilities and agentic risk

Overview

This is a straightforward image watermarking skill with disclosed local file processing and no hidden network, credential, persistence, or privilege behavior.

Install only if you are comfortable with a Chinese-language watermarking tool that processes local image files you explicitly provide. Review output paths before batch use, because it recursively scans the chosen folder and writes generated images to the chosen output directory; batch mode may need a bug fix before it works as documented.

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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • 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
Findings (4)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The file name, description, headings, usage guidance, and labels are written in Chinese, which effectively forces a specific language for users. Under the policy, language constraints should either provide user opt-in/choice or be explicitly justified as region-specific.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The script’s title, docstrings, usage output, parameter conventions, and error messages are all in Chinese, and the accepted position values are also Chinese-only. This imposes a specific language/locale on users without opt-in or documented justification, which matches the natural-language policy violation criteria.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The module docstring presents the tool entirely in Chinese, and the rest of the CLI help and status messages are likewise Chinese-only. For a general-purpose skill, this imposes a specific language on users without opt-in or justification that the skill is intended only for a Chinese-speaking or region-specific context.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The file presents itself as an image watermark tool with batch support, and the batch subcommand builds a result object at L185. However, the final exit path at L188 unconditionally reads result["status"], which is only set for text/image modes, so batch mode contradicts the documented '批量处理' behavior by raising a KeyError instead of completing normally.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.