Security Semgrep Setup banner
ch0ks ch0ks

Security Semgrep Setup

Security community

Description

<!-- author: Adrian Puente Z. (@ch0ks) — www.hackarandas.com --> Check if Semgrep is installed and working. If not, install it using the best available method. Then log in to Semgrep Pro, enable the Pro engine, and run a local Pro scan in the current directory. --- ## Step 1 — Check if Semgrep is Already Installed ```bash semgrep --version 2>/dev/null ``` If this succeeds, print the version and skip to Step 3 (login check). If this fails, proceed to Step 2. --- ## Step 2 — Install Semgrep

Installation

Installs to ~/.claude/skills/ch0ks-hackarandas-claude-toolbelt-security-semgrep-setup/SKILL.md

Terminal
mkdir -p ~/.claude/skills/ch0ks-hackarandas-claude-toolbelt-security-semgrep-setup && curl -fsSL https://raw.githubusercontent.com/ch0ks/hackarandas-claude-toolbelt/HEAD/commands/security-semgrep-setup.md -o ~/.claude/skills/ch0ks-hackarandas-claude-toolbelt-security-semgrep-setup/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository