Back to skill

Security audit

邮件日报专业版

Security checks for vulnerabilities and agentic risk

Overview

This email-summary skill is mostly coherent, but it uses logged-in mail sessions, scheduled automation, and external pushes without enough scoping or safeguards.

Review this skill carefully before installing. Use a dedicated browser profile and least-privileged mailbox accounts, pin and verify dependencies, store webhooks and SMTP passwords as secrets rather than plaintext config, and require explicit approval before creating schedules, starting alerts, or pushing email summaries to external channels.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:362
Finding

Unpinned Third-Party Dependency Used with an Authenticated Mail Browser

Content
View full analysis

Vulnerability Details

File Location: SKILL.md:362
Vulnerability Type: Unpinned third-party dependency in a sensitive execution context
Risk Level: Medium

Vulnerable Code Snippet:

markdown
| browser-use | CLI工具 | 必需 | `uv pip install browser-use[cli]` |

Related privileged usage at SKILL.md:271-273:

bash
browser-use --browser real open https://mail.google.com
browser-use state
browser-use screenshot inbox.png

Technical Analysis

The Skill instructs users or agents to install browser-use[cli] without a pinned version, lockfile, package hash, or integrity verification. Consequently, installation resolves whatever package version and dependency graph the configured package index serves at execution time.

The dependency is subsequently intended to operate a real browser with an existing authenticated mailbox session. This makes the dependency security-sensitive: installed package code may execute locally and interact with browser state, mailbox content, attachments, and any data available to the invoking agent.

The audit did not establish that the named package is malicious. The confirmed issue is the absence of dependency pinning and integrity controls despite use in a high-sensitivity environment.

Attack Path

  1. An attacker compromises the relevant package, a transitive dependency, its publisher account, or the configured package index.
  2. The attacker publishes or serves a modified version containing malicious installation-time or runtime behavior.
  3. A user or agent runs uv pip install browser-use[cli].
  4. Because no version or hash is constrained, the environment installs the attacker-controlled release or dependency.
  5. The package executes locally and is invoked against a real browser.
  6. The compromised component accesses or manipulates authenticated mailbox content, browser-session data, downloaded attachments, screenshots, or other information availa ...[truncated 903 chars]
Remediation
View remediation

Remediation Suggestions

  1. Pin browser-use and all transitive dependencies to reviewed versions in a lockfile.
  2. Require cryptographic hashes for downloaded distributions and reject mismatches.
  3. Verify that the package is obtained from its official publisher and an approved package index.
  4. Use an internal, controlled dependency mirror after malware and provenance scanning.
  5. Install and run the package inside an isolated virtual environment or container with minimal filesystem and network permissions.
  6. Use a dedicated browser profile containing only the mailbox required for the task rather than a general-purpose authenticated profile.
  7. Grant the mailbox account only the minimum permissions necessary and avoid administrator accounts.
  8. Restrict outbound network access to explicitly approved email and notification endpoints.
  9. Record the approved package version, hashes, source, and update-review process in SKILL.md.
  10. Re-audit dependency updates before changing the pinned version.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Rogue AgentSelf-Modification, Session Persistence
  • 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 (7)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The activation text is overly broad and overlaps with common messaging, notification, and communication tasks, increasing the chance the skill is invoked in contexts beyond email summarization. Because the skill also supports sending, pushing, scheduling, and command execution, overbroad routing can lead to unintended outbound actions or exposure of sensitive mail content.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill claims command execution is restricted to a whitelist, but the document broadly advertises exec capability and provides operational CLI examples without defining or enforcing any actual whitelist boundary. In an agent setting, this mismatch can cause operators or downstream systems to overtrust the skill and allow command execution against local environments under a false assumption of safety.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill describes multi-channel pushing, scheduled delivery, and exec-driven automation, but it does not present a strong up-front warning that these actions can transmit mailbox-derived content to external systems and create persistent side effects. In a high-sensitivity context like enterprise email monitoring, lack of prominent warning materially increases the risk of accidental disclosure or unreviewed automated sending.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
87% confidence
Finding

The skill instructs creation of recurring scheduled tasks that reuse browser-session-based mailbox access and push results to external channels. Persistent automation over authenticated email sessions increases risk of unattended data exfiltration, stale-session misuse, and repeated disclosure if scheduling is created without strong review and lifecycle controls.

Content

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

设置每天早上9点自动生成摘要并推送到飞书群.

bash
# 创建定时推送任务
email-digest-tool schedule create \
  --name "morning-digest" \
  --cron "0 9 * * 1-5" \
  --accounts gmail,outlook \

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The configuration examples include SMTP credentials and webhook endpoints, but do not prominently warn about secret handling, storage risks, or outbound transmission of potentially sensitive email data. This is dangerous because users may copy plaintext secrets into files and then use the skill to automatically forward internal content to third-party services without understanding the exposure.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
76% confidence
Finding

The description states '支持中文交互,无需复杂配置即开即用,' which frames Chinese interaction as the expected mode without clarifying whether other languages are supported or user-selectable. Under the locale policy, forcing a specific language without opt-in can be problematic unless the skill offers a language choice or clearly justifies the restriction.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
76% confidence
Finding

L369-L370 说明该工具通过浏览器会话访问邮箱,且 AI 摘要无需额外 API Key;但 L385 又将“API认证失败(401) | API密钥错误或过期”列为本技能通用排查项。对于此技能的核心邮箱访问路径,这两处说明存在明显意图层面的冲突。

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.