Back to skill

Security audit

TinyPNG

Security checks for vulnerabilities and agentic risk

Overview

The TinyPNG functions fit the stated purpose, but setup can execute unchecked remote code and introduce persistent agent skills beyond TinyPNG.

Review setup before use. Prefer separately installing a verified CLI release and disabling automatic skill synchronization if unwanted. OOMOL mediates image submissions and the connected TinyPNG account. The downloaded installers remain uninspected; this review found no evidence of deliberate malicious behavior.

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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (4)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The supplied code executes an external Oomol installer, an undeclared system-level action with no demonstrated connection to TinyPNG. Although dependency installation can be a supporting implementation detail, this chunk provides no evidence of that relationship. The downloaded script's contents and any additional effects cannot be determined from the supplied code.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping an HTTPS response directly into bash executes mutable remote code without establishing its integrity or reviewing its contents. Although the endpoint is consistent with the documented CLI provider and setup is conditional, compromise of that endpoint or its release pipeline could lead to local code execution, data theft, or file modification.

Content

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

The setup workflow executes remotely downloaded installation scripts without warning about the system-integrity risk.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The setup instructions execute downloaded shell or PowerShell scripts immediately, without integrity verification, inspection, or explicit approval for installing software. A compromised distribution endpoint or altered installer could execute arbitrary code with the invoking user's permissions; the missing-CLI condition reduces exposure but does not make execution safe.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
- **`OOMOL_INSUFFICIENT_CREDIT`** — OOMOL billing stop. Recharge at `https://console.oomol.com/billing/token-recharge` before retrying.

- **HTTP 402 without `OOMOL_INSUFFICIENT_CREDIT`** — the third-party account itself has no active plan or credit. Report the provider error message as is; do not ask the user to recharge OOMOL.

## Resources