Semgrep icon

Semgrep

Createdsemgrep

Scans code snippets and directories for security vulnerabilities using Semgrep within an LLM environment.

About

Semgrep offers a Model Context Protocol (MCP) server, enabling the integration of Semgrep's static analysis capabilities within Large Language Models (LLMs) and AI Agents. Through this server, users can scan code for vulnerabilities, create custom Semgrep rules, analyze scan results, and integrate with tools like Cursor for real-time feedback. It allows developers to leverage Semgrep's security scanning directly from their LLM-powered workflows.

Key Features

  • Scan code snippets and directories for vulnerabilities.
  • Filter results by severity, rule ID, or file path.
  • Analyze scan results, including severity counts and affected files.
  • 12 GitHub stars
  • Create custom Semgrep rules for tailored security checks.
  • Export scan results in JSON, SARIF, and text formats.

Use Cases

  • Automating vulnerability analysis within AI-powered coding assistants.
  • Integrating security scanning into LLM-driven code generation workflows.
  • Customizing security rules to fit specific project requirements.