Back to skill

Security audit

DataForB2B

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly coherent for DataForB2B lookups, but its setup instructions tell an agent to run an unverified remote installer directly in a shell.

Review the installer source and install the oo CLI through a verified, trusted channel before using this skill. Do not let an agent automatically run the curl-to-bash or PowerShell installer unless you are comfortable executing remote code from OOMOL on your machine.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (1)

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:61
Finding
Unverified Remote Installer Download and Immediate Shell Execution## Vulnerability Details **File Location**: `SKILL.md`, lines 61–65 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High ### Vulnerable Code ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ```powershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShell ``` ### Technical Analysis The first-time setup instructions retrieve mutable scripts from `cli.oomol.com` and immediately execute them through `bash` or PowerShell's `Invoke-Expression`. The downloaded content is not pinned to a specific release and is not subject to checksum validation, cryptographic signature verification, or local inspection before execution. Installing the `oo` CLI is relevant to the Skill's declared DataForB2B functionality. However, executing an unverified remote response directly in a shell exceeds the minimum privileges safely necessary to perform that installation. The effective code can change after the Skill has been audited without requiring any modification to the reviewed `SKILL.md` file. Both commands create a remote code-execution channel. A compromise of the download domain, its hosting or deployment pipeline, DNS resolution, or the relevant TLS trust chain could cause arbitrary attacker-controlled code to run on the user's machine. ### Attack Path 1. The `oo` CLI is absent, causing a `command not found` error. 2. The agent or user follows the documented first-time setup instructions. 3. An attacker compromises or gains control over the installer response through the hosting infrastructure, publication pipeline, domain, or applicable network trust path. 4. The attacker returns a modified shell or PowerShell installer. 5. `bash` or `Invoke-Expression` executes the response immediately, without integrity or authenticity verification. 6. The payload performs arbitrary actions using the privileges of the account that invoked the installation command. ### Impact Assessment Successful e ...[truncated 910 chars]
Remediation
## Remediation Suggestions 1. Remove the direct `curl | bash` and `Invoke-RestMethod | Invoke-Expression` installation commands. 2. Pin installation instructions to a specific, reviewed CLI release rather than a mutable installer endpoint. 3. Download the installer or release artifact to a local file without executing it automatically. 4. Verify the artifact using a publisher-provided cryptographic signature or a SHA-256 checksum obtained through an independently authenticated channel. 5. Display or otherwise make the downloaded installer available for inspection before execution. 6. Require explicit user approval before installing software or running any downloaded script. 7. Prefer a trusted package manager or signed platform-native package where available. 8. Run installation with ordinary user privileges unless a specific installation step demonstrably requires elevation. 9. If a remote installer remains necessary, use a versioned immutable URL, fail closed on verification errors, and document the expected publisher identity and checksum.
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

External Script Fetching

High
Category
Supply Chain
Content
- **`oo: command not found`** — install the oo CLI (other platforms: <https://cli.oomol.com/install-guide.md>):

  ```bash
  curl -fsSL https://cli.oomol.com/install.sh | bash    # macOS / Linux
  ```

  ```powershell
Confidence
97% confidence
Finding
The skill instructs the agent to install software via a direct network fetch piped into shell execution (`curl ... | bash`), which is a classic supply-chain and remote code execution risk. If the remote script, hosting, transport, or DNS path is compromised, arbitrary code can run on the user's machine with the agent's execution context.

Vague Triggers

Medium
Confidence
97% confidence
Finding
The description says to use this skill for ANY DataForB2B request and whenever a task involves DataForB2B, which is an overly broad trigger that can cause unintended invocation based on simple mention rather than clear user intent. In an agent system, this can route unrelated or sensitive requests into connector execution paths, increasing the chance of unnecessary data access or actions.

Static analysis

No suspicious patterns detected.