Back to skill

Security audit

gmail-all-email-actions

Security checks for vulnerabilities and agentic risk

Overview

This Gmail skill is openly a broad email-control integration, but it needs Review because it can read, send, forward, trash email, and delete drafts without clear confirmation controls.

Install only if you are comfortable granting this AgentPMT Gmail connection broad mailbox access. For safety, manually verify recipients, from-addresses, BCC, attachments, forwarded content, trash actions, and draft deletion before allowing the agent to execute them; prefer the OpenClaw install path or pinned, audited setup commands.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (14)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Complete generated action schema: `./schema.md`.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill description emphasizes broad Gmail control but does not prominently warn that it can perform destructive actions and access sensitive communications. Missing consent and risk language is dangerous here because users may invoke the skill without realizing it can exfiltrate private email content, send messages, or delete/trash data.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The activation keywords include broad phrases like email management and information gathering, making accidental or overly eager activation more likely. In a skill with capabilities to read, send, forward, trash, and label email, overbroad triggering increases the chance of unintended access to sensitive messages or unintended outbound actions.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

The skill instructs users to run npx skills ... without pinning an exact package version or integrity. That creates a supply-chain risk: a future compromised or breaking package release could be fetched and executed during installation, which is especially concerning because this skill is for privileged Gmail operations.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

This line again recommends npx skills without version pinning, allowing unreviewed code to be downloaded and executed at install time. In the context of an email-management skill, compromise of the installer path could lead to credential theft or malicious tool substitution.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

The unpinned npx skills invocation exposes users to dependency substitution or a malicious upstream release. Because the skill enables access to inbox contents and outbound mail, a compromised install chain could materially impact confidentiality and account integrity.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

This duplicated unpinned install command has the same supply-chain exposure as the other instances. Attackers who compromise the package or namespace could deliver arbitrary code during installation before the user ever reaches the Gmail tool itself.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

The install instruction uses npx without constraining the package version, which is a known unsafe pattern for setup documentation. In a skill that brokers access to email data and sending authority, supply-chain compromise can amplify downstream account abuse.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

An additional unpinned npx skills command repeats the same supply-chain vulnerability. Users following these instructions may execute whatever package version is current at the time, including a malicious or tampered release.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

md
- What AgentPMT is: ../what-is-agentpmt (ClawHub: `what-is-agentpmt`, page: https://clawhub.ai/agentpmt/what-is-agentpmt; skills.sh: `npx skills add AgentPMT/agent-skills --skill what-is-agentpmt`)
- AgentPMT account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup (ClawHub: `agentpmt-account-mcp-rest-api-setup`, page: https://clawhub.ai/agentpmt/agentpmt-account-mcp-rest-api-setup; skills.sh: `npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup`)
- Marketplace product: https://www.agentpmt.com/marketplace/gmail-all-email-actions
- AgentPMT main MCP server: https://api.agentpmt.com/mcp/
- AgentPMT REST invoke endpoint: https://api.agentpmt.com/products/purchase

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

md
- What AgentPMT is: ../what-is-agentpmt (ClawHub: `what-is-agentpmt`, page: https://clawhub.ai/agentpmt/what-is-agentpmt; skills.sh: `npx skills add AgentPMT/agent-skills --skill what-is-agentpmt`)
- AgentPMT account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup (ClawHub: `agentpmt-account-mcp-rest-api-setup`, page: https://clawhub.ai/agentpmt/agentpmt-account-mcp-rest-api-setup; skills.sh: `npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup`)
- Marketplace product: https://www.agentpmt.com/marketplace/gmail-all-email-actions
- AgentPMT main MCP server: https://api.agentpmt.com/mcp/
- AgentPMT REST invoke endpoint: https://api.agentpmt.com/products/purchase

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The schema exposes permanently destructive operations such as draft deletion without any documented confirmation, safety interlock, or explicit user-consent guidance. In an agentic context, this increases the chance of accidental or unauthorized data loss because an agent may invoke the action directly from ambiguous instructions or prompt-manipulated input.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The outgoing email actions allow transmission of message bodies, recipients, and fetched attachments from public URLs, but the schema provides no warning about privacy, recipient verification, attachment provenance, or the risk of sending sensitive data externally. In an agent-enabled workflow, this can lead to unintended disclosure, spoofed communications via send-as aliases, or exfiltration of sensitive content through mistaken or manipulated sends.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

The skill's documentation presents a concrete action inventory under 'Actions' but does not include get_thread, while later sections explicitly list get_thread as a supported action with its own schema entry. This is an intent/documentation inconsistency within the skill file about what the tool exposes.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.