원클릭으로
check-security
Scan code for security vulnerabilities and unsafe patterns with remediation guidance.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scan code for security vulnerabilities and unsafe patterns with remediation guidance.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use this skill to generate well-branded interfaces and assets for AGENT-33, either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.
Review a code diff for correctness, logic errors, and style issues.
Propose targeted refactoring and readability improvements for reviewed code.
Diagnose and explain error messages with root cause analysis and actionable fix steps.
Assist with common git operations including branching, committing, and pull requests.
Lint source code using project-configured linters and auto-fix safe violations.
| name | check-security |
| version | 1.0.0 |
| description | Scan code for security vulnerabilities and unsafe patterns with remediation guidance. |
| allowed_tools | ["file_ops","shell"] |
| tags | ["security","code-review","vulnerability"] |
Perform a targeted security review of code changes or files. Identify exploitable vulnerabilities, unsafe library usage, and insecure configuration patterns.
eval, exec, os.system.../).file_ops to read files.[BLOCKING] (for critical/high impact) or [ADVISORY] (for medium/low impact)## Security Review: <scope>
### Findings
**[BLOCKING] — File.py:88 — SQL Injection (CWE-89)**
Risk: User input is concatenated directly into a SQL query string, allowing an
attacker to alter query logic or exfiltrate the database.
Fix: Use parameterized queries: `cursor.execute("SELECT * FROM t WHERE id = %s", (user_id,))`
**[ADVISORY] — config.py:12 — Hardcoded Default Secret**
Risk: The default SECRET_KEY value is a weak placeholder; if not overridden in
production it is trivially guessable.
Fix: Remove the default; raise ValueError if SECRET_KEY is not set via environment.
### Summary
[BLOCKING]: 1 [ADVISORY]: 1