Back to skill

Security audit

image_editing

Security checks for vulnerabilities and agentic risk

Overview

This is a simple ImageMagick image-editing guide, with the main caution being an optional sudo package-install command.

Install only if you are comfortable adding ImageMagick through your system package manager. Review the sudo command first, and prefer an existing trusted package source or isolated environment on sensitive machines.

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

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
93% confidence
Finding

The skill explicitly recommends a sudo command, encouraging privileged execution on the user's machine. In a skill context, this is risky because users may blindly copy-paste commands, granting root-level access to package operations and potentially affecting system integrity if used in an untrusted or production environment.

Content

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

md
Required dependencies (install if not available):

- convert: Run `sudo apt install imagemagick` to install. After that, you can use `convert` command.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

The documentation instructs users to run a system-level package installation with sudo, which modifies the host environment and requires elevated privileges, but it does not clearly warn about those effects. While this is common setup guidance, it can lead users to make privileged changes on sensitive systems without considering safer alternatives such as containerized or user-scoped installation.

Content

No source excerpt is available for this finding.