spencermarx avatar

V3 Security Overhaul

This is a specialized security agent for claude-flow v3 that patches three critical CVEs and implements secure-by-default patterns. It migrates SHA-256 password hashing to bcrypt, removes hardcoded credentials, updates vulnerable dependencies, and adds input validation with Zod schemas. The skill orchestrates parallel security tasks using dedicated agents for threat modeling, CVE remediation, and TDD security testing. Worth noting that it includes practical examples for path traversal prevention and safe command execution without shell interpretation. If you're upgrading to v3 or inherited a codebase with known security debt, this gives you a structured framework to fix it systematically rather than piecemeal.

GitHub stars
240
last updated
Jun 11, 2026

Install

$ npx -y skills add spencermarx/open-code-review --skill 'V3 Security Overhaul' --agent claude-code

Installs into .claude/skills of the current project.

Files

V3 Security Overhaul

What This Skill Does

Orchestrates comprehensive security overhaul for claude-flow v3, addressing critical vulnerabilities and establishing security-first development practices using specialized v3 security agents.

Quick Start

# Initialize V3 security domain (parallel)
Task("Security architecture", "Design v3 threat model and security boundaries", "v3-security-architect")
Task("CVE remediation", "Fix CVE-1, CVE-2, CVE-3 critical vulnerabilities", "security-auditor")
Task("Security testing", "Implement TDD London School security framework", "test-architect")

Critical Security Fixes

CVE-1: Vulnerable Dependencies

npm update @anthropic-ai/claude-code@^2.0.31
npm audit --audit-level high

CVE-2: Weak Password Hashing

// ❌ Old: SHA-256 with hardcoded salt
const hash = crypto.createHash('sha256').update(password + salt).digest('hex');

// ✅ New: bcrypt with 12 rounds
import bcrypt from 'bcrypt';
const hash = await bcrypt.hash(password, 12);

CVE-3: Hardcoded Credentials

// ✅ Generate secure random credentials
const apiKey = crypto.randomBytes(32).toString('hex');

Sponsors

Details

Repository
github.com/spencermarx/open-code-review
Categories
Security, Git & Pull Requests, Code Review & Quality
License
Apache-2.0
First seen
Jun 11, 2026

More from spencermarx/open-code-review

All 31

Recommended

More Security
1telagod avatararchitecting-securitytelagod/code-abyss安全架构与治理:威胁建模 (STRIDE/PASTA/LINDDUN)、零信任身份架构、IAM/SSO/MFA/PAM、合规框架 (SOC2/PCI/HIPAA/GDPR)、DLP、隐私工程、安全控制设计。Use when designing security architecture, threat modeling0skills.sh installs
2yoanbernabeu avatarsupabase-audit-functionsyoanbernabeu/supabase-pentest-skillsDiscover and test Supabase Edge Functions for security vulnerabilities and misconfigurations.1.1Kskills.sh installs
3yoanbernabeu avatarsupabase-audit-rpcyoanbernabeu/supabase-pentest-skillsList and test exposed PostgreSQL RPC functions for security issues and potential RLS bypass.551skills.sh installs
4yoanbernabeu avatarsupabase-reportyoanbernabeu/supabase-pentest-skillsGenerate a comprehensive Markdown security audit report with executive summary, findings, and remediation guidance.516skills.sh installs
5yoanbernabeu avatarsupabase-audit-auth-usersyoanbernabeu/supabase-pentest-skillsTest for user enumeration vulnerabilities through various authentication endpoints.506skills.sh installs
6yoanbernabeu avatarsupabase-audit-rlsyoanbernabeu/supabase-pentest-skillsTest Row Level Security (RLS) policies for common bypass vulnerabilities and misconfigurations.1.2Kskills.sh installs