sast-semgrep

sast-semgrep is a skill for Claude Code, Codex from rohunj/claude-build-workflow. It costs 116 tokens per session (2,284 once invoked), scanned A, original, no licence file.

A code scanner that looks for security problems using Semgrep, a tool that finds risky code patterns. It can relate findings to OWASP and CWE security categories.

In plain words
What is it for?
Use it to scan code in multiple languages, review code for security issues, and get secure-coding guidance.
Why use it?
It helps identify vulnerabilities during code review before they reach users or production.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to scan code in multiple languages, review code for security issues, and get secure-coding guidance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rohunj/claude-build-workflow/sast-semgrep
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rohunj/claude-build-workflow --skill sast-semgrep
Clone the repo
git clone --depth 1 https://github.com/rohunj/claude-build-workflow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sast-semgrep

README.md
[![agentmods](https://agentmods.dev/badge/skills/rohunj/claude-build-workflow/sast-semgrep/github.svg)](https://agentmods.dev/skills/rohunj/claude-build-workflow/sast-semgrep)
Your own site
<a href="https://agentmods.dev/skills/rohunj/claude-build-workflow/sast-semgrep"><img src="https://agentmods.dev/badge/skills/rohunj/claude-build-workflow/sast-semgrep/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sast-semgrep

Your own site · 80×15
<a href="https://agentmods.dev/skills/rohunj/claude-build-workflow/sast-semgrep"><img src="https://agentmods.dev/badge/skills/rohunj/claude-build-workflow/sast-semgrep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,284 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00116 $0.02284
Opus 5 $0.00058 $0.01142
Sonnet 5 $0.00023 $0.00457
Haiku 4.5 $0.00012 $0.00228

Measured 11d ago against content hash 40cdb04d3858, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

sast-semgrep scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/security/sast-semgrep/SKILL.md · 285 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 285 lines · 116 tokens per session scan A 40cdb04d3858

Subscribe to this mod's changes

sast-semgrep is a skill published in the GitHub repository rohunj/claude-build-workflow (231 stars, last pushed 7mo ago), with no licence file. It adds 116 tokens to every session and 2,284 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

sast-semgrep

Static application security testing (SAST) using Semgrep for vulnerability detection, security code review, and secure coding guidance with OWASP and CWE framework mapping. Use when: (1) Scanning code for security vulnerabilities across multiple languages, (2) Performing security code reviews with pattern-based…

AgentSecOps/SecOpsAgentKit · 116 tokens

sast-bandit

Python security vulnerability detection using Bandit SAST with CWE and OWASP mapping. Use when: (1) Scanning Python code for security vulnerabilities and anti-patterns, (2) Identifying hardcoded secrets, SQL injection, command injection, and insecure APIs, (3) Generating security reports with severity classifications…

AgentSecOps/SecOpsAgentKit · 97 tokens

Mixed-Language Monorepos

This skill should be used when the user is auditing a "polyglot monorepo", "multi-language codebase", "microservices with different languages", "Go + Python + TypeScript", or any codebase with services written in different programming languages. Provides strategies for cross-service security analysis and unified…

allsmog/vuln-scout · 71 tokens

review-pr

Diff-aware PR security review with verified findings and PR comment payload.

allsmog/vuln-scout · 16 tokens

implementing-semgrep-for-custom-sast-rules

Write custom Semgrep SAST rules in YAML to detect application-specific vulnerabilities, enforce coding standards, and integrate into CI/CD pipelines.

xalgorix/xalgorix · 37 tokens

secure-code-review

Performs a structured security code review against OWASP ASVS 4.0.3 verification requirements and CWE Top 25. Auto-invoked on pull request reviews, when code touching authentication, authorization, cryptography, or input handling is shared. Produces findings mapped to ASVS controls and CWE identifiers with severity…

UnitOneAI/SecuritySkills · 74 tokens