Agent skill
df:security-audit
Scan codebase for security vulnerabilities using parallel auditor agents. Standalone — works without .planning/ state. Covers OWASP Top 10, secrets, dependency risks, auth flaws. Triggers on: "security audit", "scan for vulnerabilities", "check for secrets", "security review", "find security issues"
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/df-security-audit
SKILL.md
This is a standalone command — no .planning/ directory or DevFlow project state required. Works on any codebase.
Output: SECURITY-AUDIT.md (in .planning/ if it exists, otherwise project root).
<execution_context> @~/.claude/devflow/workflows/security-audit.md </execution_context>
Supported argument formats:
- Path scope:
src/api— limits scan to a subdirectory - Focus filter:
secrets-only— runs only the secrets-and-code agent - Focus filter:
auth-only— runs only the auth-and-access agent - Focus filter:
deps-only— runs only the config-and-deps agent - Combination:
src/api secrets-only— scoped + filtered
This command can run:
- On any codebase, at any time — no DevFlow initialization required
- Before
/df:new-project— assess security posture of brownfield codebase - After major changes — re-audit for regressions
- As part of release prep — generate audit report for review
<when_to_use> Use security-audit for:
- Initial security assessment of a codebase
- Checking for hardcoded secrets before open-sourcing
- Reviewing auth/authz patterns after changes
- Dependency vulnerability awareness
- Pre-release security checklist
- Onboarding to an unfamiliar codebase (security perspective)
Skip security-audit for:
- Codebases with zero source files (nothing to scan)
- If you just need to check one specific file (manual review is faster) </when_to_use>
<success_criteria>
- Init context loaded (model, stack, output path)
- Agents spawned with correct focus modes
- Agents wrote findings to
.security-audit-tmp/ - Findings merged, deduplicated, sorted by severity
- SECURITY-AUDIT.md written with YAML frontmatter
- Temp directory cleaned up
- No secret values in any output
- User presented with actionable summary </success_criteria>
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?