Back to skill

Security audit

安装 ob1 openblocklabs 完成验证步骤

Security checks for vulnerabilities and agentic risk

Overview

The skill has a coherent OB1 install purpose, but its main install step executes a mutable remote script directly in the shell without verification.

Review this skill carefully before installing. Only run the installer if you trust OpenBlock Labs and the installer endpoint, and prefer a version-pinned, checksum-verified, inspectable installer or signed package before granting it access to your user account and OB1 authentication state.

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:9
Finding
Unverified Remote Installer Is Piped Directly to Bash## Vulnerability Details **File Location**: `SKILL.md`, lines 9–13 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High **Vulnerable Code**: ```bash ## Install ```bash curl -fsSL https://dashboard.openblocklabs.com/install | bash ``` ``` ### Technical Analysis The installation command retrieves mutable content from an external URL and pipes it directly into Bash. The payload is neither version-pinned nor authenticated using a published cryptographic checksum or signature. It is also not saved locally for inspection before execution. HTTPS provides transport protection but does not prove that the current server-hosted installer is trustworthy or unchanged. The effective payload can change after this Skill has been reviewed. Compromise of the hosting domain, web application, deployment pipeline, or installer publication process could therefore turn the documented installation step into arbitrary code execution. Installing OB1 legitimately requires obtaining software, but directly executing mutable network content is not required. The remote script receives all permissions available to the user running the command, exceeding the minimum capability needed merely to download an installer. The installer content was not included in the audited project, so its actual operations and trustworthiness could not be verified. ### Attack Path 1. An attacker compromises the installer endpoint, its hosting infrastructure, or its publication pipeline. 2. The attacker replaces or modifies the response from `https://dashboard.openblocklabs.com/install`. 3. An agent or user follows the Skill’s installation instructions. 4. `curl` retrieves the attacker-controlled response. 5. The shell pipeline passes that response directly to Bash without verification or review. 6. Bash executes the payload with the invoking user’s privileges. 7. The payload can access or modify resources available to that user. ...[truncated 804 chars]
Remediation
## Remediation Suggestions 1. Replace the mutable installer URL with a version-pinned release artifact from a verified official source. 2. Download the artifact to a local file rather than piping it directly into a shell. 3. Verify the downloaded artifact against a separately published cryptographic checksum and, preferably, a signature tied to a documented maintainer key. 4. Display or inspect the verified installer before execution and require explicit user approval. 5. Document every expected filesystem change, including installed binaries, symlinks, configuration files, and authentication storage. 6. Execute the installer without administrative privileges unless a specific, documented operation strictly requires elevation. 7. Prefer a reproducible package-manager installation or signed native package where available. 8. Pin both the installer and installed binary versions so subsequent audits evaluate the same code users execute. A safer conceptual workflow is: ```bash curl -fL -o ob1-installer.sh "https://verified.example/releases/VERSION/ob1-installer.sh" echo "EXPECTED_SHA256 ob1-installer.sh" | sha256sum -c - less ob1-installer.sh bash ob1-installer.sh ``` The URL, version, checksum, and signing process must come from verified OpenBlock Labs release documentation rather than the illustrative values above.
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • 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 (3)

External Script Fetching

High
Category
Supply Chain
Content
## Install

```bash
curl -fsSL https://dashboard.openblocklabs.com/install | bash
```

Installs to `~/.ob1/bin/ob1`, symlinks to `~/.local/bin/ob1`.
Confidence
98% confidence
Finding
`curl -fsSL https://dashboard.openblocklabs.com/install | bash` causes untrusted network content to be executed immediately in a shell, creating a direct arbitrary code execution path. In a skill intended to guide installation, this is especially dangerous because users or agents may follow it verbatim with elevated trust and without reviewing the script.

Chaining Abuse

High
Category
Tool Misuse
Content
## Install

```bash
curl -fsSL https://dashboard.openblocklabs.com/install | bash
```

Installs to `~/.ob1/bin/ob1`, symlinks to `~/.local/bin/ob1`.
Confidence
97% confidence
Finding
The `| bash` chaining pattern removes any pause between retrieval and execution, preventing meaningful inspection and making malicious or tampered content run instantly. Within this skill's context, the danger is amplified because the command is presented as the primary installation method, normalizing an unsafe practice for an authenticated coding agent installation.

Missing User Warnings

Medium
Confidence
95% confidence
Finding
The skill instructs users to pipe a remotely fetched installer directly into the shell without any integrity verification, preview step, or warning. Even if the vendor is legitimate, this pattern makes compromise of the hosting endpoint, DNS, TLS trust chain, or installer content immediately translate into arbitrary code execution on the user's machine.

Static analysis

No suspicious patterns detected.