Back to skill

Security audit

Yuan Dian

Security checks for vulnerabilities and agentic risk

Overview

The Yuan Dian integration is coherent, but its automatic setup executes an unverified remote installer without clear user control.

Review and install the CLI yourself before enabling this skill, and prevent automatic execution of its download-and-run fallback. Review the CLI's bundled-skill installation behavior and limit it to intended agent hosts. Queries and submitted legal text pass through OOMOL to Yuan Dian, so avoid unnecessary confidential information. The remote installer and CLI implementation were not verified.

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
96% confidence
Finding

The supplied code installs software rather than searching or reading Yuan Dian data. Nothing in the chunk establishes that this installation is a supporting requirement for Yuan Dian access. The remote script's contents are not supplied, so its further behavior cannot be determined.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

The fallback pipes a remotely fetched, unpinned script directly into Bash; the PowerShell alternative uses the equivalent download-and-execute pattern. If the installer endpoint or its delivery infrastructure is compromised, attacker-controlled code could run with the agent process's permissions and access local files or credentials. Restricting installation to a missing-CLI error reduces frequency but does not verify the script or obtain explicit installation approval.

Content

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

The action workflow transmits user-provided payloads to third-party services without a privacy warning.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

The workflow instructs the agent to submit action payloads through the OOMOL-connected Yuan Dian service, potentially including user-provided legal text and search queries. Although the service integration is disclosed, there is no warning about transmitting potentially sensitive content, and line 66 broadly labels read actions safe to run directly.

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 98)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