dagny-nostr-nak

clawhub:dagny-nostr-nak

View source
D
35/100

First Seen

Feb 18, 2026

Last Scanned

Feb 22, 2026

Findings

5

Score

35/100

CRITICAL 2
HIGH 1
LOW 2

Findings (5)

CRITICAL
Download-and-execute
L13

Detects patterns of downloading and piping to shell execution

curl -sSL https://raw.githubusercontent.com/fiatjaf/nak/master/install.sh | sh
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.

CRITICAL
Curl or wget piped to shell
L13

Detects downloading scripts piped directly to a shell interpreter

curl -sSL https://raw.githubusercontent.com/fiatjaf/nak/master/install.sh | sh
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.

HIGH
Runtime URL controls agent behavior
L13

Detects skills fetching external URLs to use as runtime instructions

curl -sSL https://raw.githubusercontent.com + commands
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
Chained shell command execution
L13

Detects chained commands using shell operators with dangerous operations

curl -sSL https://raw.githubusercontent.com/fiatjaf/nak/master/install.sh | sh
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
L13

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

raw.githubusercontent.com/fiatjaf/nak/master/
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.