Back to skill

Security audit

Og Image Design

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly coherent for creating social preview images, but its setup path asks users to run mutable internet code directly in a shell and suggests unpinned optional installs.

Review the installer before running it, prefer manual download and checksum or signature verification, and avoid the optional npx related-skill installs unless you have pinned and reviewed the exact versions. Treat any HTML, prompts, logos, or unreleased launch copy passed to infsh apps as data sent to an external service.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:14
Finding

Remote Installer Is Downloaded and Executed Without Prior Verification

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
SKILL.md:212
Finding

Unpinned Third-Party Skills Are Installed Through npx

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (6)

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

The skill instructs users to execute a remote install script via curl ... | sh, which runs code fetched at runtime directly in the shell. Even with the note about checksum verification, the one-line command bypasses independent review and creates a strong supply-chain and remote code execution risk if the endpoint, transport, or upstream distribution is compromised.

Content

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

Quick Start

bash
curl -fsSL https://cli.inference.sh | sh && infsh login

# Generate an OG image with HTML-to-image
infsh app run infsh/html-to-image --input '{

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The description includes generic triggers like "open graph," "social card," and "twitter card" in a long flat list, but does not define activation boundaries or negative examples. In a manifest file, this kind of broad phrasing can overlap with normal discussion about metadata or social previews and make it unclear when the skill should or should not activate.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The manifest describes a skill for Open Graph/social sharing image design, platform specs, branding, and dynamic image generation. Invoking tavily/search-assistant to research debugging tools adds a broad external search capability that is not necessary to design or generate OG images and is outside the skill's stated purpose.

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.

Static analysis

No suspicious patterns detected.