Included in all plans

Static Analysis with Semgrep

Find security vulnerabilities and code quality issues with semantic code analysis. 2,000+ rules across 30+ languages.

2,000+
Security rules
30+
Languages
OWASP
Top 10 covered

How Semgrep Protects Your Code

OWASP Top 10 Coverage

Detect SQL injection, XSS, command injection, insecure deserialization, and all OWASP Top 10 vulnerabilities.

30+ Languages

JavaScript, TypeScript, Python, Java, Go, Ruby, PHP, C#, Kotlin, Swift, Rust, and more.

2,000+ Security Rules

Comprehensive rule library covering common vulnerabilities, misconfigurations, and insecure patterns.

Custom Rules

Add your own Semgrep rules to enforce team-specific security policies and coding standards.

AI Validation

diffray AI layer filters false positives, adds context, and suggests specific fixes.

Inline PR Comments

Security findings appear directly on the affected code lines with remediation guidance.

Vulnerabilities We Detect

Injection

  • SQL Injection
  • Command Injection
  • LDAP Injection

XSS & Output

  • Reflected XSS
  • Stored XSS
  • DOM-based XSS

Authentication

  • Broken Auth
  • Session Fixation
  • Weak Passwords

Data Exposure

  • Sensitive Data Leak
  • Insecure Storage
  • PII Exposure

Access Control

  • IDOR
  • Privilege Escalation
  • Missing Auth

Misconfig

  • Insecure Defaults
  • Debug Mode
  • Weak Crypto

Supported Languages

JavaScript
TypeScript
Python
Java
Go
Ruby
PHP
C#
Kotlin
Swift
Rust
Scala
C
C++
Elixir
Bash
Terraform
YAML

And more languages supported...

Frequently Asked Questions

Complete Security Coverage

Semgrep is part of diffray's security toolkit. Combine it with TruffleHog for comprehensive protection.

Ship Secure Code

Semgrep is included in all diffray plans. Start scanning your PRs for free.