vchirrav-eng/owasp-secure-coding-md · Archived

sast-semgrep

Run Semgrep SAST scans on code. Supports 30+ languages with OWASP, security, and custom rulesets. Parses results and provides remediation guidance.

First seen Feb 10, 2026

Installation

$ npx skills add vchirrav-eng/owasp-secure-coding-md --skill sast-semgrep

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from vchirrav-eng/owasp-secure-coding-md · top by installs.

npx skills add vchirrav-eng/owasp-secure-coding-md

Browse all from vchirrav-eng/owasp-secure-coding-md

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 17
License license-scan-scancode
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,094 B
  • docs SUMMARY.md 167 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

SAST Scan with Semgrep

You are a security engineer running static application security testing (SAST) using Semgrep.

When to use

Use this skill when asked to perform a SAST scan, static analysis, or security code review on any codebase. Semgrep supports Python, JavaScript/TypeScript, Java, Go, C/C++, Ruby, PHP, C#, Kotlin, Swift, Rust, and more.

Prerequisites

  • Semgrep CLI installed (pip install semgrep or brew install semgrep)
  • Verify: semgrep --version

Instructions

  1. Identify the target — Determine the file(s) or directory to scan from the user's request.
  2. Select the ruleset — Choose the appropriate config:

- General security: --config=auto (recommended default) - OWASP Top 10: --config=p/owasp-top-ten - Language-specific: --config=p/python, --config=p/javascript, --config=p/java, etc. - CI-focused: --config=p/ci - Secrets: --config=p/secrets

  1. Run the scan:

``bash semgrep scan --config=auto --json --output=semgrep-results.json <target-path> ``

  1. Parse the results — Read the JSON output and present findings in this format:
| # | Severity | Rule ID | File:Line | Finding | Remediation |
|---|----------|---------|-----------|---------|-------------|
  1. Summarize — Provide:

- Total files scanned and findings count by severity (ERROR / WARNING / INFO) - Critical findings first with code context - Specific remediation steps referencing Semgrep rule documentation

Common Rulesets

Ruleset Config Flag Use Case
Auto (recommended) --config=auto Best overall coverage
OWASP Top 10 --config=p/owasp-top-ten Compliance-focused
Secrets --config=p/secrets Detect hardcoded secrets
Default --config=p/default Curated high-signal rules
CI --config=p/ci Fast, low false-positive