Semgrep Security Scan
trailofbits/skills
Detects languages, proposes rulesets for approval, then runs the approved Semgrep scan across a codebase and merges the output into one SARIF file.
Perform codebase analysis and architecture mapping as the first phase of a security assessment.
$ npx skills add utkusen/sast-skills --skill sast-analysis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install utkusen/sast-skills sast-analysis --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/utkusen/sast-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/sast-files/.agents/skills/sast-analysis .claude/skills/sast-analysis && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "sast-analysis" agent skill from https://github.com/utkusen/sast-skills/tree/main/sast-files/.agents/skills/sast-analysis into .claude/skills/sast-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sast-analysis", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/utkusen/sast-skills/tree/main/sast-files/.agents/skills/sast-analysisType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add utkusen/sast-skills --skill sast-analysis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install utkusen/sast-skills sast-analysis --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/utkusen/sast-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/sast-files/.agents/skills/sast-analysis .agents/skills/sast-analysis && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sast-analysis" agent skill from https://github.com/utkusen/sast-skills/tree/main/sast-files/.agents/skills/sast-analysis into .agents/skills/sast-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sast-analysis", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add utkusen/sast-skills --skill sast-analysis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install utkusen/sast-skills sast-analysis --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/utkusen/sast-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/sast-files/.agents/skills/sast-analysis .cursor/skills/sast-analysis && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "sast-analysis" agent skill from https://github.com/utkusen/sast-skills/tree/main/sast-files/.agents/skills/sast-analysis into .cursor/skills/sast-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sast-analysis", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/utkusen/sast-skills.git --path sast-files/.agents/skills/sast-analysis--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add utkusen/sast-skills --skill sast-analysis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install utkusen/sast-skills sast-analysis --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/utkusen/sast-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/sast-files/.agents/skills/sast-analysis .gemini/skills/sast-analysis && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "sast-analysis" agent skill from https://github.com/utkusen/sast-skills/tree/main/sast-files/.agents/skills/sast-analysis into .gemini/skills/sast-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sast-analysis", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install utkusen/sast-skills sast-analysisInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add utkusen/sast-skills --skill sast-analysis -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/utkusen/sast-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/sast-files/.agents/skills/sast-analysis .github/skills/sast-analysis && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "sast-analysis" agent skill from https://github.com/utkusen/sast-skills/tree/main/sast-files/.agents/skills/sast-analysis into .github/skills/sast-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sast-analysis", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add utkusen/sast-skills --skill sast-analysis -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install utkusen/sast-skills sast-analysis --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/utkusen/sast-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/sast-files/.agents/skills/sast-analysis .opencode/skills/sast-analysis && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "sast-analysis" agent skill from https://github.com/utkusen/sast-skills/tree/main/sast-files/.agents/skills/sast-analysis into .opencode/skills/sast-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sast-analysis", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
sast-analysisPerform codebase analysis and architecture mapping as the first phase of a security assessment.
Sast Analysis is an agent skill from utkusen/sast-skills. Perform codebase analysis and architecture mapping as the first phase of a security assessment. Explores the tech stack, frameworks, entry points, data flows, and trust boundaries. Outputs sast/architecture.md. Run this before any vulnerability detection skill. Use when asked to analyze a codebase for security or when sast/architecture.md does not yet exist.
Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Security, covering Static analysis and SAST, Codebase onboarding and Security review. The repository describes itself as: Collection of agent skills to find vulnerabilities inside your web/mobile apps. The licence is MIT.
2 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit db52227. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Sast Analysis loads about 1k tokens when it runs. Until then it costs about 94 tokens; SKILL.md has 364 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from utkusen/sast-skills at commit db52227, republished under its MIT licence (© utkusen). 364 words, ~1,013 tokens.
.claude/skills/sast-analysis/SKILL.md (or your agent's skills folder).You are performing the first phase of a security assessment. Your goal is to deeply understand the codebase. You are NOT looking for specific vulnerabilities yet. This is pure reconnaissance.
Create a sast/ folder in the project root (if it doesn't already exist). This phase produces one output file inside it:
sast/architecture.md — technology stack, architecture, entry points, data flows
Explore the codebase and identify:
Start by reading dependency manifests, project configs, and directory structure. Then drill into source code to confirm findings.
Based on Phase 1, build a mental model of:
Write the results of Phase 1 and Phase 2 to sast/architecture.md. Use this format:
# Architecture: [Project Name]
## Technology Stack
| Category | Details |
|---|---|
| Languages | ... |
| Frameworks | ... |
| Databases | ... |
| Auth mechanism | ... |
| Infrastructure | ... |
| External services | ... |
## Architecture Overview
[Describe the architecture: monolith vs microservices, how components interact,
main modules and their responsibilities]
## Data Flow
[Trace how user input enters the system, gets processed, stored, and returned.
Cover the primary flows (e.g., registration, login, core business actions).]
## Entry Points
| Entry Point | Type | Auth Required | Description |
|---|---|---|---|
| ... | HTTP/GraphQL/WS/etc. | Yes/No | ... |
## Trust Boundaries
[List each trust boundary and what crosses it]
## Sensitive Data Inventory
| Data Type | Where Stored | How Accessed | Protection |
|---|---|---|---|
| ... | ... | ... | ... |© utkusen, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in sast-files/.agents/skills/sast-analysis of utkusen/sast-skills.
Open the folder on GitHubat commit db52227
Sast Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Sast Analysis this skillutkusen/sast-skills | 1.3k | — | ~1k | Automated safety check: Pass | MIT | |
| Semgrep Security Scantrailofbits/skills | 7.4k | — | ~3.7k | Automated safety check: Notes | CC-BY-SA-4.0 | |
| CodeCrucible Security Scansblock/codecrucible | 117 | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Auditvigolium/piolium | 140 | — | ~8.7k | Automated safety check: Pass | MIT | |
| Codeqlwaybarrios/opencode-power-pack | 533 | 2 repos | ~3.7k | Automated safety check: Pass | MIT | |
| Agentic GitHub Actions Auditortrailofbits/skills | 7.4k | 6 repos | ~5.4k | Automated safety check: Notes | CC-BY-SA-4.0 |
trailofbits/skills
Detects languages, proposes rulesets for approval, then runs the approved Semgrep scan across a codebase and merges the output into one SARIF file.
block/codecrucible
Runs the codecrucible CLI for LLM-backed security scans of a repository, checks scope and cost first with a dry run, and reads the SARIF results.
vigolium/piolium
A skill your agent uses when running a full security audit of an arbitrary source code repository, especially large, complex, multi-component, distributed, or non-standard architectures.
waybarrios/opencode-power-pack
Run CodeQL database creation and security queries, add data-extension models, or process CodeQL SARIF.
trailofbits/skills
Statically audits GitHub Actions workflows that run AI coding agents, tracing attacker-controlled input to agent prompts and flagging unsafe sandbox, trigger and allowlist settings.
PlamenTSV/plamen
Prepare Solidity projects for a security audit — test coverage, test quality, NatSpec docs, code hygiene, dependency health, best-practice enforcement, deployment readiness, and project…
utkusen/sast-skills
Detect GraphQL injection vulnerabilities in a codebase using a three-phase approach: recon (confirm GraphQL usage and find unsafe operation document assembly sites), batched verify (trace user input…
utkusen/sast-skills
Detect Insecure Direct Object Reference (IDOR) vulnerabilities in a codebase using a three-phase approach: recon (find candidates), batched verify (check authorization in parallel subagents, 3…
utkusen/sast-skills
Consolidate all SAST vulnerability results from the sast/ folder into a single final report ranked by severity and confidentiality impact.
utkusen/sast-skills
Detect business logic vulnerabilities in a codebase using a three-phase approach: threat modeling (domain analysis and attack scenarios), batched verify (check exploitable gaps in parallel…
utkusen/sast-skills
Detect insecure file upload vulnerabilities in a codebase using a three-phase approach: discovery (find all upload sites), batched verify (check extension bypass and related issues in parallel…
utkusen/sast-skills
Detect hardcoded sensitive data (API keys, access tokens, private keys, passwords, etc.) in publicly accessible code — frontend JavaScript, mobile apps, client-side bundles, and HTML templates.
Categories
Perform codebase analysis and architecture mapping as the first phase of a security assessment. Sast Analysis is an agent skill from utkusen/sast-skills. Perform codebase analysis and architecture mapping as the first phase of a security assessment.
Sast Analysis fits situations like: asked to analyze a codebase for security; sast/architecture.md does not yet exist.
Run `npx skills add utkusen/sast-skills --skill sast-analysis -a claude-code`. Or copy the skill folder (sast-files/.agents/skills/sast-analysis in utkusen/sast-skills) into .claude/skills/sast-analysis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add utkusen/sast-skills --skill sast-analysis -a codex`. Or copy the skill folder (sast-files/.agents/skills/sast-analysis in utkusen/sast-skills) into .agents/skills/sast-analysis in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add utkusen/sast-skills --skill sast-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sast-analysis, .gemini/skills/sast-analysis, .github/skills/sast-analysis and .opencode/skills/sast-analysis in your project.
SKILL.md names no scripts, command-line tools or credentials: Sast Analysis is instructions for the agent only. Our summary lists: Docker.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Sast Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Sast Analysis: Semgrep Security Scan (trailofbits/skills, 7.4k stars), CodeCrucible Security Scans (block/codecrucible, 117 stars), Audit (vigolium/piolium, 140 stars) and Codeql (waybarrios/opencode-power-pack, 533 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
utkusen (a GitHub user) maintains it in utkusen/sast-skills, which has 1,329 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on April 8, 2026.
Source: utkusen/sast-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.