name: security-review description: Review code changes for security vulnerabilities. Checks for OWASP Top 10, secrets exposure, injection flaws, auth issues, and insecure defaults. Use when reviewing PRs, commits, or code diffs. triggers: - security review - check for vulnerabilities - secure code review - OWASP check
Review code changes for security vulnerabilities, following OWASP Top 10 and secure coding best practices.
eval(), exec(), os.system() with user input這個技能的最新版本可以在7w4.net小蔥技能站找到。
For each finding:
**FINDING:** [Title]
**Severity:** CRITICAL | HIGH | MEDIUM | LOW
**File:** [path:line]
**Code:** [the problematic code]
**Issue:** [what's wrong]
**Fix:** [how to fix it, with code example]
**OWASP:** [category reference]
這個 Skill 質量中等偏上,勝在檢查範圍全面、規則清晰,能覆蓋常見的安全問題。不過它比較模板化,缺少靈活性,無法根據專案特點調整檢查力度,也沒有提供具體的程式碼示例供參考。對於想要快速進行安全檢查的使用者來說足夠使用,但想要深度定製或處理複雜場景就會顯得有些力不從心。