Back to skill

Security audit

Mailgun

Security checks for vulnerabilities and agentic risk

Overview

This Mailgun skill needs review because setup can automatically execute unverified software, and its safety rules misclassify a state-changing action.

Review and approve CLI installation separately, using a verified release. Disable automatic skill synchronization unless you want changes across your agent installations. Require confirmation for domain verification as well as sending email and other writes. OOMOL handles the connected Mailgun credentials and requests; its installer and hosted runtime were not fully verified.

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 (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command does not perform any visible Mailgun operation. Instead, it executes an installer hosted on an unrelated domain. No evidence in the chunk establishes this installation as a supporting dependency for the declared Mailgun functionality. The downloaded script's further behavior 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 the HTTPS response directly into bash executes mutable remote content without first verifying its integrity or reviewing it. HTTPS protects transport but does not prevent malicious code delivered through a compromised distribution endpoint; this is the same underlying installer risk identified in SQP-2, not evidence of an unrelated malicious payload.

Content

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

The untagged `verify_domain` action contradicts the claim that all untagged actions are read-only.

Medium
Category
Excessive Agency
Confidence
96% confidence
Finding

The untagged verify_domain action asks Mailgun to perform verification rather than merely retrieve information, and successful verification can update a domain's verification or sending state. Calling every untagged action read-only allows this operation to bypass the skill's user-confirmation requirement for state changes.

Content

No source excerpt is available for this finding.

The setup workflow executes downloaded installer scripts without warning the user about running remote code on their system.

Medium
Category
Output Handling
Confidence
95% confidence
Finding

When the CLI is missing, the setup instructions direct the agent to execute a downloaded shell or PowerShell script without an explicit installation approval or integrity-verification step. Although installing the CLI is relevant to this skill, a compromised installer source could execute arbitrary code with the agent process's local permissions.

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 92)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