Back to skill

Security audit

Leiga

Security checks for vulnerabilities and agentic risk

Overview

The Leiga read functions fit the stated purpose, but automatic installation and undisclosed changes to other agent skills need review.

Review and verify the CLI installation separately before allowing automatic setup. OOMOL mediates access to your connected Leiga account. The publisher documents OO_SKILLS_SYNC_DISABLED=1 to prevent startup writes to agent skill directories; consider enabling it before invoking the CLI. Remote installer contents and the delivered CLI release were not verified in this review.

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

The supplied chunk contains only a remote installer command and shows no Leiga search or read behavior. Although installing a dependency can be a supporting implementation detail, nothing supplied establishes this installer as a Leiga dependency. Executing an external installation script is materially different from the declared data-access purpose. The downloaded script's contents and any additional effects cannot be determined from this chunk.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

The installation command streams a mutable remote script directly into Bash without verifying its contents, signature, or a pinned digest; the PowerShell alternative uses the same download-and-execute pattern. Compromise of the distribution endpoint or installation supply chain could execute attacker-controlled code with the invoking user's permissions, exposing local files and credentials. The legitimate prerequisite and missing-CLI condition reduce execution frequency but do not remove this risk.

Content

Scanner excerpt · SKILL.md (reported line 60)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 81)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