cosmos-dbt-fusion

skills-sh:astronomer_agents__cosmos-dbt-fusion

View source
C
62/100

First Seen

Feb 18, 2026

Last Scanned

Feb 20, 2026

Findings

5

Score

62/100

HIGH 2
MEDIUM 1
LOW 2

Findings (5)

HIGH
Curl or wget piped to shell
L52

Detects downloading scripts piped directly to a shell interpreter

curl
ENV SHELL=/bin/bash
RUN curl -fsSL https://public.cdn.getdbt.com/fs/install/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
Download-and-execute
L52

Detects patterns of downloading and piping to shell execution

curl
ENV SHELL=/bin/bash
RUN curl -fsSL https://public.cdn.getdbt.com/fs/install/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.

MEDIUM
Conditional CI execution
L134

Detects conditional execution based on CI environment variables combined with dangerous commands

if deps precomputed in CI
 + SUBPROCESS
FIX

Pin all dependencies to exact versions with integrity hashes. Use lock files (package-lock.json, poetry.lock) and enable checksum verification in your package manager.

FP?

Likely FP if the match is documentation about dependency management best practices rather than actual unpinned dependency declarations.

LOW
Chained shell command execution
L52

Detects chained commands using shell operators with dangerous operations

curl
ENV SHELL=/bin/bash
RUN curl -fsSL https://public.cdn.getdbt.com/fs/install/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
System package manager install
L52

Detects system-level package installation via brew, apt, yum, or dnf

apt-get install -y c
FIX

Pin system packages to specific versions where the package manager supports it. Document the exact packages required and prefer containerized environments to avoid system-wide changes.

FP?

Likely FP if the match is standard setup documentation listing well-known system packages (e.g., apt install git curl) that are prerequisites.