Skip to content
cccskills
FreePublished on GitHubEnglish overview

V3 Security Overhaul

Review and strengthen security in claude-flow v3 by addressing dependency risks, password hashing, credential generation, input validation, file paths, and command execution. It also guides threat modeling and tests for security-critical code.

OriginalShow the original description

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.

AI rating80/ 100See how to install

Good for

  • Reviewing security boundaries and potential threats
  • Updating dependencies and checking audit results
  • Revising password hashing and credential generation
  • Adding input checks and security tests

Overview

What it does

This skill helps review security design and implementation in claude-flow v3. It covers identifying expected threats and the scope of protection, updating and auditing dependencies, hashing passwords, and replacing hardcoded credentials. Concrete examples show password storage with bcrypt, credential generation using random numbers, and input validation with Zod. It also covers checking file paths, using execFile to avoid shell interpretation, and testing code that is important for security.

When it helps

It is intended for developers who want to consider security from the design stage when implementing claude-flow v3. Use it to inspect dependencies and authentication handling, then work through implementation, testing, and documentation of the countermeasures together.

Example requests

  • “Design the v3 threat model and security boundaries.”
  • “Review hardcoded credentials and the password storage implementation.”
  • “Organize input validation and command execution countermeasures, and add tests.”

Notes

The material targets claude-flow v3, with examples using npm audit, bcrypt, and Zod. Its CVE-1 through CVE-3 labels do not include official identifiers. Audit scores and test coverage figures are targets presented as success metrics.

This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.

Objective evaluation

AI rated this skill on four points using only the contents of its SKILL.md. Stars and popularity are not taken into account.

Clear instructionsIs it clear when to use it and what it does?
AGoodIt states its use during v3 implementation and lists countermeasures for dependencies, passwords, and credentials.
Concrete stepsAre steps, inputs, outputs, and examples spelled out?
AGoodIt provides an npm audit command and code examples using bcrypt, Zod, and execFile.
SafetyAre sending data, deleting files, and running commands disclosed?
BPartly lackingnpm update changes dependencies, but no checks before changes or restoration procedure are provided.
Easy setupDoes it need few tools or API keys, and are they documented?
BPartly lackingIt uses npm, bcrypt, and Zod, but provides no environment setup or library installation instructions.

The total counts each point as A = 25, B = 15, C = 5. Rated by AI (OpenAI Codex) as of Oct 21, 2026. Treat it as a guide and read the original before installing.

Disagree? Request a re-evaluation

Tell us which point is wrong and why. No login needed. We will check it against the SKILL.md, redo the evaluation, and show the result here.

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Files included (1)

  • SKILL.md2.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

AgentDB Advanced Features

FreeSummaryAI rating 80

Build advanced AgentDB workflows with database synchronization, multiple databases, and search that combines meaning with attribute filters. Covers similarity measures, diverse search results, and operational patterns for distributed AI applications.

  • Sharing stored patterns across multiple AgentDB instances
  • Filtering semantic search by date or category
  • Separating knowledge and conversation databases
ruvnet/RuView98.9KUpdated Oct 20, 2026

Create AgentDB learning plugins that use recorded experience to improve agent decisions. Choose a learning method, store states, actions, and rewards, train models, and evaluate suggested actions through CLI and API workflows.

  • Train agents from historical experience
  • Build decision-making for games and navigation
  • Combine experience from multiple agents for training
ruvnet/RuView98.9KUpdated Oct 20, 2026

AgentDB Memory Patterns

FreeSummaryAI rating 90

Build AI agents that retain conversation history, user preferences, and useful interaction patterns with AgentDB. The skill covers persistent storage, meaning memories survive between sessions, plus retrieval, context management, and ReasoningBank integration.

  • Add conversation history to a chat system
  • Remember user preferences across sessions
  • Reuse patterns from successful interactions
ruvnet/RuView98.9KUpdated Oct 20, 2026

AgentDB Performance Optimization

FreeSummaryAI rating 70

Tune AgentDB memory use and search speed through quantization, which stores vectors more compactly, search indexes, caching, and batch operations. Includes configuration examples and benchmarks to help balance accuracy, speed, and storage as datasets grow.

  • Reduce memory use in an AgentDB application
  • Tune search speed while preserving accuracy
  • Plan settings for millions of vectors
ruvnet/RuView98.9KUpdated Oct 20, 2026

AgentDB Vector Search

FreeSummaryAI rating 90

Build document search with AgentDB that finds related content by meaning. Store documents as numerical representations, combine similarity search with metadata filters, and retrieve relevant passages for systems that generate answers using source material.

  • Build answers grounded in retrieved documents
  • Add meaning-based search to a knowledge base
  • Find documents with similar content
ruvnet/RuView98.9KUpdated Oct 20, 2026

browser

FreeSummaryAI rating 70

Automate browser tasks with agent-browser, using snapshots that label page elements for the agent. Handle login flows, fill and submit forms, extract page information, and capture screenshots through a repeatable navigation and interaction workflow.

  • Automating login flows
  • Filling and submitting web forms
  • Extracting product names, prices, and links
ruvnet/RuView98.9KUpdated Oct 20, 2026

See all skills by ruvnet

Report a problem with this skill