core/skills/gate-security/SKILL.md
Detects leaked secrets, injection patterns, and sensitive data exposure across changed files. Uses real tooling when configured, LLM judgment for analysis. Internal gate — invoked by verify.
npx skillsauth add obsidian-owl/specwright gate-securityInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Ensure the codebase doesn't leak secrets, introduce injection vulnerabilities, or expose sensitive data. Use real security tooling when available. Use LLM judgment for analysis that tools can't do.
{projectArtifactsRoot}/config.json -- commands.lint, SAST tool config if available{repoStateRoot}/work/{selectedWork.id}/workflow.json -- selected work unitgit diff){workDir}/evidence/security-report.mdworkflow.jsonScope (MEDIUM freedom):
git diff --name-only against main branch.Phase 1 — Detection (LOW freedom, BLOCK severity):
semgrep, eslint-plugin-security), run it.Phase 2 — Analysis (HIGH freedom, WARN severity):
Phase 3 — Logical security (HIGH freedom, WARN severity):
Verdict (LOW freedom):
protocols/evidence.md#verdict-rendering.protocols/evidence.md#verdict-rendering -- verdict renderingprotocols/evidence.md -- evidence storageprotocols/state.md -- gate status updates| Condition | Action | |-----------|--------| | No SAST tool configured | Skip tool-based detection, rely on LLM analysis | | No changed files detected | Scan all project source files | | SAST tool not installed | WARN finding, suggest installation, continue with LLM |
testing
Explicitly adopt an existing work into the current worktree after validating live ownership, stale sessions, and branch consistency.
testing
Orchestrates quality gates for the current work unit. Runs enabled gates in dependency order, produces an aggregate evidence report with gate handoff.
tools
Syncs the local repository by fetching all remotes, updating the base branch, and removing stale local branches that are not protected by live sessions or helper worktrees.
data-ai
Shows current Specwright state for this worktree, the attached work, repo-wide active works, gate results, and lock status. Supports --reset, --cleanup, and --repair {unitId}.