Check common security risks in application code (SQLi, XSS, secrets).
Scanned 9/2/2026
Install to Claude Code
npx -y skills add s977043/river-review --skill security-basic --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Security Basic?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/s977043-security-basic)More formats (shields.io, HTML) on the badges page.
---
id: 'security-basic'
name: Baseline Security Checks
description: Check common security risks in application code (SQLi, XSS, secrets).
version: 0.1.0
category: midstream
phase: midstream
applyTo:
- '**/{api,routes,db,ui,components,auth,security,config}/**/*.{ts,tsx,js,jsx}'
tags:
- security
- midstream
- web
severity: major
inputContext:
- diff
outputKind:
- findings
- actions
modelHint: balanced
dependencies:
- code_search
---
## Pattern declaration
Primary pattern: Reviewer
Secondary patterns: Inversion
Why: セキュリティチェックはチェックリスト型評価が主だが、セキュリティ無関係の変更では実行を止めるゲートが必要
## Guidance
- Look for string-concatenated queries or unsafe ORM calls; require parameterization.
- Flag unescaped HTML sinks (`dangerouslySetInnerHTML`/`innerHTML`) and missing sanitization.
- Catch secrets or tokens hardcoded in code; prefer environment/config inputs.
- Ensure input validation and authz/CSRF/error handling paths exist without leaking sensitive detail.
## Non-goals
- テスト用ダミー値や意図された緩和を推測で脆弱と決めつけない。
## Pre-execution Gate / 実行前ゲート
このスキルは以下の条件がすべて満たされない限り`NO_REVIEW`を返す。
- [ ] 差分にアプリケーションコード(api/, routes/, db/, auth/等)の変更が含まれている
- [ ] 差分がテストファイルやフィクスチャのみでない
- [ ] 外部入力の処理、認証/認可、データ永続化のいずれかに関連するコードが含まれている
ゲート不成立時の出力: `NO_REVIEW: security-basic — セキュリティ関連のアプリケーションコード変更が検出されない`
## False-positive guards
- 環境変数経由や既存バリデーションが確認できる場合は黙る。
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!