security-check
Skill1 starsChanged 17 days agoMITView on GitHub
Lightweight OWASP Top 10 + STRIDE security pass on the current change. Use when the user asks for a security review, security check, threat model, or vulnerability scan of the current diff.
30 other projects use a version of this.
Adopted by
Most recently taken up by
- cecewu3/agent-trading-skillstheir own version, first seen Nov 8, 2026
- simonasrazm/skillstheir own version, first seen Nov 8, 2026
- MagicJosh/rastheir own version, first seen Nov 2, 2026
- pablopetr/claude-skillstheir own version, first seen Oct 25, 2026
- aws-samples/sample-agentic-coding-harness-benchmarkstheir own version, first seen Oct 20, 2026
- nortonx/ai-tooling-freetheir own version, first seen Oct 13, 2026
Used with
Projects with it also use learn and code-review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
genomewalkerSkilllearn
Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 5 projects that use this
Other versions30 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 30
- alibaba/loongcollector★ 2.2ksame name
- gocronx-team/gocron★ 808same name
- TermiX-official/cryptoclaw★ 100same name
- igmarin/rails-agent-skills★ 26same name
- aws-samples/sample-agentic-coding-harness-benchmarks★ 20same name
- Benkapner/claude-code-basecamp★ 17same name
- YehudaFrankel/clankbrain★ 16same name
- DailybotHQ/deepworkplan-website★ 15same name
- Nirusan/claude-config★ 7same name
- brunobracaioli/business_dossie★ 4same name
20 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- analyzeSkill
- ask-claudeSkill
- breakdownSkill
- decision-logSkill
- discoverSkill
- from-prdSkill
- handoffSkill
- init-memorySkill
- retroSkill
- reviewSkill
- risk-reviewSkill
- runbookSkill
- shipSkill
- startSkill
- sync-upstreamSkill
- update-memorySkill
- weekly-updateSkill
- analyzeSkill
- ask-codexSkill
- breakdownSkill
- decision-logSkill
- discoverSkill
- from-prdSkill
- handoffSkill
- init-memorySkill
- retroSkill
- reviewSkill
- risk-reviewSkill
- runbookSkill
- security-checkSkill
- shipSkill
- startSkill
- sync-upstreamSkill
- update-memorySkill
- weekly-updateSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 22 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Run git diff main...HEAD (or git diff for uncommitted) to see what changed.
- Distinctive: line 14
Read modified files in full where context matters.
- Distinctive: line 15
Check against OWASP Top 10 + STRIDE.
- Distinctive: line 52
Do your own full pass and draft your own findings before reading the other model's output.
- Distinctive: line 54
After your draft is done, wait up to ~90 seconds for the other model.
- Distinctive: line 113
Don't cry wolf. A theoretical attack with no realistic path doesn't belong in HIGH RISK.
- Distinctive: line 115
If you didn't check something (e.g., infra not in scope), say so — don't claim coverage you don't have.
“Common” is measured: kept by at least 6 in 10 of the 22 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security Check
Review the current change for security issues. You are a thorough but pragmatic reviewer — focus on real risks, not theoretical edge cases. Do not edit files.
Workflow
- Run
git diff main...HEAD(orgit difffor uncommitted) to see what changed. - Launch the cross-agent pass in the background if it qualifies (see below) — before forming any findings of your own.
- Read modified files in full where context matters.
- Check against OWASP Top 10 + STRIDE.
Cross-agent pass (opportunistic)
Security is exactly the category where a second model pays for itself — and the diff is often authored by the model now checking it.
Which CLI am I running in? Use only the matching branch below; never call your own CLI.
In Claude Code: your model is Claude and the other model is Codex. It is available if
codex --versionsucceeds. Launch it with:codex exec --cd "$PWD" --sandbox read-only - < "$PROMPT_FILE" > "$OUT_FILE" 2>&1 &In Codex: your model is Codex and the other model is Claude. It is available if
claude --versionsucceeds. Launch it with:claude -p --permission-mode plan < "$PROMPT_FILE" > "$OUT_FILE" 2>&1 &
Then, in either CLI, if the other model is available and the diff is non-trivial (≥ 20 changed lines):
Right after computing the diff (step 1), write a prompt file containing:
- the diff range
- the full OWASP + STRIDE checklist below
- the findings format — without the provenance tags or the dual/single-model label line; you add those at merge
- a read-only instruction: do not edit files or run write operations
Not your own findings — the other model must check blind, or it will anchor on your framing. Launch it in the background with your branch's command, capturing output to a file (
docs/cross-agent-review.mdhas the canonical background form; prefer your harness's background facility over bare&if it has one).- Do your own full pass and draft your own findings before reading the other model's output.
- After your draft is done, wait up to ~90 seconds for the other model; if it hasn't returned, proceed single-model and say so.
- Merge with provenance: tag every finding
[both],[claude], or[codex]. Verify findings only the other model raised ([codex]in Claude Code,[claude]in Codex) against the actual code before including them. Findings tagged[both]carry the most confidence, but confidence is not priority: a single verified vulnerability outranks two matching low-severity notes. Add oneDISAGREEMENTS:line per explicit contradiction; silence from a model is not disagreement.
This pass never blocks the check: if the other model is missing or slow, complete single-model and say so in the SECURITY SUMMARY.
OWASP Top 10 pass
For each, note: present / not applicable / concern.
- Broken access control — anyone able to access something they shouldn't?
- Cryptographic failures — anything sensitive transmitted or stored in the clear; weak algorithms; hardcoded keys?
- Injection — SQL, command, LDAP, OS, prompt injection?
- Insecure design — missing rate limits, no auth where needed, trust boundaries violated?
- Security misconfiguration — overly permissive CORS, verbose error messages, default creds?
- Vulnerable & outdated components — new deps; any with known CVEs?
- Identification & authentication failures — weak session handling, missing MFA, token leakage?
- Software & data integrity failures — unsigned updates, deserialization issues, dependency tampering risk?
- Security logging & monitoring failures — enough audit trail for what was added?
- Server-side request forgery — user-controlled URLs being fetched server-side?
STRIDE pass
- Spoofing — can someone impersonate a user or service?
- Tampering — can data in transit or at rest be modified undetected?
- Repudiation — can a user deny doing something we'd need to prove?
- Information disclosure — anything leaked through errors, logs, response bodies?
- Denial of service — unbounded loops, unrate-limited endpoints, easy resource exhaustion?
- Elevation of privilege — can a low-privilege actor get higher access?
Output
SECURITY SUMMARY: [one line — overall risk read]
[dual-model check (<your model> + <other model>) | single-model check (reason)]
HIGH RISK (block merge):
- [both|claude|codex] [file:line] [issue] → [fix]
MEDIUM RISK (fix before prod):
- [both|claude|codex] [file:line] [issue] → [fix]
LOW / NIT (track for later):
- [both|claude|codex] [file:line] [issue] → [fix]
CHECKED & CLEAN: [list of OWASP/STRIDE categories that were checked and are clean — to show coverage]Omit the provenance tags when the check was single-model.
Rules
- Don't cry wolf. A theoretical attack with no realistic path doesn't belong in HIGH RISK.
- For each finding, the fix matters as much as the identification. "This is broken" without a remediation is half a finding.
- If you didn't check something (e.g., infra not in scope), say so — don't claim coverage you don't have.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

