Shield: Open-Source Security Plugin for Claude Code with Unified Scanning

Shield Security Plugin for Claude Code
Shield is an open-source security plugin for Claude Code that orchestrates multiple security scanning tools through a single command interface. It provides automated security analysis with consolidated reporting and remediation suggestions.
Core Functionality
The plugin is accessed via the /shield:shield command inside Claude Code. It automatically detects your technology stack and runs whichever security tools you have installed, including:
- Semgrep SAST (Static Application Security Testing)
- gitleaks for secrets scanning
- npm/pip/composer audit for dependency vulnerabilities
- Shannon pentester
All findings are consolidated into a unified report with a 0-100 risk score and proposed code fixes with diffs.
Real-World Test Results
The developer tested Shield on their own Next.js monorepo and found:
- 36 dependency vulnerabilities (1 CRITICAL, 26 HIGH)
- 103 secrets in git history (AWS keys, Stripe tokens, OpenAI API keys)
- 77 SAST findings (XSS, hardcoded credentials, missing SRI)
- A .env file with production credentials tracked in git that wasn't previously known
After fixing 3 direct dependencies and removing the exposed .env file, the project went from 36 vulnerabilities to 0.
Key Features
- 6 operation modes: full, quick, fix, verify, score, outdated
- 34 custom Semgrep rules for JS/TS, Python, and PHP
- Dependency freshness check with SECURITY/MAJOR/MINOR/PATCH classification
- OWASP Top 10 / CWE / SOC 2 / PCI-DSS / HIPAA compliance mapping
- SARIF output for GitHub Security tab integration
- Security score badge for README files
- Graceful degradation — runs whatever tools you have installed
- 189 unit tests, MIT licensed
Installation
To install Shield:
git clone https://github.com/alissonlinneker/shield-claude-skill.git
cd shield-claude-skill && ./install.sh
# Inside Claude Code:
/plugin marketplace add /path/to/shield-claude-skill
/plugin install shield@shield-securityThe project is available on GitHub at https://github.com/alissonlinneker/shield-claude-skill. Feedback and contributions are welcome, with the roadmap organized as GitHub issues.
📖 Read the full source: r/ClaudeAI
👀 See Also

Tastebud Memory: Reversible Agent Memory via Hyperdimensional Computing Vectors
Hyperdimensional computing replaces vector search for complete recall: list ALL days touching a project, detect unnamed workstreams, and decompose daily logs losslessly via dot products.

CostClaw: Free Local Cost Tracking Dashboard for OpenClaw Agents
CostClaw is a free, local plugin that captures every LLM call via OpenClaw's native hooks and provides a dashboard showing model breakdowns, per-session costs, and hourly spend charts. The developer discovered their heartbeat agent was running Claude Sonnet every 3 minutes 24/7, costing $60/month, and switching to Haiku cut their bill by ~65%.

BetterClaw vs OpenClaw: Comparing Tool Calling, Structured Outputs, and Workflow Control
A developer-focused comparison of BetterClaw and OpenClaw covering tool calling, structured outputs, workflow control, and day-to-day agent development.

Telegram Bot to Manage Headless Claude Code Channels via tmux
A zero-dependency Python Telegram bot that launches, stops, and monitors Claude Code Channels sessions in tmux on a headless server, with watchdog auto-restart.