V3 Security Overhaul

Remediates critical CVEs and implements secure-by-default patterns for claude-flow v3.

1|Updated Jun 3, 2026
One-click install
npx skills add https://github.com/KentwareDemo/RuView --skill v3-security-overhaul-kentwaredemo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: V3 Security Overhaul
Source: https://github.com/KentwareDemo/RuView/tree/main/.claude/skills/v3-security-overhaul
Command: npx skills add https://github.com/KentwareDemo/RuView --skill v3-security-overhaul-kentwaredemo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bcrypt, zod.

What problem does it solve? It addresses critical security vulnerabilities in claude-flow v3, including vulnerable dependencies, weak password hashing, and hardcoded credentials, by orchestrating a structured security overhaul. ## Core Features & Use Cases - CVE Remediation: Fixes CVE-1 (vulnerable npm dependencies), CVE-2 (SHA-256 password hashing replaced with bcrypt at 12 rounds), and CVE-3 (hardcoded credentials replaced with cryptographically random keys). - Secure Coding Patterns: Provides Zod-based input validation schemas, path traversal sanitization, and safe command execution via execFile without shell interpretation. - Security Orchestration: Coordinates specialized agents (v3-security-architect, security-auditor, test-architect) for threat modeling, auditing, and TDD-based security testing. - Use Case: When upgrading claude-flow to v3, run this overhaul to reach a 90/100 security score, resolve all critical CVEs, and achieve over 95% test coverage on security-critical code. ## Quick Start Ask the AI to run the v3 security overhaul to fix the critical CVEs and apply secure-by-default patterns across the claude-flow codebase.

Frequently Asked Questions about V3 Security Overhaul

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix critical CVEs in claude-flow v3?

Run npm update for @anthropic-ai/claude-code to version 2.0.31 or higher, then run npm audit at the high level. Replace SHA-256 password hashing with bcrypt at 12 rounds and generate credentials using crypto.randomBytes.

How to replace SHA-256 password hashing with bcrypt in Node.js?

Import bcrypt and call bcrypt.hash with the password and 12 salt rounds instead of using crypto.createHash with SHA-256 and a hardcoded salt. This provides adaptive hashing resistant to brute-force attacks.

What input validation library does the v3 security overhaul use?

It uses Zod for schema-based input validation. The skill defines schemas for task IDs as UUIDs, content strings with maximum lengths, and enumerated agent types to reject malformed input.

How do I prevent path traversal attacks in Node.js?

Resolve the user-supplied path against an allowed prefix using path.resolve, then verify the resolved path still starts with the allowed prefix. Throw a security error if the check fails to block directory escape attempts.

Why is execFile safer than exec for running commands?

execFile runs the target binary directly with an argument array and shell set to false, so user input is never interpreted by a shell. This prevents command injection attacks that are possible with exec string concatenation.

What security metrics does the v3 overhaul target?

The overhaul targets a 90 out of 100 security score from npm audit and custom scans, 100 percent resolution of critical CVEs, and over 95 percent test coverage on security-critical code.