V3

v3-security-overhaul

Applies security-first updates and architectural changes to secure the claude-flow v3 platform.

Install

mkdir -p .claude/skills/v3-security-overhaul && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/7824" && unzip -o skill.zip -d .claude/skills/v3-security-overhaul && rm skill.zip

Installs to .claude/skills/v3-security-overhaul

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.

Complete security architecture overhaul for claude-flow v3. Addresses critical CVEs (CVE-1, CVE-2, CVE-3) and implements secure-by-default patterns. Use for security-first v3 implementation.
190 chars✓ has a “when” trigger
Advanced

Key capabilities

  • Address critical CVEs (CVE-1, CVE-2, CVE-3)
  • Implement secure input validation using Zod
  • Sanitize file paths to prevent traversal attacks
  • Execute commands safely without shell interpretation
  • Update vulnerable dependencies
  • Replace weak password hashing with bcrypt

How it works

This skill identifies and remediates critical vulnerabilities, such as outdated dependencies and weak password hashing, and implements secure coding patterns like input validation and path sanitization.

Inputs & outputs

You give it
Vulnerable code or insecure patterns in claude-flow v3
You get back
Secure-by-default claude-flow v3 implementation with critical CVEs fixed

When to use v3-security-overhaul

  • Fixing critical CVEs
  • Implementing input validation with Zod
  • Auditing security boundaries

About this skill

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');

Security Patterns

Input Validation (Zod)

import { z } from 'zod';

const TaskSchema = z.object({
  taskId: z.string().uuid(),
  content: z.string().max(10000),
  agentType: z.enum(['security', 'core', 'integration'])
});

Path Sanitization

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;
}

Safe Command Execution

import { execFile } from 'child_process';

// ✅ Safe: No shell interpretation
const { stdout } = await execFile('git', [userInput], { shell: false });

Success Metrics

  • Security Score: 90/100 (npm audit + custom scans)
  • CVE Resolution: 100% of critical vulnerabilities fixed
  • Test Coverage: >95% security-critical code
  • Implementation: All secure patterns documented and tested

How it compares

This skill systematically overhauls the security architecture by addressing specific CVEs and enforcing secure-by-default patterns, rather than relying on ad-hoc fixes.

Compared to similar skills

v3-security-overhaul side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
v3-security-overhaul (this skill)16moReviewAdvanced
fix-dependabot-alerts186moReviewIntermediate
security-audit36moReviewIntermediate
security-best-practices76moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

fix-dependabot-alerts

microsoft

Fix Dependabot security alerts by updating vulnerable npm dependencies. Use when the user mentions "dependabot", "security alerts", "vulnerability", "CVE", or wants to update packages with security issues.

1872

security-audit

ruvnet

Comprehensive security scanning and vulnerability detection. Includes input validation, path traversal prevention, CVE detection, and secure coding pattern enforcement. Use when: authentication implementation, authorization logic, payment processing, user data handling, API endpoint creation, file upload handling, database queries, external API integration. Skip when: read-only operations on public data, internal development tooling, static documentation, styling changes.

337

security-best-practices

openai

Perform language and framework specific security best-practice reviews and suggest improvements. Trigger only when the user explicitly requests security best practices guidance, a security review/report, or secure-by-default coding help. Trigger only for supported languages (python, javascript/typescript, go). Do not trigger for general code review, debugging, or non-security tasks.

732

epic-permissions

epicweb-dev

Guide on RBAC system and permissions for Epic Stack

317

epic-security

epicweb-dev

Guide on security practices including CSP, rate limiting, and session security for Epic Stack

611

damage-control

disler

Install, configure, and manage the Claude Code Damage Control security hooks system. Use when user mentions damage control, security hooks, protected paths, blocked commands, install security, or modify protection settings.

27

Search skills

Search the agent skills registry