Skip to content
Back to skills

Security Check

ASecurity

Review branch changes for concrete security defects and scan relevant dependencies, with claim verification.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 7, 2026
ai-agentsrustgogitapisecurity

Works with

  • claude code
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned October 7, 2026

npx -y skills add ogxo-io/plugins --skill security-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Security Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ogxo-io-security-check/badge)](https://www.skillsdirectory.com/skills/ogxo-io-security-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: security-check
description: "Review branch changes for concrete security defects and scan relevant dependencies, with claim verification."
---

# Security Check

## Resolve the review scope

Run `git status --short` and `git branch --show-current` at runtime. Parse the scope from the user's request, not a command argument macro:

- `staged`: read `git diff --cached` and its `--name-only` list.
- `uncommitted`: read `git diff` and its `--name-only` list; list untracked files with `git ls-files --others --exclude-standard` and read them fully.
- No explicit scope: review this branch against the verified remote default branch, as the Claude Code command does: read `git diff --merge-base <default>` (committed branch changes plus tracked local changes) and its `--name-only` list, and list untracked files with `git ls-files --others --exclude-standard` and read them fully.
- PR number/URL: read `gh pr view <PR> --json number,title,url,headRefName,baseRefName,headRefOid` and `gh pr diff <PR>`. Read files at the PR head revision rather than assuming the current checkout matches it.
- Branch/base: verify both refs and read `git diff <base>...<branch>` and its file list. Resolve the default base from `git symbolic-ref --quiet --short refs/remotes/origin/HEAD` if no base is supplied; ask if no verified default is available.

Inspect actual diff content and file lists. If the scope has neither changes nor selected new files, stop and report an empty scope with its exact base/branch/path; do not return a clean review verdict. Do not stage changes to combine scopes. Keep command errors distinct from empty output.

## Workers and procedures

Read the native specialist skill or its corresponding `../../agents/<name>.md` relative to this skill directory. Agent markdown supplies a workflow, not host configuration: ignore Claude model/tool metadata and resolve plugin-root references against `../..`. Use available worker tools with plain prompts that include repository, exact scope, diff commands, read-only instruction, and output fields. Respect concurrency limits and queue work as needed. If worker tools are unavailable, perform separate sequential passes and disclose the lack of independent verification. Optional external reviewers run only when their actual CLI/tool is available; do not invent a Codex MCP or Claude Agent API.

1. Read `../../agents/security-auditor.md` and its referenced security playbook. Identify the repository's threat model and existing controls, then trace modified data flows from untrusted inputs to sensitive operations. Keep this a defensive source review; report concrete security impact supported by code rather than broad hardening suggestions.
2. Read `../../agents/finding-verifier.md`. Independently verify each candidate with its callers, validation, authorization, framework defaults, and tests. Use worker tools when available; otherwise perform a separate skeptical pass and disclose that limitation. Retain only high-confidence findings (8+/10); state residual uncertainty.
3. Detect the package manager and run the applicable installed scanner (`npm audit --json`, `cargo audit`, `pip-audit`, or `govulncheck ./...`) when the host permits it. Keep stderr and report absent tools, network failures, and unsuccessful scans. Separate pre-existing dependency findings from vulnerabilities introduced by this change.
4. Return scope/base/revision, findings with file:line, severity, confidence, data-flow evidence, remediation, dependency results, and scan limitations. Leave files unchanged and do not publish findings.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.