Back to skill

Security audit

Tencent Exmail Webbridge

Security checks for vulnerabilities and agentic risk

Overview

This documentation-only skill is coherent, but it automates sensitive live email actions and includes under-scoped draft/recipient/body modification guidance.

Install only if you intentionally want an agent to operate inside a logged-in Tencent Exmail browser session. Treat it as live-mailbox automation: review recipients, subject, and body before any draft is saved or sent, avoid using untrusted text as formatted HTML, and require explicit user approval for reply-all, forwarding, recipient edits, and sending.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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)

T09 · Insecure Skill Coding Practices

Warning
Location
REFERENCE.md:118
Finding

Unsafe HTML Injection in the Email Body Editor

Content
View full analysis
' + String.fromCharCode(/* your codepoints */) + ''; if (signEl && signEl.parentNode) { signEl.parentNode.insertBefore(contentDiv, signEl); } else { editorDoc.body.appendChild(contentDiv); } ``` ### Technical Analysis The documented implementation constructs message content using `String.fromCharCode(...)` and assigns the resulting string to `innerHTML`. Character-code encoding only addresses the stated UTF-8 transport problem; it does not escape or sanitize HTML. If the code points are derived from untrusted or insufficiently validated message content, they can decode to arbitrary markup. For example, content containing an active HTML element with an event-handler attribute would be parsed as DOM rather than inserted as plain email text. The newly parsed elements are then attached to the authenticated email editor document through `insertBefore` or `appendChild`. Although script elements inserted through `innerHTML` are commonly non-executing, active elements and event-handler attributes can still create executable behavior when inserted into the document. The vulnerable pattern therefore exposes the authenticated browser context to DOM-based HTML injection. ### Attack Path 1. An attacker supplies crafted text that will be used as email-body content, or induces a user to request insertion of attacker-controlled content. 2. The automation converts that content into character codes using the documented `String.fromCharCode` approach. 3. The generated JavaScript reconstructs the original attacker-controlled string in the browser. 4. The string is concatenated into an HTML fragment and assigned to `contentDiv. ...[truncated 1227 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The reference explicitly documents how to modify recipients and outbound email body content in a live enterprise mailbox, including reply/forward flows and DOM manipulation, but it provides no user-consent guardrails, confirmation requirements, or warnings about altering message content and addressing. In this context, the skill is action-oriented and operates against a real mail system, so misuse or accidental invocation could send misleading, unauthorized, or misaddressed communications on behalf of the user or organization.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The documentation provides live mailbox navigation and reply/forward automation steps inside exmail.qq.com without warning that actions can change mailbox state, open messages, move context, or prepare/send responses in production data. Because this skill targets a real enterprise email environment and relies on direct DOM clicks in iframes, operator mistakes or prompt-induced misuse could affect sensitive mail state and business communications.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The activation description is broadly scoped to any request involving Tencent Exmail WebBridge operations, reading mail, replying, forwarding, or general automation problems. Because this skill enables browser automation over sensitive email content and actions, ambiguous triggering could cause it to activate in situations beyond the user's precise intent, increasing the risk of unintended access to emails or unintended drafting/navigation actions.

Content

No source excerpt is available for this finding.