V3 Security Overhaul

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

1|1|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/33may/robotics --skill v3-security-overhaul-33may
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: V3 Security Overhaul
Source: https://github.com/33may/robotics/tree/main/humanoid/.claude/skills/v3-security-overhaul
Command: npx skills add https://github.com/33may/robotics --skill v3-security-overhaul-33may

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 dependencies via npm audit), CVE-2 (replaces SHA-256 hashing with bcrypt at 12 rounds), and CVE-3 (replaces hardcoded credentials with crypto-generated random keys). - Secure Coding Patterns: Provides Zod-based input validation, path traversal sanitization, and safe command execution using execFile without shell interpretation. - Use Case: When upgrading claude-flow to v3, use this Skill to coordinate security architecture design, vulnerability fixes, and TDD-based security testing across specialized agents. ## Quick Start Ask the AI to run the v3 security overhaul to fix the critical CVEs and apply secure-by-default patterns to 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?

Update vulnerable dependencies with npm update and npm audit, replace SHA-256 password hashing with bcrypt at 12 rounds, and generate credentials using crypto.randomBytes instead of hardcoded values.

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

Import bcrypt and call bcrypt.hash(password, 12) to hash passwords with 12 salt rounds. This replaces insecure SHA-256 hashing with hardcoded salts, which is vulnerable to rainbow table attacks.

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 result starts with the resolved allowed prefix. Throw an error if the check fails to block directory escape attempts.

Does this Skill validate user input automatically?

It provides Zod schema patterns for input validation, such as enforcing UUID formats, string length limits, and enum constraints on agent types. You apply these schemas to incoming task data before processing.

Why is execFile safer than exec for running commands?

execFile runs a command directly without shell interpretation when shell is set to false, preventing shell injection from user-controlled arguments. exec passes input through a shell, allowing injected commands to execute.