gh-cli

skills-sh:github_awesome-copilot__gh-cli

View source
B
85/100

First Seen

Feb 18, 2026

Last Scanned

Feb 20, 2026

Findings

6

Score

85/100

HIGH 1
LOW 5

Findings (6)

HIGH
Binary download and execute
L21

Detects downloading a binary file followed by making it executable

curl -fsSL https://cli.github.com/packages/githubcli-archive + ./a
FIX

Pin the download to a specific version tag or commit hash. Verify the downloaded file's checksum before using it. Avoid piping curl output directly to a shell.

FP?

Likely FP if downloading from an official, well-known domain (e.g., deno.land, rustup.rs) with HTTPS, though this pattern remains risky even with trusted sources.

LOW
System package manager install
L18

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

brew install g
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.

LOW
Chained shell command execution
L21

Detects chained commands using shell operators with dangerous operations

curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo 
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
L24

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

apt install g
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.

LOW
Shell script file execution
L1841

Detects execution of shell script files via bash/sh command or direct invocation

./aliases.sh
FIX

Replace direct shell script execution with a language-native implementation or a sandboxed executor. If shell scripts must run, restrict them to a vetted allowlist with integrity checks.

FP?

Likely FP if the match references running a script that is part of the skill's own repository (e.g., ./setup.sh) with clear, auditable contents.

LOW
Shell profile modification for persistence
L2111

Detects instructions to modify shell config files for environment persistence

Add to ~/.bashrc or ~/.zshrc
FIX

Avoid modifying shell profiles (.bashrc, .zshrc, .profile) programmatically. Instruct users to add PATH entries manually, or use a version manager (nvm, pyenv) instead.

FP?

Likely FP if the match is documentation showing how to add a tool to PATH manually, especially if it only appends to PATH without modifying other settings.