Back to skill

Security audit

Z-API

Security checks for vulnerabilities and agentic risk

Overview

The Z-API workflow is coherent, but its automatic setup can execute unverified installation code and introduce broader agent changes without clear user approval.

Review and verify the CLI installation separately before letting the agent perform setup. Decide whether to permit its automatic installation and synchronization of other agent skills; upstream documents controls in the [command reference](https://github.com/oomol-lab/oo-cli/blob/main/docs/commands.md). Confirm message recipients and content, and understand that requests pass through OOMOL. The downloaded installer and server-side 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 (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command executes a remote Oomol installation script, with no visible Z-API interaction or established connection to the declared purpose. Installing unrelated tooling is a materially different capability, not a demonstrated supporting implementation detail. The contents and further effects of the downloaded script are not available in the supplied code.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
86% confidence
Finding

The supplied chunk performs a CLI login rather than the declared Z-API operations. Authentication could be a supporting implementation detail if tied to Z-API, but the supplied content establishes no such connection. The assessment is limited to this chunk; it does not establish what service oo authenticates to.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping an HTTPS response directly into Bash executes a mutable remote script without checking a pinned version, signature, or independently trusted digest. HTTPS protects transport but does not prevent a compromised distribution endpoint from serving malicious code; conditional use for legitimate setup reduces exposure but does not remove this supply-chain risk.

Content

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

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

Medium
Category
Output Handling
Confidence
95% confidence
Finding

The missing-CLI fallback directs installation through downloaded shell or PowerShell code without an explicit approval gate for executing remote code or changing the local system. Although this is relevant dependency setup and only occurs conditionally, following it could execute attacker-controlled code with the invoking user's privileges if the distribution source is compromised.

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