Back to skill

Security audit

Dub

Security checks for vulnerabilities and agentic risk

Overview

Dub actions have clear approval checks, but setup executes unverified remote code and omits broader changes the CLI can make to agent skills.

Review and provision a pinned CLI before use, restrict the Dub connection's permissions, and retain the write/delete confirmations. To prevent automatic agent-skill changes, set OO_SKILLS_SYNC_DISABLED=1 before invoking oo, as documented in its [environment controls](https://github.com/oomol-lab/oo-cli/blob/main/docs/commands.md#environment-variables). The remote installer and actual installed binary remain unverified.

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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (3)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied command executes an Oomol-hosted installer rather than performing any visible Dub operation. Nothing in the provided chunk establishes that this installer is a supporting implementation detail for Dub. The downloaded script is not supplied, so its additional 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 setup command streams a mutable remote script directly into Bash without verifying its integrity or authenticity beyond HTTPS; the PowerShell alternative has the same weakness. If the distribution infrastructure is compromised, an agent following this instruction could execute attacker-controlled code with its local privileges, potentially exposing files and credentials. Restricting installation to a missing-CLI error reduces exposure but does not secure the execution path.

Content

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

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