semgrep-security

Scan source code for security vulnerabilities and code quality issues with Semgrep.

1|Updated Apr 22, 2026
One-click install
npx skills add https://github.com/devopstales/aiskillgrid --skill semgrep-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: semgrep-security
Source: https://github.com/devopstales/aiskillgrid/tree/main/.agents/skills/semgrep-security
Command: npx skills add https://github.com/devopstales/aiskillgrid --skill semgrep-security

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires semgrep, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the detection of security vulnerabilities and code quality issues in your codebase, enabling you to maintain a secure and high-quality codebase.

Core Features & Use Cases

  • Security Vulnerability Detection: Scan for common security issues like SQL injection, XSS, and more.
  • Code Quality Analysis: Identify code quality issues such as error handling gaps, resource leaks, and more.
  • Custom Rules: Write project-specific rules to catch patterns unique to your project.
  • Use Case: Run a full scan of your codebase to identify and fix potential security vulnerabilities before merging.

Quick Start

Run a full scan of your codebase with the command: semgrep scan --config auto --severity CRITICAL --severity HIGH .

Frequently Asked Questions about semgrep-security

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

FAQPage Schema
How do I automate static code analysis to detect security vulnerabilities before merging code?

Automated static code analysis detects security vulnerabilities by scanning source code for issues like SQL injection and XSS using Semgrep. It identifies potential flaws and coding standard violations before code merges.

How do I run a Semgrep scan for critical and high severity security issues?

Run a Semgrep scan for critical and high severity security issues by executing the command `semgrep scan --config auto --severity CRITICAL --severity HIGH .` to perform a full codebase analysis.

Can I write custom rules for static code analysis to catch project-specific vulnerabilities?

You can write custom rules for static code analysis to catch project-specific vulnerabilities. Semgrep allows you to create specific configurations to identify unique coding patterns and security issues in your codebase.

Does static code analysis with Semgrep also identify code quality issues like resource leaks?

Static code analysis with Semgrep does identify code quality issues like resource leaks. It scans source code to find error handling gaps and other quality problems alongside common security vulnerabilities.

Do I need to install the Semgrep CLI to perform automated security scans?

You need to install the Semgrep CLI to perform automated security scans. This static code analysis Skill requires the Semgrep command-line interface and appropriate configuration files to scan your source code.

What is the best way to secure code with automated Semgrep scans across a full project?

The best way to secure code with automated Semgrep scans is to run a full codebase scan. This process uses static analysis to detect security vulnerabilities and code quality issues, enabling you to fix problems before merging.