Back to skill

Security audit

Elasticsearch

Security checks for vulnerabilities and agentic risk

Overview

The Elasticsearch workflow has clear approval rules, but its automatic setup runs unverified remote code and may introduce broader agent changes.

Review and approve the CLI installation separately before enabling this skill, including any installation or synchronization of other agent skills. Use a verified release and narrowly scoped Elasticsearch credentials. OOMOL mediates database access, so consider whether that suits your data. Preserve the explicit approval requirements for writes and deletions, and avoid blindly retrying timed-out deletions: the artifact warns they may continue running. Remote installer behavior and hosted safeguards remain unverified; no malicious intent was established.

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 (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The supplied code performs remote installer execution rather than Elasticsearch operations. Nothing in the chunk establishes that the Oomol installer is a supporting dependency for the declared Elasticsearch functionality. The mismatch is based on the visible download-and-execute behavior, not assumptions about the remote script's contents.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
92% confidence
Finding

The supplied chunk performs only an authentication command and shows no Elasticsearch operations or connection to Elasticsearch. Authentication could be a supporting implementation detail if that connection were established, but the supplied content does not establish it.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping a mutable remote installer directly into bash executes its contents with the invoking user's privileges without integrity verification or inspection. HTTPS protects transport but does not protect against a compromised publisher or distribution endpoint, potentially exposing local files and credentials; this overlaps with the setup-workflow finding.

Content

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

The setup workflow executes downloaded installer scripts without warning about remote-code execution or system changes.

Medium
Category
Output Handling
Confidence
95% confidence
Finding

The setup fallback instructs the agent to execute downloaded shell or PowerShell scripts without verifying their contents or obtaining installation-specific approval. Installation is relevant to the skill, but it changes the local environment and could execute attacker-controlled code if the distribution channel is compromised; the missing-CLI condition reduces frequency, not impact.

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