Security, Claude Code plugin
Security review plugin
Use this pack to structure a review of application code and configuration. Narrow the review to a concrete data flow, identify the trust boundary, and turn supported findings into reproducible checks.
security-guardianWhat to give your agent
A skill supplies a procedure. Give your agent the project evidence and constraints needed to apply it.
- The endpoint or diff under review, its callers, and its authorization rules.
- Test users with different roles or tenants, plus non-sensitive fixture records.
- Dependency and deployment configuration relevant to the affected path.
Check a multi-tenant document endpoint
A signed-in user can fetch a document by identifier. Authentication is present, but the database lookup may not restrict the document to the user’s tenant.
Trace the trust boundary
Follow the document identifier from the request to the database query. Determine where the tenant identity comes from and whether the caller can supply or override it.
Prove the access rule
Create two fixture tenants. Request tenant B’s document as a user from tenant A and record the response. Repeat for list, export, and update paths that share the same lookup.
Patch and retain the check
Scope the lookup to the authorized tenant or enforce the equivalent policy in a shared boundary. Add regression coverage for both authorized and unauthorized access.
Finding: document lookup omits tenant scope
Evidence: tenant A can access a tenant B fixture
Fix location: shared authorized lookup
Regression: read, list, export, and update boundariesHow to check the result
- Cross-tenant requests cannot reveal protected content.
- Authorized users retain the intended access.
- Findings include evidence and affected code locations.
A failure to watch for
The presence of an authentication middleware does not establish resource-level authorization. Check the rule at the actual data access boundary.
This is an illustrative exercise. Run the checks against your own project to establish the result.
Skills in this pack
Open a skill to see its activation guidance, source sections. These descriptions come from the linked source files.
16 of 16 skills
API Securityapi-security
Comprehensive API security for REST and GraphQL APIs. Use this skill when building or reviewing API endpoints, implementing authentication, or securing data transfer. Activate when: API security, REST security, GraphQL security, API authentication, API rate limiting, API versioning, secure endpoint, API design.
Use it when
- Designing new API endpoints
- Implementing API authentication
- Setting up rate limiting
- Reviewing API security
- Building public APIs
Inside the source file
- API Security Checklist
- Authentication Patterns
- Request Validation
- Rate Limiting
- Response Security
- Error Handling
- Best Practices
CSRF Protectioncsrf-protection
Cross-Site Request Forgery prevention techniques. Use this skill when implementing forms, state-changing operations, or reviewing CSRF protections. Activate when: CSRF, cross-site request forgery, form security, token validation, same-site cookie, state changing request, POST request security.
Use it when
- Implementing forms that change state
- Building APIs consumed by browsers
- Setting up session cookies
- Reviewing authentication flows
- Any state-changing POST/PUT/DELETE requests
Inside the source file
- How CSRF Works
- Protection Methods
- Framework-Specific Implementation
- Common Mistakes
- Testing CSRF Protection
- Code Review Checklist
- Best Practices
JWT Securityjwt-security
JSON Web Token security best practices. Use this skill when implementing JWT authentication, validating tokens, or reviewing JWT usage. Activate when: JWT, JSON Web Token, token authentication, bearer token, refresh token, token validation, JWT secret, token expiry.
Use it when
- Implementing JWT authentication
- Reviewing existing JWT code
- Setting up refresh token rotation
- Debugging JWT issues
- Migrating to JWT-based auth
Inside the source file
- JWT Vulnerabilities
- Secure Implementation
- Token Storage (Client-Side)
- Common Mistakes
- Security Checklist
- Best Practices
Secrets Detectionsecrets-detection
Find and prevent leaked secrets, API keys, and credentials in code. Use this skill when reviewing code for exposed secrets, setting up pre-commit hooks, or auditing repositories. Activate when: leaked secret, API key exposed, credentials in code, hardcoded password, secret scanning, git secrets, pre-commit hook.
Use it when
- Reviewing code for hardcoded secrets
- Setting up CI/CD security checks
- Auditing git history for leaks
- Configuring pre-commit hooks
- Responding to secret exposure incidents
Inside the source file
- Common Secret Patterns
- Detection Tools
- Pre-Commit Hooks
- CI/CD Integration
- Safe Secrets Management
- Incident Response: Secret Leaked
- Code Review Checklist
- Best Practices
Secure Code Reviewsecure-code-review
Systematic security code review methodology. Use this skill when reviewing pull requests for security issues, auditing critical code paths, or performing security assessments. Activate when: security review, code audit, secure code, review PR for security, find vulnerabilities, security assessment.
Use it when
- Reviewing pull requests
- Auditing security-critical code
- Before production deployments
- Compliance requirements
- After security incidents
Inside the source file
- Review Methodology
- Vulnerability Patterns by Language
- Review Comments Template
- Automated Security Scanning
- Security Review Report Template
- Best Practices
Secure HTTP Headerssecure-headers
HTTP security headers configuration guide. Use this skill when hardening web applications, configuring CSP, or setting up security headers. Activate when: security headers, CSP, Content-Security-Policy, HSTS, X-Frame-Options, CORS headers, clickjacking prevention, helmet.
Use it when
- Setting up a new web application
- Hardening existing applications
- Fixing security scanner findings
- Implementing Content Security Policy
- Preventing clickjacking
Inside the source file
- Essential Security Headers
- Implementation
- Content Security Policy Deep Dive
- Header Reference
- Testing Security Headers
- Common Issues & Fixes
- Best Practices
Access Control Audit (OWASP Top 10:2017 A05)access-control-audit
OWASP A05 - Broken Access Control Detection. Use this skill when implementing authorization, checking permissions, or auditing who can access what resources. Activate when: authorization, permissions, access control, RBAC, ABAC, admin access, privilege escalation, IDOR, direct object reference, role check, can user access.
Use it when
- Implementing authorization logic
- Auditing API endpoint permissions
- Reviewing admin functionality
- Checking resource ownership
- Implementing role-based access
Inside the source file
- Common Vulnerabilities
- Detection Patterns
- Secure Implementation
- Code Review Checklist
- Testing for Access Control Issues
- Best Practices
Broken Authentication Detector (OWASP Top 10:2017 A02)broken-auth-detector
OWASP A02 - Broken Authentication Detection. Use this skill when reviewing login systems, session management, password handling, or authentication flows. Activate when: login, authentication, password, session, token, JWT, OAuth, credentials, sign in, logout, remember me, forgot password, password reset, MFA, 2FA.
Use it when
- Reviewing login/signup implementations
- Auditing session management
- Implementing password reset flows
- Adding OAuth/SSO integration
- Setting up JWT authentication
Inside the source file
- Common Vulnerabilities
- Detection Patterns
- Secure Implementation
- Code Review Checklist
- Best Practices
Dependency Vulnerability Management (OWASP Top 10:2017 A09)dependency-vulnerability
OWASP A09 - Using Components with Known Vulnerabilities. Use this skill when auditing dependencies, updating packages, or reviewing security advisories. Activate when: npm audit, dependency check, vulnerable package, CVE, security advisory, outdated packages, supply chain, package vulnerability, Dependabot, Snyk.
Use it when
- Running security audits on projects
- Updating dependencies
- Reviewing Dependabot/Snyk alerts
- Setting up CI/CD security checks
- Evaluating new packages
Inside the source file
- Vulnerability Sources
- Audit Commands by Ecosystem
- CI/CD Integration
- Dependabot Configuration
- Snyk Integration
- Lock File Best Practices
- Vulnerability Response Workflow
- Package Evaluation Checklist
Injection Prevention (OWASP Top 10:2017 A01)injection-prevention
OWASP A01 - Injection Prevention. Use this skill when reviewing code for SQL injection, NoSQL injection, command injection, LDAP injection, or any user input that reaches databases, shells, or interpreters. Activate when: SQL query, database query, user input, command execution, shell command, exec, eval, system call, parameterized query.
Use it when
- Reviewing code that builds SQL/NoSQL queries
- Code that executes shell commands
- Any place user input reaches an interpreter
- Building APIs that accept user data
- Migrating from string concatenation to parameterized queries
Inside the source file
- Injection Types
- Detection Patterns
- Prevention Techniques
- Code Review Checklist
- Testing for Injection
- Framework-Specific Guidance
- Best Practices
Insecure Deserialization (OWASP Top 10:2017 A08)insecure-deserialization
OWASP A08 - Insecure Deserialization Prevention. Use this skill when parsing serialized data, handling JSON with type information, or processing pickled/marshalled objects. Activate when: deserialization, JSON parse, pickle, marshal, serialize, unserialize, ObjectInputStream, yaml.load, eval JSON, prototype pollution.
Use it when
- Parsing serialized objects from untrusted sources
- Handling session data or cookies
- Processing API payloads with type information
- Working with message queues
- Importing/exporting data
Inside the source file
- Risk Levels by Language
- Vulnerable Patterns
- Secure Implementation
- Prototype Pollution Prevention (JavaScript)
- Signed Serialization Pattern
- Code Review Checklist
- Best Practices
Security Logging & Monitoring (OWASP Top 10:2017 A10)logging-monitoring
OWASP A10 - Insufficient Logging and Monitoring. Use this skill when implementing audit logs, security monitoring, or incident detection. Activate when: logging, audit trail, security events, monitoring, alerting, SIEM, incident detection, log analysis, security logging, breach detection.
Use it when
- Setting up application logging
- Implementing audit trails
- Configuring security alerting
- Building incident detection
- Compliance requirements (SOC2, GDPR)
Inside the source file
- Critical Events to Log
- What NOT to Log
- Secure Logging Implementation
- Log Retention & Compliance
- Code Review Checklist
- Best Practices
Security Misconfiguration (OWASP Top 10:2017 A06)security-misconfiguration
OWASP A06 - Security Misconfiguration Detection. Use this skill when configuring servers, frameworks, cloud services, or deploying applications. Activate when: server config, nginx config, apache config, CORS, headers, debug mode, default credentials, error messages, directory listing, cloud security, S3 bucket, environment variables.
Use it when
- Configuring web servers (Nginx, Apache)
- Setting up cloud resources (AWS, GCP, Azure)
- Deploying applications to production
- Reviewing security headers
- Auditing CORS configuration
Inside the source file
- Common Misconfigurations
- Detection Patterns
- Secure Implementation
- Security Configuration Checklist
- Testing Tools
- Best Practices
Sensitive Data Protection (OWASP Top 10:2017 A03)sensitive-data-protection
OWASP A03 - Sensitive Data Exposure Prevention. Use this skill when handling PII, passwords, credit cards, API keys, or any sensitive information. Activate when: encryption, PII, personal data, credit card, SSN, password storage, HTTPS, TLS, data at rest, data in transit, GDPR, compliance, data masking.
Use it when
- Handling user personal information (PII)
- Storing or transmitting passwords
- Processing payment card data
- Managing API keys and secrets
- Implementing data encryption
Inside the source file
- Sensitive Data Categories
- Detection Patterns
- Secure Implementation
- Data Classification Policy
- Code Review Checklist
- Best Practices
XSS Prevention (OWASP Top 10:2017 A07)xss-prevention
OWASP A07 - Cross-Site Scripting (XSS) Prevention. Use this skill when rendering user input in HTML, handling DOM manipulation, or building frontend components. Activate when: XSS, cross-site scripting, user input display, innerHTML, dangerouslySetInnerHTML, template injection, script injection, sanitize HTML, escape output.
Use it when
- Displaying user-generated content
- Building dynamic HTML
- Implementing rich text editors
- Rendering markdown or HTML
- Working with URL parameters in pages
Inside the source file
- XSS Types
- Vulnerable Patterns
- Secure Implementation
- Framework-Specific Guidance
- Code Review Checklist
- Testing for XSS
- Best Practices
XXE Prevention (OWASP Top 10:2017 A04)xxe-prevention
OWASP A04 - XML External Entity (XXE) Prevention. Use this skill when parsing XML, processing SOAP requests, handling SVG uploads, or working with XML-based formats. Activate when: XML parsing, SOAP, SVG upload, XML input, DOCTYPE, DTD, external entity, XML bomb, billion laughs, XSLT.
Use it when
- Parsing user-supplied XML
- Processing SOAP/WSDL services
- Handling SVG file uploads
- Working with Office documents (DOCX, XLSX)
- Implementing XML-based APIs
Inside the source file
- Attack Types
- Vulnerable Code Patterns
- XXE Attack Payloads
- Secure Implementation
- SVG Upload Security
- Office Document Security
- Code Review Checklist
- Testing for XXE
Install the plugin in Claude Code
Open Claude Code in the project where you want to use this pack. Add the marketplace once, then install the pack by its marketplace name.
1. Add the marketplace
/plugin marketplace add latestaiagents/agent-skills2. Install this pack
/plugin install security-guardian@latestaiagents3. Check the installed components
Use Claude Code’s plugin manager to confirm the plugin is enabled for the intended scope. Inspect its bundled command files and MCP configuration below before configuring the integrations you plan to use.
Claude Code installation documentationInstall commands follow the repository’s current branch. The inventory on this page is pinned to the source revision below, so a later install may differ.
Commands and MCP configuration
The plugin contains these command files. Read the task instructions before invoking the installed command in your agent.
fix-vulnerability.mdGet step-by-step guidance to fix a specific security vulnerability
security-scan.mdRun comprehensive security scan on codebase for OWASP vulnerabilities
MCP configuration
The source declares 1 integrations. Expand one to inspect its purpose and environment variable names. The configuration needs a technical review before use; indexing a connector does not verify its package or service compatibility.
githubDeclared in source
No environment variables are declared for this integration.
Source and review status
This inventory is taken from commit a5e492b, committed November 4, 2026. Skill instructions and bundled integrations have not completed a technical review. The worked example is editorial guidance, separate from the source file contents.