code-security

Run Semgrep security scans to identify vulnerabilities and secrets leakage.

37|9|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/KimYx0207/SkillSemgrep --skill code-security-kimyx0207
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-security
Source: https://github.com/KimYx0207/SkillSemgrep/tree/main
Command: npx skills add https://github.com/KimYx0207/SkillSemgrep --skill code-security-kimyx0207

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate code security audits by running Semgrep scans inside Claude Code to identify vulnerabilities and secrets leakage, reducing manual review time.

Core Features & Use Cases

  • Full project scanning: run automatic security checks across the current project with common rule sets.
  • OWASP & secrets detection: detects OWASP Top 10 issues and leaked API keys/credentials.
  • Multi-language support: works with Python, JavaScript/TypeScript, Go, and other languages.
  • Structured reporting: produces clear risk classifications and remediation guidance.
  • Quick start scenarios: trigger via natural language like "安全扫描当前项目" or the /code-security command.

Quick Start

在 Claude Code 中说“安全扫描当前项目”即可立即开始全量安全扫描。

Frequently Asked Questions about code-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a Semgrep security scan to detect vulnerabilities in my codebase?

To run a Semgrep security scan, trigger the automation inside Claude Code by saying "安全扫描当前项目". It scans the current project to identify vulnerabilities and secrets leakage, producing structured reports with risk classifications and remediation guidance.

Does Semgrep code scanning support multiple programming languages like Python and JavaScript?

Yes, Semgrep code scanning supports multiple programming languages including Python, JavaScript/TypeScript, and Go. It applies rule configurations like p/python, p/javascript, and p/golang to detect language-specific vulnerabilities across projects of varying sizes.

Can I detect leaked API keys and secrets leakage using automated code scanning?

Yes, you can detect leaked API keys and credentials using the p/secrets rule configuration during automated code scanning. It identifies secrets leakage across your codebase and includes findings in structured security audit reports.

What do I need to run automated security audits for vulnerability detection inside Claude Code?

You need Semgrep installed in your environment to run automated security audits inside Claude Code. Once installed, trigger a natural language command like "安全扫描当前项目" to start full project scanning for OWASP Top 10 issues and secrets.

What is the best way to automate OWASP Top 10 vulnerability detection for a full project?

The best way to automate OWASP Top 10 vulnerability detection is using the p/security-audit rule configuration with Semgrep. It performs full project scanning to identify common security issues and outputs structured reports with clear risk classifications and remediation steps.

What are the limitations of using Semgrep for code security scanning?

Semgrep code scanning requires the tool to be pre-installed and relies on predefined rule configurations like auto, p/security-audit, or language-specific rules. It focuses on static analysis for vulnerability and secrets detection, meaning it cannot identify runtime security issues.