Skip to content

EmanuProds/dotfiles / skills/skills/bash-secure-scripting

bash-secure-scripting"

Verified

Authors, reviews, and hardens Bash scripts for the stability and security properties a linter cannot verify on its own, including strict-mode semantics and the cases errexit ignores, cleanup and locking on every exit path, injection-safe handling of untrusted input and filenames, PATH and environment control, temporary files and permissions, and credential handling, verified with shellcheck, bash -n, and the repository's formatter in a bounded loop. Use when creating or editing a shell script, a sourced shell library, or shell embedded in CI steps, container entrypoints, systemd units, cron jobs, or git hooks, and when reviewing quoting, eval, set -euo pipefail, traps, temporary files, privilege or sudo use, or secrets in shell code.

Security report

Verified

Static analysis of one exact version. It reduces risk and shows evidence; it does not certify that a skill is safe.

Commit
3cc96df050e1332fa5a400c26d5545d471c51a27
Content hash
7ac69e933b6df6f57113ff856cd411728d82de049e09f70889e7c4ab478495ba
Scanned
2026-11-17
Scanner version
skillxone-scan-1.0.0
Policy version
0.1-draft
Decision
Every required check completed with no open blocking or medium findings.
Verification expires
2026-12-17

Findings (5 low, 2 info)

  • lowINT-MISSING-LICENSE

    Neither the skill nor its repository states a license, so the terms of use are unclear.

    Suggested fix: Add a LICENSE file to the repository or a `license` field to SKILL.md.

    Report as false positive

  • lowCMD-REMOTE-PIPE-SHELLreferences/filesystem.md:146

    A script is downloaded and run in one step, so whatever the server returns at that moment is executed without review. Severity lowered from high because the surrounding text warns against it.

    - Never `curl … | bash`, `wget -O - … | sh`, or any variant. The shell executes whatever arrives,

    Suggested fix: Download the script, check it (and its checksum or signature), then run the saved copy. Prefer a package manager.

    Report as false positive

  • lowCMD-SUDOSKILL.md:3

    A command runs with administrator privileges.

    description: Authors, reviews, and hardens Bash scripts for the stability and security properties a linter cannot verify on its own, including strict-mode semantics and the cases errexit ignores, cleanup and locking on every exit path, inj…

    Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.

    Report as false positive

  • lowCMD-REMOTE-PIPE-SHELLSKILL.md:117

    A script is downloaded and run in one step, so whatever the server returns at that moment is executed without review. Severity lowered from high because the surrounding text warns against it.

    - **Never pipe a downloaded artifact into a shell.** `curl … | bash` executes whatever the server

    Suggested fix: Download the script, check it (and its checksum or signature), then run the saved copy. Prefer a package manager.

    Report as false positive

  • lowNET-INSECURE-URLSKILL.md:364

    A link uses unencrypted http:// (redsymbol.net), so its content can be altered in transit.

    - Aaron Maxwell, [Unofficial Bash Strict Mode](http://redsymbol.net/articles/unofficial-bash-strict-mode/)

    Suggested fix: Use https://.

    Report as false positive

  • A command runs with administrator privileges. Severity lowered from low because the surrounding text warns against it.

    - **Do not prompt for a password inside a loop of `sudo` calls.** Use `sudo -n` and fail with a

    Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.

    Report as false positive

  • A command runs with administrator privileges. Severity lowered from low because the surrounding text warns against it.

    sudo sh -c "install ${package}" # parsed by sh, running as root

    Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.

    Report as false positive

Checks run

  • prompt-injection
  • dangerous-commands
  • credentials
  • network
  • file-access
  • integrity

Checks skipped

  • dependencies: No dependency manifest in the skill directory.
  • gitleaks: gitleaks is not installed on this host.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 467kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 467kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 467kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 193kUpdated Claude CodeCodexVerifiedInstall