Back to skill

Security audit

gmail

Security checks for vulnerabilities and agentic risk

Overview

This Gmail skill is high-impact because it can access email and create automations, but the inspected artifacts disclose those powers clearly and require user approval for sensitive actions.

Install only if you are comfortable granting Maton access to the selected Gmail account. Review OAuth scopes carefully, approve every send/delete/automation action separately, prefer read-only and narrowly scoped triggers, and be especially cautious with persistent trigger destinations because they can continuously forward private email or event data.

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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (1)

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The Gmail skill manifest says the skill is for Gmail API integration and states that other third-party apps should use the api-gateway skill, with non-Gmail event catalogues included only as shared platform reference text. This file nonetheless documents GitHub event payloads and trigger parameters in detail, which does not match the Gmail skill's stated app-specific behavior and can mislead an agent into treating GitHub event handling as part of the Gmail skill itself.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.