linkerd-patterns

skills-sh:wshobson_agents__linkerd-patterns

View source
C
62/100

First Seen

Feb 18, 2026

Last Scanned

Feb 20, 2026

Findings

4

Score

62/100

HIGH 2
MEDIUM 1
LOW 1

Findings (4)

HIGH
Curl or wget piped to shell
L58

Detects downloading scripts piped directly to a shell interpreter

curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install | 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
Download-and-execute
L58

Detects patterns of downloading and piping to shell execution

curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install | 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.

MEDIUM
Kubernetes service discovery
L107

Detects Kubernetes internal service URLs and secret paths

.svc.cluster.local
FIX

Validate and sanitize all user-provided URLs before making server-side requests. Resolve DNS and verify the IP is not in a private range before connecting.

FP?

Likely FP if the URL fetch is for a well-known public API endpoint that is hardcoded (not user-controlled) in the tool configuration.

LOW
Chained shell command execution
L58

Detects chained commands using shell operators with dangerous operations

curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install | 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.