semgrep
SolidRun Semgrep security and code quality analysis
AI & Automation 15 stars
3 forks Updated today MIT
Install
Quality Score: 79/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 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 `# n...
Details
- Author
- jmylchreest
- Repository
- jmylchreest/aide
- Created
- 5 months ago
- Last Updated
- today
- Language
- Go
- License
- MIT
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
security-scan
Static application security testing using gosec and semgrep. Scans Go source code for common vulnerability patterns and ranks findings by severity using the impact x exploitability x blast_radius formula.
0 Updated today
0merUfuk AI & Automation Solid
semgrep-triage
Run semgrep via the mantis_semgrep MCP server and triage results into the candidate/confirmed/rejected lifecycle
468 Updated 1 weeks ago
deonmenezes Testing & QA Solid
sast-analysis
Static Application Security Testing (SAST) for multi-language codebases. Uses Semgrep and language-specific tools to detect vulnerabilities across Python, JavaScript, TypeScript, Go, Java, and more.
3 Updated 5 days ago
AppVerk