Back to skill

Security audit

Email Helper - 邮件助手

Security checks for vulnerabilities and agentic risk

Overview

This email-writing skill is purpose-aligned and shows no evidence of exfiltration, hidden command execution, or unsafe system changes, though its local email-record code and broad triggers deserve user awareness.

Install only if you are comfortable with a Chinese-first email helper that may use broad email prompts and can read/write local JSON files. Avoid placing confidential email bodies into any saved-record workflow unless you have reviewed where sent_emails.json is stored and how to delete it.

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
  • 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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
79% confidence
Finding

The README presents the skill name, description, and usage examples entirely in Chinese, with no indication that other languages are supported or that the user may choose their preferred language. This can violate language/locale policy when a skill implicitly constrains interaction language without explicit opt-in or justification.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The example trigger phrases are very broad, natural-language requests that overlap with ordinary user intents such as writing leave, business, or thank-you emails. In agent ecosystems that auto-route skills based on prompt similarity, this can cause the skill to activate unexpectedly and capture requests that were not explicitly intended for it, increasing the risk of misrouting or unwanted prompt handling.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The trigger phrases are very broad and match common, everyday language such as writing or replying to emails. This can cause the skill to activate in contexts the user did not explicitly intend, increasing the chance of inappropriate handling of sensitive email content or unintended access to local template/storage features.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill requests file read/write access for template storage but does not clearly disclose to users that email templates or potentially sensitive drafted content may be stored locally. In an email-assistance context, drafts can contain personal, workplace, or confidential information, so undisclosed persistence creates a meaningful privacy and data-retention risk.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The module docstring explicitly states support for Chinese, English, and Japanese. In code, language handling in generate_email and main only supports zh/en templates and detection; there are no Japanese templates or logic, so the documentation contradicts actual behavior.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill's stated purpose is email drafting/refinement, but it also includes functionality to persist sent-email data locally and expose aggregate usage statistics. Even though the provided main flow does not clearly invoke the save path, retaining email records can capture sensitive business or personal content and metadata without clear user consent or disclosure, creating a privacy and data-minimization issue.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
96% confidence
Finding

Writing email content to a local JSON file without an explicit user-facing disclosure at the write point is a legitimate privacy/security concern. Emails often contain sensitive personal, financial, or business data, so silent local persistence can expose users to unintended data retention, leakage to other local users/processes, or accidental inclusion in backups and logs.

Content

No source excerpt is available for this finding.