agent-v3-security-architect

agent-v3-security-architect is a skill for Claude Code from ruvnet/ruflo. It costs 25 tokens per session (1,439 once invoked), scanned A, original, MIT.

A security architecture role for threat modelling, vulnerability remediation, and safer default patterns in an agent system.

In plain words
What is it for?
Use it to plan security audits, fix listed CVEs, replace unsafe shell commands, and improve credential and password handling.
Why use it?
It helps identify security risks such as unsafe dependencies, weak password storage, embedded credentials, command injection, and path traversal.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents); $skill-name invocation.

Part of the claude-flow plugin — 134 skills, 52 commands, 11 agents, 4 hooks shipped together

not rated 71krepo +669 2d ago A scan Socket: warnSnyk: warnSkillSpector: warn 25 tokens original MIT

Good fit Use it to plan security audits, fix listed CVEs, replace unsafe shell commands, and improve credential and password handling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ruvnet/ruflo/agent-v3-security-architect
About the project

Ruflo is an execution and coordination layer for Claude Code and Codex that equips AI coding agents with tools, memory, control loops, sandboxes, and collaboration mechanisms. Developers use it to organize specialized agents into swarms, coordinate workflows, retain knowledge across sessions, and communicate across machines. The catalogue entries are Ruflo’s skills, commands, agents, hooks, and plugin components.

ruvnet/ruflo · 71,074 stars · on GitHub · cognitum.one

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ruvnet/ruflo --skill agent-v3-security-architect
Clone the repo
git clone --depth 1 https://github.com/ruvnet/ruflo

Made for: Claude Code.

Or install claude-flow, the plugin that ships this one along with the rest of its 134 skills, 52 commands, 11 agents, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-v3-security-architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/ruvnet/ruflo/agent-v3-security-architect.svg)](https://agentmods.dev/skills/ruvnet/ruflo/agent-v3-security-architect)
Your own site
<a href="https://agentmods.dev/skills/ruvnet/ruflo/agent-v3-security-architect"><img src="https://agentmods.dev/badge/skills/ruvnet/ruflo/agent-v3-security-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,439 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket warn 18 Mar 2026
  • Snyk warn 1 Mar 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 39
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.01439
Opus 5 $0.00013 $0.00720
Sonnet 5 $0.00005 $0.00288
Haiku 4.5 $0.00003 $0.00144

Measured 4d ago against content hash 6049ceb89e3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

agent-v3-security-architect scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

import { execFile } from 'child_process';
Origin

Copies of this mod

3 near-identical copies found in the catalogue:

.agents/skills/agent-v3-security-architect/SKILL.md · 179 lines

How it starts

The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.


name: v3-security-architect version: "3.0.0-alpha" updated: "2026-01-04" description: V3 Security Architect responsible for complete security overhaul, threat modeling, and CVE remediation planning. Addresses critical vulnerabilities CVE-1, CVE-2, CVE-3 and implements secure-by-default patterns. color: red metadata: v3_role: "architect" agent_id: 2 priority: "critical" domain: "security" phase: "foundation" hooks: pre_execution: | echo "🛡️ V3 Security Architect initializing security overhaul..."

# Security audit preparation
echo "🔍 Security priorities:"
echo "  CVE-1: Vulnerable dependencies (@anthropic-ai$claude-code)"
echo "  CVE-2: Weak password hashing (SHA-256 → bcrypt)"
echo "  CVE-3: Hardcoded credentials → random generation"
echo "  HIGH-1: Command injection (shell:true → execFile)"
echo "  HIGH-2: Path traversal vulnerabilities"

# Check existing security tools
command -v npm &>$dev$null && echo "📦 npm audit available"

echo "🎯 Target: 90/100 security score, secure-by-default patterns"

post_execution: | echo "🛡️ Security architecture review complete"

# Store security patterns
npx agentic-flow@alpha memory store-pattern \
  --session-id "v3-security-$(date +%s)" \
  --task "Security Architecture: $TASK" \
  --agent "v3-security-architect" \
  --priority "critical" 2>$dev$null || true

V3 Security Architect

🛡️ Complete Security Overhaul & Threat Modeling Specialist

Critical Security Mission

Design and implement comprehensive security architecture for v3, addressing all identified vulnerabilities and establishing secure-by-default patterns for the entire codebase.

Priority Security Fixes

CVE-1: Vulnerable Dependencies

  • Issue: Outdated @anthropic-ai$claude-code version
  • Action: Update to @anthropic-ai$claude-code@^2.0.31
  • Files: package.json
  • Timeline: Phase 1 Week 1

CVE-2: Weak Password Hashing

  • Issue: SHA-256 with hardcoded salt
  • Action: Implement bcrypt with 12 rounds
  • Files: api$auth-service.ts:580-588
  • Timeline: Phase 1 Week 1

Read the full file on GitHub · 179 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 179 lines · 25 tokens per session scan A 6049ceb89e3b

Subscribe to this mod's changes

agent-v3-security-architect is a skill published in the GitHub repository ruvnet/ruflo (71,074 stars, last pushed 2d ago), licensed MIT. It adds 25 tokens to every session and 1,439 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

compare-harnesses

Diff two scaffolded harnesses (ADR-031). Reports manifest meta drift + host list + per-file fingerprint changes (added/removed/changed). Exits 0 IDENTICAL, 1 DRIFT, 2 missing manifest. Use --bundle for the ADR-031 schema-1 JSON envelope.

ruvnet/metaharness · 66 tokens

diag-harness

Kernel-version skew check (ADR-027). Reports manifest surface + manifest kernel + installed kernel + verdict (match/patch-diff/minor-diff/major-diff). Exits 1 on minor/major skew with a copy-pasteable npm install @metaharness/[email protected] next step. Exits 2 if no .harness/manifest.json at path.

ruvnet/metaharness · 85 tokens

repo-genome

7-section readiness scorecard for a LOCAL repo. Reports repo type + agent topology + MCP risk + test confidence + release readiness + recommended harness plan + scorecard. Exit 0 ready, 1 needs-work, 2 blocked. --json for the 6-field scorecard, --bundle for the ADR-031 schema-1 envelope.

ruvnet/metaharness · 73 tokens

score-harness

5-dimension scorecard (0-100, grade A/B/C/F) for a scaffolded harness. Dimensions: Repo understanding (25%), Agent usefulness (25%), MCP safety (20%), Test coverage (15%), Publish readiness (15%). Emits a 6-field badges block (score + mcpRisk + 4 booleans) ready for the harness README. Exit 0 A/B, 1 C, 2 F.

ruvnet/metaharness · 0 tokens

upgrade-harness

Drift detection + apply for a scaffolded harness. Re-renders the template with the same vars, computes added/removed/changed file plan, and applies with Git-style conflict markers or .rej files. Default is dry-run.

ruvnet/metaharness · 51 tokens

verify-witness

Verify the Ed25519 witness manifest of a scaffolded harness. Fast yes/no signature check that proves the publisher signed this exact file set — separate from the full release-readiness umbrella in validate-harness.

ruvnet/metaharness · 45 tokens