setup-semgrep-plugin
bởi semgrep
Thiết lập plugin Semgrep bằng cách cài đặt Semgrep, xác thực và xác minh tính tương thích
npx skills add https://github.com/semgrep/cursor-plugin --skill setup-semgrep-pluginSetup Semgrep Plugin
Follow these steps to set up the Semgrep plugin:
1. Install Semgrep
Check if Semgrep is installed, and install it if not:
which semgrep || brew install semgrep
2. Authenticate with Semgrep
Log in to Semgrep (this will open a browser window):
semgrep login --force
3. Install Semgrep Pro Engine
Install the Pro engine for enhanced scanning capabilities:
semgrep install-semgrep-pro || true
4. Verify Installation
Confirm everything is working:
semgrep --pro --version
5. Check Version Compatibility
Verify your Semgrep version is >= 1.146.0:
semgrep --version
If your version is older than 1.146.0, please update:
brew upgrade semgrep
Thêm skills từ semgrep
code-security
semgrep
Hướng dẫn bảo mật để viết mã an toàn. Sử dụng khi viết mã, xem xét mã để tìm lỗ hổng, hoặc hỏi về các thực hành viết mã an toàn như 'kiểm tra…
official
llm-security
semgrep
Hướng dẫn bảo mật cho các ứng dụng LLM dựa trên OWASP Top 10 cho LLM 2025. Sử dụng khi xây dựng ứng dụng LLM, đánh giá bảo mật AI, triển khai hệ thống RAG, hoặc…
official
semgrep
semgrep
Chạy quét phân tích tĩnh Semgrep và tạo quy tắc phát hiện tùy chỉnh. Sử dụng khi được yêu cầu quét mã bằng Semgrep, tìm lỗ hổng bảo mật, viết YAML tùy chỉnh…
official