Back to skill

Security audit

GemClean

Security checks for vulnerabilities and agentic risk

Overview

The scanners report a watermark-removal skill that sends image crops to GemClean for processing; the verdict is benign, with notes about the external upload and how the skill is installed.

Before installing, consider whether you are comfortable sending the bottom-right image area to GemClean for processing. The upload may include up to a 512×512 context crop, and on small images it may include the whole image. The scan completed across both reported components, but the benign verdict does not mean risk-free.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The code's primary goal matches watermark removal, but its description does not disclose that image content leaves the local machine for third-party processing. It sends both the processing patch and a larger diagnostic/context crop to GemClean. This is a material external data transfer and resource access, not merely an internal implementation detail. No unrelated file access or command execution is evident.

Content

No source excerpt is available for this finding.

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

When installing from the web, save this file as SKILL.md and download scripts/gemclean.py at that relative path in the same skill folder. Resolve the script relative to the installed skill. Pass the image's absolute path. Example from the skill folder:

sh
uv run --script scripts/gemclean.py remove "/project/hero.jpg" -o "/project/hero.clean.png" --json

If uv is unavailable, use Python 3.11+ with Pillow. If needed, install the script's declared Pillow version in a virtual environment dedicated to this skill. The script accepts still 8-bit PNG, JPEG and WebP images up to 20 MiB and 40 megapixels. It sends the bottom-right corner to https://gemclean.app. GemClean repairs the inner 320 × 320 pixels and may retain up to 512 × 512 source pixels privately for troubleshooting. On small inputs this can include the whole image. The repair area must be opaque.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: network.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Undisclosed upload of local image content to an external processing service.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

The manifest describes removing a bottom-right watermark from a local image, without declaring external image submission. The code encodes both a 320×320 processing patch and a separate context crop of up to 512×512 pixels (L210–L225), then POSTs both at L118 to gemclean.app (L022, L051–L053). This transfers user image content, including pixels outside the replacement patch, to a third party—a capability not inherently required for watermark removal.

Content

No source excerpt is available for this finding.

Image content is uploaded to a third-party service without disclosure.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The POST sends both the 320×320 processing patch and a diagnostic crop of up to 512×512 pixels to gemclean.app. The docstring describes watermark removal but does not disclose remote image transmission or the larger diagnostic crop, and no confirmation or upload notice is provided.

Content

No source excerpt is available for this finding.