Back to skill

Security audit

MotherDuck

Security checks for vulnerabilities and agentic risk

Overview

The MotherDuck workflow includes clear approval controls, but setup can execute unverified remote software without separate user approval.

Review and approve CLI installation separately, preferably using a pinned, verified release. Check its bundled-skill installation behavior and connect only the MotherDuck permissions you need. Preserve the skill's explicit confirmations for account changes and deletions. The remote installer and connector implementations were not verified; the artifact does not establish credential theft or malicious intent.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • 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
Findings (7)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command executes an Oomol-hosted installer, with no visible MotherDuck interaction or established connection to the declared functionality. This is a materially different operation, not a demonstrated supporting implementation detail. The downloaded script's contents and further effects are not available for assessment.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
## Available actions

- `create_token` — Create a MotherDuck access token for a user. [write]
- `create_user` — Create a MotherDuck member user in the organization. [write]
- `delete_token` — Invalidate a MotherDuck access token for a user. [destructive]
- `delete_user` — Permanently delete a MotherDuck user and all of their data. [destructive]

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
- `create_token` — Create a MotherDuck access token for a user. [write]
- `create_user` — Create a MotherDuck member user in the organization. [write]
- `delete_token` — Invalidate a MotherDuck access token for a user. [destructive]
- `delete_user` — Permanently delete a MotherDuck user and all of their data. [destructive]
- `get_user_duckling_config` — Retrieve MotherDuck Duckling configuration for a user.
- `list_active_accounts` — List active MotherDuck accounts and their active Ducklings in the organization.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
- `delete_user` — Permanently delete a MotherDuck user and all of their data. [destructive]
- `get_user_duckling_config` — Retrieve MotherDuck Duckling configuration for a user.
- `list_active_accounts` — List active MotherDuck accounts and their active Ducklings in the organization.
- `list_tokens` — List MotherDuck access tokens for a user.
- `set_user_duckling_config` — Set MotherDuck Duckling configuration for a user. [write]

## Safety

External Script Fetching

High
Category
Supply Chain
Confidence
99% confidence
Finding

Piping an HTTPS response directly into bash executes mutable remote code without pinning a version or independently verifying its integrity. Compromise of the installer endpoint or distribution infrastructure could execute attacker-controlled code with the agent process's permissions; the setup-only condition reduces exposure but does not remove this supply-chain risk.

Content

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

The setup workflow instructs the agent to execute downloaded installer scripts without warning the user about remote code execution or system changes.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The missing-CLI fallback directs the agent to execute remotely downloaded shell or PowerShell code without requiring installation-specific approval or explaining the system changes. Although conditional and relevant to setup, this can turn an ordinary MotherDuck request into arbitrary code execution with the agent process's permissions.

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