Back to skill

Security audit

Gpt Image 2 Prompts Skill

Security checks for vulnerabilities and agentic risk

Overview

This skill does what it advertises, but it automatically downloads mutable remote data and tells the agent to run shell commands using fields from that data, which creates a real review-worthy safety concern.

Review before installing. The prompt library and sample images are public, but installation and normal use can contact HuggingFace and update local files. The main risk is the skill's instruction to run shell curl commands using mutable remote metadata; only install it in an environment where command execution is constrained, and avoid pasting sensitive content into the remix workflow unless you are comfortable with how your agent processes it.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (2)

T01 · Skill Instruction Hijacking

Warning
Location
SKILL.md:100
Finding

Mandatory Promotional Output Injection

Content
View full analysis
Remediation
View remediation

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:180
Finding

Shell Command Injection Through Remotely Controlled Image Metadata

Content
View full analysis
l.trim()).length; console.log(`✓ (${lines} prompts)`); writeFileSync(stampFile, String(Date.now()), 'utf8'); ``` ### Technical Analysis The Skill constructs a URL by concatenating a fixed Hugging Face prefix with `media.images[0]`, a field obtained from the remotely downloaded `metadata.jsonl` dataset. It then places the resulting value inside a shell command passed to an execution tool. Quoting a value with double quotes does not make arbitrary rem ...[truncated 2861 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (20)

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
95% confidence
Finding

The instruction rm /tmp/prompt_img.jpg is a concrete command-execution pattern that normalizes destructive shell use in a skill whose purpose is only prompt recommendation. Even though the shown filename is fixed, this pattern is dangerous because it encourages use of unrestricted exec for file operations; if the path ever becomes variable or attacker-influenced, it could lead to deletion of unintended files or command-injection style abuse.

Content

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

message tool: action=send, media=/tmp/prompt_img.jpg, caption="[Prompt Title]"

Step C — Cleanup: exec: rm /tmp/prompt_img.jpg

text

Do this for **each** of the 3 recommended prompts — one image per prompt.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The README explicitly encourages users to paste full articles, video scripts, podcast notes, and similar content into the skill, but it gives no warning about sensitive, proprietary, or personal data handling. In an agent ecosystem where content may be processed by external tools, logged, or shared across model providers, this can lead to unintentional data disclosure.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
88% confidence
Finding

The skill performs network-capable actions such as postinstall fetching, setup.js --check, and remote image downloads, but the manifest declares no tool scope or allowed-tools constraints. This creates a mismatch between what the skill appears to require and what it actually instructs the agent to do, reducing transparency and making unintended network access harder to audit or sandbox.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill mandates an automatic freshness check and silent network update on every run without clear user-facing consent. Repeated background fetching from a remote source expands supply-chain and privacy risk, and can cause the agent to perform external network activity users did not request or expect.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill instructs the agent to execute shell commands to download remote images and delete local files for each recommendation, which goes beyond normal prompt browsing. Unnecessary command execution increases attack surface, especially when file paths or URLs could later become influenced by untrusted dataset content or implementation changes.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The manifest description emphasizes recommending suitable prompts from a curated library and browsing sample prompts. In contrast, the workflow explicitly expands the skill into prompt creation and transformation, including AI-generated prompts and personalized remixes, which goes beyond straightforward recommendation from the 15,600+ dataset.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The package presents itself as a prompt library/recommendation skill, but its manifest also declares automatic setup code execution and auto-download behavior during installation. That mismatch expands the trust boundary: users expecting static prompt content may unknowingly run code and trigger network activity, which creates supply-chain and remote-content risks if the setup script or downloaded content is compromised.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

A postinstall script causes code to run automatically whenever the package is installed, even though the stated purpose is only to provide image-generation prompts. In the context of a prompt-library skill, automatic execution is not necessary for core functionality and increases the chance of unnoticed malicious actions such as unexpected downloads, environment inspection, or persistence if the script is altered.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The README says the skill supports multilingual interaction but 'always provides English prompts for generation.' This is a language-policy constraint presented as mandatory behavior rather than a user choice, which fits the locale/language policy violation category.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill requires transient writes to /tmp and file deletion as part of ordinary recommendations, but this behavior is not surfaced in the skill description. While the immediate action is limited, undisclosed filesystem use reduces transparency and can become risky in constrained or multi-tenant environments.

Content

No source excerpt is available for this finding.

Vague Triggers

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

The manifest description says the skill 'Works with Claude Code, Cursor, and more,' but does not specify the contexts, commands, or trigger boundaries under which it should be invoked. In a manifest file, this kind of broad activation framing can contribute to ambiguous triggering or unclear scope.

Content

No source excerpt is available for this finding.