/hefesto:hef.scan [--deps]from Hefesto
Quick security scan of staged and unstaged changes using a checklist for secrets, SQL injection, input validation, and auth patterns. With --deps, also audits new direct dependencies for known vulnerabilities via ecosystem-specific tools.
Ships in Hefesto. Installing the plugin adds it to Claude Code.
Perform a quick security review of the current changes.
Scope note. This is the fast, changes-only scan. For a full review of every pending change on the branch, use the built-in
/security-reviewskill instead. This command exists because it is narrower and cheaper: staged/unstaged diff only, with the checklist below.--depsis the one exception to "fast and offline": the auditors it runs need the network and can take minutes (a govulncheck build). None of them installs what it audits — pip-audit runs only on pinned requirements with--no-deps --disable-pip.
Focus on staged and unstaged changes:
git diff --staged and git diff to identify changed files--deps, the ## Dependencies section belowgitleaks detect --staged — scans for 150+ secret typessemgrep scan --config auto — cross-language pattern-based security analysisgovulncheck ./... (reachability-based — only flags actually-called vulnerable code)npm auditpip-auditcargo audit--deps is in $ARGUMENTS (board item HEF-9)${CLAUDE_PLUGIN_ROOT}/hooks/speckit-helper.sh deps-diff — every direct
dependency the branch adds, re-versions or removes, one line each (added npm left-pad ^1.3.0;
ecosystems npm, pypi, crates, go). Non-zero → report its line; the rest of the scan stands.${CLAUDE_PLUGIN_ROOT}/hooks/speckit-helper.sh deps-audit
— one line per auditor that ran (<tool> exit <rc> findings <n|unknown> report <path>), one
missing <ecosystem>: <tool> (<install hint>) per ecosystem without one. Exit 0 = every auditor
clean; 1 = findings, or a count it could not read (unknown is never clean — open the report);
3 = no auditor could run.## Dependencies section to the report:
added dependency is a review item (llm-security.md, supply chain): confirm it exists on
its registry and is the package you meant — 5–22 % of LLM-suggested names do not exist and are
squattable; a near-miss name (reqeusts) is CRITICAL until disproven.unknown →
name the tool and the report path for a person to read.--deps: the ## Dependencies section (new dependencies, findings by severity, missing auditors)Note: For full incident response, threat hunting, or forensic investigation, use the forensic-specialist agent instead.
What the command file sets; muted values are Claude Code's defaults
opussecurity-scan, dependency-audit, secrets-detection, sast, sca
7-day visitors to each command page
npx claudepluginhub joaoariedi/hefesto --plugin hefesto27 commands in this plugin
/hef.adrDecision recordRecord an architecture decision as a report with machine-readable MADR status/hef.agentRoute, then runRoute a task by size and coupling — trivial fix, light spec path, or the full pipeline — then run it with planning and task tracking/hef.analyzeAnalyzeRead-only cross-artifact consistency analysis with coverage mapping