
commands-security-audit
Security audit commands that scan dependencies, harden code, and add authentication systems to Claude Code.
- version
- 1.0.0
- GitHub stars
- 3.8K
What it does
- Adds 4 commands (
/security-audit,/dependency-audit,/security-hardening,/add-authentication-system) for auditing and securing a project - Covers vulnerability scanning of your dependencies alongside broader code-level security review
- Guides hardening of existing code and scaffolding of an authentication system in your project
Commands for security auditing and vulnerability scanning
Add marketplace
/plugin marketplace add davepoon/buildwithclaudeRun it inside Claude Code once, then install the plugin below.
Install
/plugin install commands-security-audit@buildwithclaudeRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceAdd Authentication System
Implement secure user authentication system
Instructions
-
Authentication Strategy Analysis
- Analyze application requirements and user types
- Define authentication methods (password, OAuth, SSO, MFA)
- Assess security requirements and compliance needs
- Plan user management and role-based access control
- Evaluate existing authentication infrastructure and integration points
-
Authentication Method Selection
- Choose appropriate authentication strategies:
- Username/Password: Traditional credential-based authentication
- OAuth 2.0/OpenID Connect: Third-party authentication (Google, GitHub, etc.)
- SAML: Enterprise single sign-on integration
- JWT: Stateless token-based authentication
- Multi-Factor Authentication: SMS, TOTP, hardware tokens
- Passwordless: Magic links, WebAuthn, biometric authentication
- Choose appropriate authentication strategies:
-
User Management System
- Set up user registration and account creation workflows
- Configure user profile management and data storage
- Implement password policies and security requirements
- Set up account verification and email confirmation
- Configure user deactivation and account deletion procedures
-
Authentication Implementation
- Implement secure password hashing (bcrypt, Argon2, scrypt)
- Set up session management and token generation
- Configure secure cookie handling and CSRF protection
- Implement authentication middleware and route protection
- Set up authentication state management (client-side)
-
Authorization and Access Control
- Implement role-based access control (RBAC) system
- Set up permission-based authorization
- Configure resource-level access controls
- Implement dynamic authorization and policy engines
- Set up API endpoint protection and authorization
-
Multi-Factor Authentication (MFA)
- Configure TOTP-based authenticator app support
- Set up SMS-based authentication codes
- Implement backup codes and recovery mechanisms
- Configure hardware token support (FIDO2/WebAuthn)
- Set up MFA enforcement policies and user experience
-
OAuth and Third-Party Integration
- Configure OAuth providers (Google, GitHub, Facebook, etc.)
- Set up OpenID Connect for identity federation
- Implement social login and account linking
- Configure enterprise SSO integration (SAML, LDAP)
- Set up API key management for external integrations
-
Security Implementation
- Configure rate limiting and brute force protection
- Set up account lockout and security monitoring
- Implement security headers and session security
- Configure audit logging and security event tracking
- Set up vulnerability scanning and security testing
-
User Experience and Frontend Integration
- Create responsive authentication UI components
- Implement client-side authentication state management
- Set up protected route handling and redirects
- Configure authentication error handling and user feedback
- Implement remember me and persistent login features
-
Testing and Maintenance
- Set up comprehensive authentication testing
- Configure security testing and penetration testing
- Create authentication monitoring and alerting
- Set up compliance reporting and audit trails
- Train team on authentication security best practices
- Create incident response procedures for security events
From the davepoon/buildwithclaude README
Build with Claude
Claude Skills, Agents, Commands, Hooks, Plugins, Marketplaces collections for and extend Claude Code
A plugin marketplace and discovery platform for Claude Code. Browse curated plugins, discover community contributions, and extend your Claude Code workflows.
Quick Start
# Add the Build with Claude marketplace
/plugin marketplace add davepoon/buildwithclaude
# Browse available plugins
/plugin search @buildwithclaude
# Install plugins
/plugin install <plugin-name>@buildwithclaude
What's Included
Build with Claude Plugins
Curated collections maintained in this repository:
| Type | Count | Description |
|---|---|---|
| Agents | 117 | Specialized AI experts (Python, Go, DevOps, Security, etc.) |
| Commands | 175 | Slash commands for automation (/commit, /docs, /tdd) |
| Hooks | 28 | Event-driven automation (notifications, git, formatting) |
| Skills | 26 | Reusable capabilities from plugins |
| Plugins | 51 | Bundled plugin packages by category |
Community Discovery
The platform indexes plugins from the broader Claude Code ecosystem:
- 20k+ Community Plugins from external marketplaces
- 4,500+ MCP Servers for database, API, and tool connections
- 1,100+ Plugin Marketplaces from the community
Web UI
Browse, search, and explore everything at buildwithclaude.com
Build with Claude Homepage
Browse Plugins
Browse Skills
Browse MCP Servers
Browse Plugin Marketplaces
Features
- Browse all plugin types with filtering
- Search across plugins, agents, commands, hooks, skills
- Copy install commands with one click
- View full documentation and usage examples
- Discover MCP servers and community plugins
Installation Options
Option 1: Plugin Marketplace (Recommended)
# Add marketplace
/plugin marketplace add davepoon/buildwithclaude
# Install specific plugins
/plugin install agents-python-expert@buildwithclaude
/plugin install commands-version-control-git@buildwithclaude
/plugin install hooks-notifications@buildwithclaude
# Or install everything
/plugin install all-agents@buildwithclaude
/plugin install all-commands@buildwithclaude
/plugin install all-hooks@buildwithclaude
Option 2: Manual Installation
# Clone repository
git clone https://github.com/davepoon/buildwithclaude.git
cd buildwithclaude
# Install agents
find plugins/agents-*/agents -name "*.md" -exec cp {} ~/.claude/agents/ \;
# Install commands
find plugins/commands-*/commands -name "*.md" -exec cp {} ~/.claude/commands/ \;
# Restart Claude Code
Available Plugin Categories
Agents (11 categories)
- Development & Architecture - Backend, frontend, mobile, GraphQL experts
- Language Specialists - Python, Go, Rust, TypeScript, C/C++ experts
- Quality & Security - Code review, security audit, debugging
- Infrastructure & Operations - DevOps, cloud, database optimization
- Data & AI - ML engineering, data pipelines, AI development
- Crypto & Blockchain - Trading systems, DeFi, Web3 development
Browse Subagents
Commands (22 categories)
- Version Control - Commit, PR creation, branch management
- Code Analysis - Testing, review, optimization
- Documentation - Docs generation, changelogs, API specs
- Project Management - Todos, PRDs, task tracking
Browse Commands
Hooks (8 categories)
- Notifications - Slack, Discord, Telegram alerts
- Git - Auto-staging, smart commits
- Development - Lint on save, auto-format
- Security - File protection, vulnerability scanning
Browse Hooks
Usage Examples
Using Agents
Agents are automatically invoked based on context, or explicitly called:
"Use the python-pro to optimize this function"
"@agent-security-auditor review this authentication code"
"Have the devops-troubleshooter help debug this deployment"
Using Commands
Commands use the / prefix:
/commit # Create conventional commit
/create-pr # Create pull request
/docs # Generate documentation
/tdd # Start test-driven development
/code_analysis # Analyze code quality
Using Hooks
Hooks run automatically on events like tool calls or session start.
Contributing
We welcome contributions!
Adding Plugins
- Create a new directory in
plugins/following the naming convention - Add your plugin files (agents, commands, hooks)
- Run
npm testto validate - Submit a pull request
Plugin Format
Agent (plugins/agents-*/agents/*.md):
---
name: agent-name
description: When to invoke this agent
category: category-name
tools: Read, Write, Bash
---
You are a [role description]...
Command (plugins/commands-*/commands/*.md):
---
description: What this command does
category: category-name
argument-hint: <args>
---
Command implementation...
Hook (plugins/hooks-*/hooks/*.md):
---
hooks: PreToolUse, PostToolUse
description: What this hook does
---
Hook implementation...
See CONTRIBUTING.md for detailed guidelines.
Contributors
This project exists thanks to all the people who contribute.
Links
- Web UI: buildwithclaude.com
- Documentation: Claude Code Docs
- Plugin Marketplaces: Plugin Docs
- Issues: GitHub Issues
License
MIT License - see LICENSE for details.
Made with ❤️ by Dave Poon
Details
- Marketplace
- davepoon/buildwithclaude
- Source
- plugins/commands-security-audit
- Author
- BuildWithClaude Community
- Category
- Commands
- License
- MIT
- Keywords
- commands, slash-commands, security-audit, add-authentication-system, dependency-audit, security-audit, security-hardening
- Listed since
- Apr 6, 2026
More from davepoon/buildwithclaude
All 237- commands-simulation-modelingv1.0.0
- commands-team-collaborationv1.0.0
- commands-typescript-migrationv1.0.0
- commands-utilities-debuggingv1.0.0
- commands-version-control-gitv1.0.0
- commands-workflow-orchestrationv1.0.0
- commentkeywordv0.2.0
- communitymentionsv1.0.1
- computer-usev0.1.0
- conferencedbv1.0.2
- convikav1.0.2
- crosstalkv0.1.0
- cursor-subagent-modelsv1.3.2
- curviatev0.1.0
- deja-vuv0.23.5
- dev-loopv1.32.30
- dexv1.15.3
- done-gatev1.1.0
- dsh-deepreadv0.5.4
- equiblesv1.0.0
- event-sponsorship-skillsv1.0.1
- fabler-relayv1.0.0
- fabler-x402-toolsv1.0.7
- fair-value-calculatorv1.0.2
Similar to commands-security-audit
More Security
security-auditordevsforge/marketplace79 starsPerform security audit on codebase
security-scannerdevsforge/marketplace79 starsDevsForge comprehensive security vulnerability scanner with automated remediation suggestions.
security-toolsAgentient/vibekit2 stars[STUB] Security audit, OWASP, authentication, compliance
hooks-securitydavepoon/buildwithclaude3.8K starsSecurity Hooks - Event-driven automation hooks
ruflo-security-auditruvnet/ruflo82.2K starsSecurity review, dependency scanning, policy gates, and CVE monitoring