Back to skill

Security audit

Bainiu

Security checks for vulnerabilities and agentic risk

Overview

The Bainiu searches fit the stated purpose, but automatic setup executes remote installation code without a clear approval step.

Review the setup behavior before enabling this skill. Install a verified CLI separately and review its automatic skill synchronization; upstream documents OO_SKILLS_SYNC_DISABLED as a control. Connecting Bainiu entrusts its credentials to OOMOL, and queries may consume credits. This review found no malicious payload, but could not verify the remote installers.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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 (6)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied chunk runs an Oomol CLI installer rather than searching or reading Bainiu data. No connection between this installer and the declared Bainiu functionality is established, so it cannot be treated as a demonstrated supporting implementation detail. The remote script's contents and downstream effects are not visible.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
84% confidence
Finding

The supplied chunk only invokes a CLI login command; it does not search or read Bainiu data or identify Bainiu as the authentication target. Authentication could be a supporting implementation detail, but the supplied code provides no evidence of that relationship.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
99% confidence
Finding

The command pipes a mutable HTTPS response directly into Bash without pinning or verifying the executed content; the adjacent PowerShell example has the same issue. HTTPS protects transport but does not prevent a compromised vendor server or release pipeline from supplying code that accesses local files, steals credentials, or modifies the environment.

Content

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

Automatic setup executes remotely downloaded installation scripts without a system-impact warning.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

When the CLI is absent, the skill directs installation by immediately executing downloaded shell or PowerShell content, without explaining system changes or requiring explicit installation approval. A Bainiu read request can consequently lead to arbitrary code execution with the invoking user's privileges if the installer delivery path is compromised; the missing-command condition limits exposure but does not eliminate it.

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

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

md
## Resources

- Bainiu homepage: https://api.bainiudata.com/
- API documentation: https://apidoc.bainiudata.com/