semgrepsemgrepOfficialยท3 Agent Skills Included

skills

Secure coding rules, LLM security checks, and Semgrep scanning

Reviews code for security vulnerabilities across 15+ languages using 28 rule categories covering OWASP Top 10, infrastructure, and cryptography. Secures LLM applications against prompt injection, data poisoning, and sensitive data leaks based on the OWASP LLM Top 10. Runs Semgrep static analysis scans and builds custom detection rules without manual rule-writing guesswork.
npx skills add semgrep/skills --all -g -y
Available:

Explains to AI coding agents how the skills in this repository are structured, when each skill should be activated, and how rule files are organized for on-demand loading.

All Skills in This Repository (3)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install semgrep/skills?โ–ผ

Run `npx skills add semgrep/skills --all -g -y` in your terminal to install all three security skills globally.

How to check code for security vulnerabilities?โ–ผ

The code-security skill automatically reviews code for SQL injection, XSS, hardcoded secrets, and 25+ other vulnerability categories across 15+ languages.

How to secure an LLM application?โ–ผ

The llm-security skill applies the OWASP LLM Top 10 to your chatbots, RAG systems, and AI agents, flagging risks like prompt injection and data leakage with secure code examples.

Can I create custom Semgrep rules with this?โ–ผ

Yes. The semgrep skill guides your agent through writing, testing, and validating custom YAML detection rules, including taint-mode rules for data flow analysis.

Do these skills work with Claude Code and Cursor?โ–ผ

Yes. All skills follow the universal SKILL.md standard and activate automatically in Claude Code, Cursor, and other compatible coding agents when relevant tasks are detected.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’