senior-security
Comprehensive toolkit for security auditing, threat modeling, and automated penetration testing.
Install
mkdir -p .claude/skills/senior-security && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/492" && unzip -o skill.zip -d .claude/skills/senior-security && rm skill.zipInstalls to .claude/skills/senior-security
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Comprehensive security engineering skill for application security, penetration testing, security architecture, and compliance auditing. Includes security assessment tools, threat modeling, crypto implementation, and security automation. Use when designing security architecture, conducting penetration tests, implementing cryptography, or performing security audits.Key capabilities
- →Automate threat modeling tasks with scaffolding and templates
- →Perform deep analysis and optimization with automated fixes
- →Automate penetration testing with custom configurations
- →Review security architecture patterns and anti-patterns
- →Document penetration testing workflows and optimization strategies
- →Reference cryptography implementation details and security considerations
How it works
The skill uses Python scripts for threat modeling, security auditing, and penetration testing, providing automated features, deep analysis, and expert-level automation.
Inputs & outputs
When to use senior-security
- →Perform threat modeling on new projects
- →Audit codebase for security vulnerabilities
- →Run automated penetration testing scripts
- →Implement secure coding best practices
About this skill
Senior Security
Complete toolkit for senior security with modern tools and best practices.
Quick Start
Main Capabilities
This skill provides three core capabilities through automated scripts:
# Script 1: Threat Modeler
python scripts/threat_modeler.py [options]
# Script 2: Security Auditor
python scripts/security_auditor.py [options]
# Script 3: Pentest Automator
python scripts/pentest_automator.py [options]
Core Capabilities
1. Threat Modeler
Automated tool for threat modeler tasks.
Features:
- Automated scaffolding
- Best practices built-in
- Configurable templates
- Quality checks
Usage:
python scripts/threat_modeler.py <project-path> [options]
2. Security Auditor
Comprehensive analysis and optimization tool.
Features:
- Deep analysis
- Performance metrics
- Recommendations
- Automated fixes
Usage:
python scripts/security_auditor.py <target-path> [--verbose]
3. Pentest Automator
Advanced tooling for specialized tasks.
Features:
- Expert-level automation
- Custom configurations
- Integration ready
- Production-grade output
Usage:
python scripts/pentest_automator.py [arguments] [options]
Reference Documentation
Security Architecture Patterns
Comprehensive guide available in references/security_architecture_patterns.md:
- Detailed patterns and practices
- Code examples
- Best practices
- Anti-patterns to avoid
- Real-world scenarios
Penetration Testing Guide
Complete workflow documentation in references/penetration_testing_guide.md:
- Step-by-step processes
- Optimization strategies
- Tool integrations
- Performance tuning
- Troubleshooting guide
Cryptography Implementation
Technical reference guide in references/cryptography_implementation.md:
- Technology stack details
- Configuration examples
- Integration patterns
- Security considerations
- Scalability guidelines
Tech Stack
Languages: TypeScript, JavaScript, Python, Go, Swift, Kotlin Frontend: React, Next.js, React Native, Flutter Backend: Node.js, Express, GraphQL, REST APIs Database: PostgreSQL, Prisma, NeonDB, Supabase DevOps: Docker, Kubernetes, Terraform, GitHub Actions, CircleCI Cloud: AWS, GCP, Azure
Development Workflow
1. Setup and Configuration
# Install dependencies
npm install
# or
pip install -r requirements.txt
# Configure environment
cp .env.example .env
2. Run Quality Checks
# Use the analyzer script
python scripts/security_auditor.py .
# Review recommendations
# Apply fixes
3. Implement Best Practices
Follow the patterns and practices documented in:
references/security_architecture_patterns.mdreferences/penetration_testing_guide.mdreferences/cryptography_implementation.md
Best Practices Summary
Code Quality
- Follow established patterns
- Write comprehensive tests
- Document decisions
- Review regularly
Performance
- Measure before optimizing
- Use appropriate caching
- Optimize critical paths
- Monitor in production
Security
- Validate all inputs
- Use parameterized queries
- Implement proper authentication
- Keep dependencies updated
Maintainability
- Write clear code
- Use consistent naming
- Add helpful comments
- Keep it simple
Common Commands
# Development
npm run dev
npm run build
npm run test
npm run lint
# Analysis
python scripts/security_auditor.py .
python scripts/pentest_automator.py --analyze
# Deployment
docker build -t app:latest .
docker-compose up -d
kubectl apply -f k8s/
Troubleshooting
Common Issues
Check the comprehensive troubleshooting section in references/cryptography_implementation.md.
Getting Help
- Review reference documentation
- Check script output messages
- Consult tech stack documentation
- Review error logs
Resources
- Pattern Reference:
references/security_architecture_patterns.md - Workflow Guide:
references/penetration_testing_guide.md - Technical Guide:
references/cryptography_implementation.md - Tool Scripts:
scripts/directory
How it compares
This skill automates security engineering tasks through scripts, unlike manual processes for threat modeling, auditing, and penetration testing.
Compared to similar skills
senior-security side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| senior-security (this skill) | 31 | 7mo | Review | Advanced |
| dependency-auditor | 1 | 9mo | Review | Beginner |
| dependency-audit | 0 | 4mo | Review | Intermediate |
| trivy-offline-vulnerability-scanning | 1 | 6mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by davila7
View all by davila7 →You might also like
dependency-auditor
alirezarezvani
Check dependencies for known vulnerabilities using npm audit, pip-audit, etc. Use when package.json or requirements.txt changes, or before deployments. Alerts on vulnerable dependencies. Triggers on dependency file changes, deployment prep, security mentions.
dependency-audit
hadsie
Audit Python dependencies for vulnerabilities, outdated
trivy-offline-vulnerability-scanning
benchflow-ai
Use Trivy vulnerability scanner in offline mode to discover security vulnerabilities in dependency files. This skill covers setting up offline scanning, executing Trivy against package lock files, and generating JSON vulnerability reports without requiring internet access.
security-compliance
RicherTunes
Establish comprehensive security scanning and compliance infrastructure from scratch. Use when working with security audits, vulnerability scanning, secret detection, CodeQL, Dependabot, or security hardening. Critical priority for Qobuzarr.
backend-security-coder
sickn33
Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.
fix-security-vulnerability
getsentry
Analyze and propose fixes for Dependabot security alerts