python-executor

skills-sh:1nfsh-s3_skills__python-executor

View source
C
70/100

First Seen

Feb 20, 2026

Last Scanned

Feb 20, 2026

Findings

3

Score

70/100

HIGH 2
LOW 1

Findings (3)

HIGH
Curl or wget piped to shell
L16

Detects downloading scripts piped directly to a shell interpreter

curl -fsSL https://cli.inference.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
Download-and-execute
L16

Detects patterns of downloading and piping to shell execution

curl -fsSL https://cli.inference.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.

LOW
Chained shell command execution
L16

Detects chained commands using shell operators with dangerous operations

curl -fsSL https://cli.inference.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.