Back to skill

Security audit

DingTalk MCP

Security checks for vulnerabilities and agentic risk

Overview

The DingTalk workflow has clear approval safeguards, but its setup can execute downloaded software without separate approval or integrity checks.

Review and approve CLI installation separately before allowing this fallback to run, using a reviewed, integrity-verified release. Check the CLI's automatic skill synchronization and disable it if unwanted. Connect only the intended DingTalk account and retain the explicit approval requirements for changes. The entire bundled artifact was inspected, but external installer and hosted-service behavior remain outside that inspection.

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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (4)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied chunk performs remote software installation rather than DingTalk MCP operations. No visible code establishes that this installer is a supporting dependency for the declared functionality. The downloaded script's contents and subsequent effects are not available, so no specific downstream behavior or malicious intent can be established.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping the HTTPS response directly into bash executes mutable remote content without a pinned version or independent integrity verification; the PowerShell alternative has the same weakness. Compromise of the distribution endpoint could execute arbitrary commands with the invoking account's permissions, potentially exposing local files or credentials; the documented vendor relationship and missing-CLI condition do not eliminate that supply-chain risk.

Content

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

Fallback setup executes downloaded installation scripts without warning about running remote code or modifying the local system.

Medium
Category
Output Handling
Confidence
93% confidence
Finding

The missing-CLI fallback directs installation without requiring disclosure of local system changes or explicit approval to execute downloaded code. A DingTalk task does not necessarily authorize installing software; the conditional fallback limits exposure but can still lead to unexpected code execution under the agent's account.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
- **`OOMOL_INSUFFICIENT_CREDIT`** — OOMOL billing stop. Recharge at `https://console.oomol.com/billing/token-recharge` before retrying.

- **HTTP 402 without `OOMOL_INSUFFICIENT_CREDIT`** — the third-party account itself has no active plan or credit. Report the provider error message as is; do not ask the user to recharge OOMOL.

## Resources