Skip to content
Back to skills

Semgrep

ASecurity

Run Semgrep security and code quality analysis

  • 19 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added October 26, 2026
ai-agentstypescriptpythongobashsecurity

Security analysis

A100/100

Scanned October 26, 2026

npx -y skills add jmylchreest/aide --skill semgrep --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Semgrep?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Semgrep
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jmylchreest-semgrep/badge)](https://www.skillsdirectory.com/skills/jmylchreest-semgrep)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: semgrep
description: Run Semgrep security and code quality analysis
triggers:
  - semgrep
  - security scan
  - sast scan
  - vulnerability scan
  - code security
  - security audit
requires_binary:
  - semgrep
---

# Semgrep Security Analysis

Run Semgrep to detect security vulnerabilities and code quality issues in the codebase.

## Workflow

### 1. Run Semgrep scan

```bash
# Auto-detect rules for the project's languages
semgrep scan --config auto --json --quiet 2>/dev/null | head -c 50000
```

If JSON output is too large, use text output:

```bash
semgrep scan --config auto --quiet 2>/dev/null
```

### 2. For specific rule sets

```bash
# Security-focused rules only
semgrep scan --config "p/security-audit" --json --quiet

# OWASP Top 10
semgrep scan --config "p/owasp-top-ten" --json --quiet

# Language-specific
semgrep scan --config "p/golang" --json --quiet
semgrep scan --config "p/python" --json --quiet
semgrep scan --config "p/typescript" --json --quiet
```

### 3. Triage results

For each finding:

1. Read the file and surrounding context
2. Assess whether the finding is a true positive or false positive
3. For true positives, fix the issue following the suggestion in the finding
4. For false positives, consider adding a `# nosemgrep` inline comment with justification

### 4. Scan specific files

```bash
# Scan only changed files
semgrep scan --config auto --json --quiet -- path/to/file.py
```

## Common Issues

- **Too many findings**: Use `--severity ERROR` to focus on critical issues first
- **Slow scan**: Use `--config auto` instead of multiple rule packs to avoid re-scanning
- **Missing rules**: Install additional rules with `semgrep registry`
- **False positives**: Add `# nosemgrep: rule-id` with a comment explaining why

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.