agentbook

clawhub:agentbook

View source
C
62/100

First Seen

Feb 19, 2026

Last Scanned

Feb 22, 2026

Findings

6

Score

62/100

HIGH 2
MEDIUM 1
LOW 3

Findings (6)

HIGH
Download-and-execute
L35

Detects patterns of downloading and piping to shell execution

curl -fsSL https://raw.githubusercontent.com/ardabotai/agentbook/main/install.sh | bash
FIX

Download the file first, verify its integrity (checksum, signature), inspect it, then run it. Prefer package managers over raw downloads. Never fetch-and-run in one step.

FP?

Likely FP if the target is a well-known installer (e.g., rustup, Homebrew) from its canonical HTTPS domain, though the pattern is inherently risky.

HIGH
Curl or wget piped to shell
L35

Detects downloading scripts piped directly to a shell interpreter

curl -fsSL https://raw.githubusercontent.com/ardabotai/agentbook/main/install.sh | bash
FIX

Download the script first, inspect it, verify its checksum, then run it. Do not pipe curl/wget output directly to sh/bash. Prefer package manager installs.

FP?

Likely FP if the download is from a well-known installer domain (e.g., brew.sh, rustup.rs), though this pattern is inherently risky even with trusted sources.

MEDIUM
Runtime URL controls agent behavior
L35

Detects skills fetching external URLs to use as runtime instructions

curl -fsSL https://raw.githubusercontent.com + prompts
FIX

Pin the downloaded resource to a specific version or commit hash, and verify its integrity with a checksum (SHA-256). Avoid fetching scripts or binaries from arbitrary URLs at runtime.

FP?

Likely FP if the download URL points to a well-known CDN or package registry (e.g., npmjs.com, pypi.org) and is pinned to a specific version.

LOW
Non-localhost remote MCP server URL
L14

Detects MCP server configurations connecting to non-localhost remote URLs

"url":"https://github.com/ardabotai/agentbook/releases/latest/download/agentbook-aarch64-apple-darwin.tar.gz"
FIX

Change the MCP server URL to localhost or a trusted internal endpoint. If a remote server is required, verify the domain ownership and use HTTPS with certificate validation.

FP?

Likely FP if the URL points to example.com, a documentation domain, or a well-known SaaS API endpoint (e.g., api.openai.com).

LOW
Chained shell command execution
L35

Detects chained commands using shell operators with dangerous operations

curl -fsSL https://raw.githubusercontent.com/ardabotai/agentbook/main/install.sh | bash
FIX

Break chained commands into discrete, individually validated steps. Avoid piping untrusted output directly into a shell interpreter.

FP?

Likely FP if the matched text is a documentation example showing a common installer one-liner for a well-known tool with a canonical URL.

LOW
Mutable GitHub raw content reference
L35

Detects references to raw.githubusercontent.com on mutable branches like main/master

raw.githubusercontent.com/ardabotai/agentbook/main/
FIX

Replace GitHub raw.githubusercontent.com references with pinned commit SHAs instead of branch names (e.g., /commit-sha/file instead of /main/file). Branch references are mutable.

FP?

Likely FP if the raw GitHub URL points to a versioned release tag in a well-known repository, though even tags are technically mutable.