alxayo/goflow/shellcheck-security-scan
Claude Code and agent skill by alxayo/goflow
- community
Checking that the SKILL.md file is still in the repository.
Shell script static analysis using ShellCheck. Detects command injection, unquoted variables, reverse shell patterns, dangerous rm operations, obfuscated payloads. Combine with graudit for patterns ShellCheck may miss.
Install
npx vskill@latest install alxayo/goflow/shellcheck-security-scanSKILL.md
The same SKILL.md was published earlier as alxayo/goflow/shellcheck-security-scan.
ShellCheck Security Scan Skill
ShellCheck is a static analysis tool for shell scripts (bash, sh, dash, ksh). It identifies bugs, security vulnerabilities, and dangerous patterns.
Core Commands
Security-Critical Checks
| Code | Pattern | Risk | MITRE ATT&CK | |
|---|---|---|---|---|
| SC2086 | Unquoted variable in rm/curl | Command injection | T1059.004 | |
| SC2046 | Unquoted command substitution | Command injection | T1059.004 | |
| SC2091 | Executing command output $(...) | Arbitrary code execution | T1059.004 | |
| SC2115 | Empty var + rm | Root filesystem wipe | T1485 | |
| SC2216 | Pipe to rm | Arbitrary file deletion | T1070.004 | |
| SC2029 | SSH command injection | Remote command confusion | T1021.004 | |
| SC2087 | Unquoted heredoc | Data injection | T1059.004 |
Supplementary Pattern Detection
ShellCheck misses obfuscated/malicious patterns. Also check:
Interpreting Results
- error: Definite bugs or syntax errors
- warning: Likely bugs or security-relevant patterns
- info: Suggestions for improvement
- style: Stylistic issues
Triage Priority
- CRITICAL: SC2091 (executing output), SC2115 (empty var + rm)
- HIGH: SC2086/SC2046 with user input in rm/curl/eval
- MEDIUM: General quoting issues, permission problems
- LOW: Style issues, minor suggestions
Limitations
- Cannot detect obfuscated reverse shells (base64 | bash)
- No taint tracking — misses data flow from untrusted sources
- Shell-only analysis — embedded Python/Perl/Ruby is ignored
- Cannot detect time bombs or environment-triggered payloads
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexamples/security-scan/skills/shellcheck-security-scan/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alxayo/goflow/shellcheck-security-scan)