Back to skill

Security audit

AgentMail

Security checks for vulnerabilities and agentic risk

Overview

The mail workflow is clearly scoped, but setup can execute an unverified downloaded installer without separate user approval.

Review the setup before installing. Prefer a verified, fixed CLI release installed under your control, and require approval before any automatic installation. Review its cross-agent skill installation behavior and grant only the AgentMail access you need. Mail changes and deletions already require confirmation. The remote installer contents remain unverified; no malicious behavior was established.

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
99% confidence
Finding

The supplied code performs remote installer execution rather than AgentMail data operations. Nothing in the chunk establishes that this installer is a supporting dependency for AgentMail. The downloaded script's contents are unavailable, so its further behavior cannot be determined.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
96% confidence
Finding

The command immediately executes a mutable remote script without a pinned version or independently verified integrity; the PowerShell alternative has the same property. Compromise of the installer distribution path could execute arbitrary code with the invoking user's privileges, potentially exposing local files and credentials. The domain is relevant to the documented CLI dependency and HTTPS helps protect transport, but neither establishes the integrity of the delivered code.

Content

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

First-time setup instructs execution of downloaded installation scripts without warning about local system changes.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

The fallback directs the agent to install software on the local system without first explaining the changes or obtaining explicit installation approval. The missing-command prerequisite limits when this happens, but the confirmation rules for AgentMail writes do not cover local software installation.

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