Skip to content
ruvnet avatar

Security Scan

Runs a depth-scaled security scan across dependencies, hard-coded secrets, and risky code patterns, with findings treated as leads.

CCM score
71 of 100
skills.sh installs
748
GitHub stars
82.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers three phases: npm audit for dependencies, a secrets grep, and a risky code-pattern grep, selectable with --type deps|code|all
  • Sets the scan depth with --depth quick|standard|deep, which controls how many directory levels the secrets and code checks descend
  • Skips code-pattern checks at quick depth and includes a STRIDE threat-model export through security threats
  • Designed for PR reviews, auth and input-handling audits, and checks before production deploys

Install

$ npx -y skills add ruvnet/ruflo --skill security-scan -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Run a security scan at the specified depth.

Via CLI:

npx @claude-flow/cli@latest security scan --depth DEPTH --output json
npx @claude-flow/cli@latest security cve --list
npx @claude-flow/cli@latest security threats --model stride --export md

What the scan really does (v3/@claude-flow/cli/src/commands/security.ts): phase 1 runs npm audit for dependencies, phase 2 greps for hard-coded secrets, phase 3 greps source for risky code patterns. --type deps|code|all picks phases; --depth only sets how many directory levels phases 2 and 3 descend:

DepthDependenciesSecrets (levels)Code patterns (levels)
quickyes3skipped
standardyes55
deepyes1010

Details

Repository
github.com/ruvnet/ruflo
Categories
Security, Code Review & Quality
First seen
Jun 3, 2026

Questions

What does the security-scan skill do?

The security-scan skill runs a security scan on the codebase using Ruflo security tools. Phase one runs npm audit for dependencies, phase two greps for hard-coded secrets, and phase three greps source for risky code patterns. Findings are leads to check at the reported line, not final verdicts.

When should I use the security-scan skill?

Use security-scan when reviewing PRs for security regressions, auditing auth and input-handling code, before production deploys, or when you want a security check at quick, standard or deep depth. The depth setting only controls how many directory levels the secrets and code-pattern phases descend, with quick skipping code patterns entirely.

How do I install the security-scan skill?

Run npx -y skills add ruvnet/ruflo --skill security-scan -y in a project to install it. Once installed, security-scan lets the agent run a depth-based scan and store findings in memory under the security-findings namespace.

What does security-scan not cover?

security-scan is a pattern scanner, not a taint or auth-flow analyser, so it will not trace data flow or check authentication logic end to end. Its security threats command is a separate STRIDE, DREAD and PASTA template rather than a scan of your code.

More from ruvnet/ruflo

All 236

Similar to Security Scan

More Security