·code-security
!

code-security

semgrep/skills

編寫安全代碼的安全指南。在編寫代碼、檢查代碼是否存在漏洞或詢問安全編碼實踐(例如“檢查 SQL 注入”或“檢查安全性”)時使用。

141安裝·1熱度·@semgrep

安裝

$npx skills add https://github.com/semgrep/skills --skill code-security

SKILL.md

Comprehensive security rules for writing secure code across multiple languages and frameworks. Covers OWASP Top 10 vulnerabilities, infrastructure security, and coding best practices.

| SQL Injection | Parameterized queries | | XSS | Output encoding | | Command Injection | Avoid shell, use APIs | | Path Traversal | Validate paths | | SSRF | URL allowlists | | Secrets | Environment variables | | Crypto | SHA-256, AES-256 |

編寫安全代碼的安全指南。在編寫代碼、檢查代碼是否存在漏洞或詢問安全編碼實踐(例如“檢查 SQL 注入”或“檢查安全性”)時使用。 來源:semgrep/skills。

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/semgrep/skills --skill code-security 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/semgrep/skills --skill code-security
分類
!安全工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 code-security?

編寫安全代碼的安全指南。在編寫代碼、檢查代碼是否存在漏洞或詢問安全編碼實踐(例如“檢查 SQL 注入”或“檢查安全性”)時使用。 來源:semgrep/skills。

如何安裝 code-security?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/semgrep/skills --skill code-security 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/semgrep/skills

詳情

分類
!安全工具
來源
skills.sh
收錄時間
2026-02-01