security-review

Detect security vulnerabilities in shell scripts and configuration files during commits.

2|Updated Apr 6, 2017
One-click install
npx skills add https://github.com/shiiman/dotfiles --skill security-review-shiiman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-review
Source: https://github.com/shiiman/dotfiles/tree/main/.claude/skills/security-review
Command: npx skills add https://github.com/shiiman/dotfiles --skill security-review-shiiman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automatically detects security vulnerabilities introduced by code changes, such as hard-coded credentials, command injection risks, and dangerous shell syntax.

Core Features & Use Cases

  • Automatic credential detection: flags hard-coded API keys, passwords, and tokens in scripts and config files.
  • Command injection and shell safety: identifies unsafe usages, unquoted variables, and risky shell constructs.
  • Guided remediation: provides concrete suggestions to remediate vulnerabilities without modifying original code.

Quick Start

Run a security review on the latest code changes to detect hard-coded credentials, command injections, and dangerous shell syntax.

Frequently Asked Questions about security-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect hard-coded credentials and API keys in shell scripts?

To detect hard-coded credentials in shell scripts, run a security review on your latest code changes to automatically flag API keys, passwords, and tokens. It provides clear warnings and remediation guidance without altering your original code.

What is command injection risk in bash scripts and how do I identify it?

Command injection risk in bash scripts involves unsafe usages, unquoted variables, and risky shell constructs. Pattern-based detection identifies these vulnerabilities during commits or PRs, providing concrete suggestions to remediate unsafe code.

Can I scan .bashrc and .gitconfig files for dangerous shell syntax?

Yes, you can scan configuration files including .bashrc, .zshrc, and .gitconfig for dangerous shell syntax. The security review applies pattern-based detection to flag risky constructs and hard-coded credentials in these files.

Does this security review automatically fix command injection vulnerabilities?

No, this security review does not automatically fix command injection vulnerabilities. It provides guided remediation with concrete suggestions to fix the issues while preserving the original code without any modifications.

What is the best way to check shell scripts for security flaws during a commit?

The best way to check shell scripts for security flaws during a commit is using pattern-based detection that automatically flags hard-coded credentials, command injection risks, and dangerous shell syntax in .sh, .bash, and .zsh files.