Back to skill

Security audit

TiDB Cloud

Security checks for vulnerabilities and agentic risk

Overview

The TiDB integration is coherent, but its setup fallback tells the agent to execute unverified internet scripts without a separate approval step.

Review before installing. Approve and verify the CLI installation separately, and review or disable its automatic agent-skill synchronization. Give the OOMOL connection only the TiDB permissions you need, and treat returned account information as sensitive. The remote installers and hosted connector 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
97% confidence
Finding

The supplied command installs or bootstraps external software rather than searching or reading TiDB Cloud data. Nothing in the chunk establishes this installer as a supporting dependency for the declared functionality. The downloaded script is not supplied, so its further actions cannot be determined.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping a downloaded script directly into Bash executes mutable remote content without a pinned version, independent integrity verification, or an opportunity to review it; the PowerShell fallback has the same underlying risk. Although the domain is consistent with the documented CLI provider, compromise of the distribution endpoint or release pipeline could yield arbitrary code execution with the invoking user's privileges.

Content

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

Fallback setup executes downloaded installer scripts without warning the user about remote code execution or local system changes.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

The fallback instructs the agent to install software when the CLI is missing without first obtaining explicit approval for executing remote code and modifying the local environment. Restricting installation to a missing-command error reduces its frequency, but a request to read TiDB Cloud data does not itself authorize local software installation.

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