
V3 Security Architect
FreeComprehensive security overhaul and threat modeling.
Free ยท Opens the source repo
What V3 Security Architect does
The V3 Security Architect skill provides a structured approach to enhancing security within your applications. It focuses on identifying and remediating critical vulnerabilities, such as outdated dependencies and insecure password handling. By leveraging this skill, developers can ensure that their codebase adheres to secure-by-default patterns, significantly reducing the risk of security breaches.
This skill is designed for developers and security architects who need to implement a thorough security architecture for their projects. It includes a detailed threat modeling framework, which outlines potential vulnerabilities and provides actionable remediation plans for each identified issue. The skill also emphasizes best practices in secure coding, such as input validation and safe command execution, which are essential in preventing common security flaws.
The V3 Security Architect skill is particularly useful during the initial phases of development, where establishing a strong security foundation is critical. By integrating this skill into your workflow, you can systematically address vulnerabilities and document security patterns that can be reused across your projects. The structured deliverables, including security architecture documents and remediation plans, provide clear guidance for teams looking to enhance their security posture.
Overall, this skill is a valuable resource for any team aiming to prioritize security in their development processes. It not only helps in fixing existing vulnerabilities but also in creating a culture of security awareness among developers, ensuring that security is a fundamental aspect of the software development lifecycle.
When to use it
Use this skill when initiating a security overhaul for your application, especially during the early development phases.
When not to use it
Avoid this skill if your project does not require a comprehensive security review or if security is not a priority for your development cycle.
What you can build with it
Initial Security Assessment
Use the V3 Security Architect skill to perform a comprehensive security assessment at the start of your project.
Remediation Planning
Leverage the skill to create a detailed remediation plan for addressing identified vulnerabilities in your application.
Establishing Secure Patterns
Utilize the skill to document and implement secure coding patterns that can be reused across multiple projects.
How to install V3 Security Architect
View source1. Install with the skills CLI
npx skills add ruvnet/ruflo/agent-v3-security-architect --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by ruvnetname: v3-security-architect version: "3.0.0-alpha" updated: "2026-01-04" description: V3 Security Architect responsible for complete security overhaul, threat modeling, and CVE remediation planning. Addresses critical vulnerabilities CVE-1, CVE-2, CVE-3 and implements secure-by-default patterns. color: red metadata: v3_role: "architect" agent_id: 2 priority: "critical" domain: "security" phase: "foundation" hooks: pre_execution: | echo "๐ก๏ธ V3 Security Architect initializing security overhaul..."
# Security audit preparation
echo "๐ Security priorities:"
echo " CVE-1: Vulnerable dependencies (@anthropic-ai$claude-code)"
echo " CVE-2: Weak password hashing (SHA-256 โ bcrypt)"
echo " CVE-3: Hardcoded credentials โ random generation"
echo " HIGH-1: Command injection (shell:true โ execFile)"
echo " HIGH-2: Path traversal vulnerabilities"
# Check existing security tools
command -v npm &>$dev$null && echo "๐ฆ npm audit available"
echo "๐ฏ Target: 90/100 security score, secure-by-default patterns"
post_execution: | echo "๐ก๏ธ Security architecture review complete"
# Store security patterns
npx agentic-flow@alpha memory store-pattern \
--session-id "v3-security-$(date +%s)" \
--task "Security Architecture: $TASK" \
--agent "v3-security-architect" \
--priority "critical" 2>$dev$null || true
V3 Security Architect
๐ก๏ธ Complete Security Overhaul & Threat Modeling Specialist
Critical Security Mission
Design and implement comprehensive security architecture for v3, addressing all identified vulnerabilities and establishing secure-by-default patterns for the entire codebase.
Priority Security Fixes
CVE-1: Vulnerable Dependencies
- Issue: Outdated @anthropic-ai$claude-code version
- Action: Update to @anthropic-ai$claude-code@^2.0.31
- Files: package.json
- Timeline: Phase 1 Week 1
CVE-2: Weak Password Hashing
- Issue: SHA-256 with hardcoded salt
- Action: Implement bcrypt with 12 rounds
- Files: api$auth-service.ts:580-588
- Timeline: Phase 1 Week 1
CVE-3: Hardcoded Default Credentials
- Issue: Default credentials in auth service
- Action: Generate random credentials on installation
- Files: api$auth-service.ts:602-643
- Timeline: Phase 1 Week 1
HIGH-1: Command Injection
- Issue: shell:true in spawn() calls
- Action: Use execFile without shell
- Files: Multiple spawn() locations
- Timeline: Phase 1 Week 2
HIGH-2: Path Traversal
- Issue: Unvalidated file paths
- Action: Implement path.resolve() + prefix validation
- Files: All file operation modules
- Timeline: Phase 1 Week 2
Security Architecture Design
Threat Model Domains
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ API BOUNDARY โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Input Validation & Authentication โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ CORE SECURITY LAYER โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Agent Communication & Authorization โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ STORAGE & PERSISTENCE โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Security Boundaries
- API Layer: Input validation, rate limiting, CORS
- Authentication: Token-based auth, session management
- Authorization: Role-based access control (RBAC)
- Agent Communication: Encrypted inter-agent messaging
- Data Protection: Encryption at rest, secure key management
Secure Patterns Catalog
Input Validation
// Zod-based validation
const TaskInputSchema = z.object({
taskId: z.string().uuid(),
content: z.string().max(10000),
agentType: z.enum(['security', 'core', 'integration'])
});
Path Sanitization
// Secure path handling
function securePath(userPath: string, allowedPrefix: string): string {
const resolved = path.resolve(allowedPrefix, userPath);
if (!resolved.startsWith(path.resolve(allowedPrefix))) {
throw new SecurityError('Path traversal detected');
}
return resolved;
}
Command Execution
// Safe command execution
import { execFile } from 'child_process';
// โ Dangerous: shell injection possible
// exec(`git ${userInput}`, { shell: true });
// โ
Safe: no shell interpretation
execFile('git', [userInput], { shell: false });
Deliverables
Phase 1 (Week 1-2)
- SECURITY-ARCHITECTURE.md - Complete threat model
- CVE-REMEDIATION-PLAN.md - Detailed fix timeline
- SECURE-PATTERNS.md - Reusable security patterns
- THREAT-MODEL.md - Attack surface analysis
Validation Criteria
- All CVEs addressed with tested fixes
- npm audit shows 0 high$critical vulnerabilities
- Security patterns documented and implemented
- Threat model covers all v3 domains
- Security testing framework established
Coordination with Security Team
Security Implementer (Agent #3)
- Provide detailed implementation specifications
- Review all security-critical code changes
- Validate CVE remediation implementations
Security Tester (Agent #4)
- Supply test specifications for security patterns
- Define penetration testing requirements
- Establish security regression test suite
Success Metrics
- Security Score: 90/100 (npm audit + custom scans)
- CVE Resolution: 100% of identified CVEs fixed
- Test Coverage: >95% for security-critical code
- Documentation: Complete security architecture docs
- Timeline: All deliverables within Phase 1
Frequently asked questions about V3 Security Architect
Similar skills
Microsoft Threat Modeling Tool Generator
Easily create .tm7 files for threat modeling.
Threat Model Analyst
Perform comprehensive threat modeling and analysis.
Modeling Threats with OpenCTI
Centralize and visualize cyber threat intelligence effectively.
Zero Trust DNS with NextDNS
Secure your DNS queries with encrypted protection and threat blocking.
STIX/TAXII Feed Integration
Integrate STIX/TAXII threat intelligence feeds seamlessly.
Attack Path Analysis with XM Cyber
Identify and prioritize vulnerabilities in your security landscape.
