sast-config

sast-config is a skill for Claude Code from UnitOneAI/SecuritySkills. It costs 78 tokens per session (5,451 once invoked), scanned A, original, MIT.

A review and tuning guide for SAST, or Static Application Security Testing, which checks source code for security weaknesses without running the application. It covers tools such as Semgrep and CodeQL and maps findings to common security requirements.

In plain words
What is it for?
Creating custom scanning rules, adjusting severity levels, triaging false positives, reviewing CI security gates, establishing an initial SAST setup, and investigating vulnerabilities that scanning missed.
Why use it?
It helps reduce false alarms that developers stop trusting while avoiding overly broad filtering that hides real flaws. It also identifies gaps in the rules used to scan code.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - ./semgrep-rules/.

Good fit Creating custom scanning rules, adjusting severity levels, triaging false positives, reviewing CI security gates, establishing an initial SAST setup, and investigating vulnerabilities that scanning missed.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/UnitOneAI/SecuritySkills
agentmods
npx agentmods add skills/unitoneai/securityskills/sast-config

Made for: Claude Code.

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-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/unitoneai/securityskills/sast-config.svg)](https://agentmods.dev/skills/unitoneai/securityskills/sast-config)
Your own site
<a href="https://agentmods.dev/skills/unitoneai/securityskills/sast-config"><img src="https://agentmods.dev/badge/skills/unitoneai/securityskills/sast-config.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,451 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 original 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.00078 $0.05451
Opus 5 $0.00039 $0.02726
Sonnet 5 $0.00016 $0.01090
Haiku 4.5 $0.00008 $0.00545

Measured 8d ago against content hash 0babc2ef75f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

sast-config 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 8d 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/devsecops/sast-config/SKILL.md · 581 lines

How it starts

The opening of the file, as written. The whole thing — 581 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SAST Tool Configuration and Tuning

A structured, repeatable process for reviewing and tuning Static Application Security Testing (SAST) tool configurations against OWASP ASVS 4.0.3 verification requirements and the CWE Top 25 Most Dangerous Software Weaknesses. This skill covers Semgrep rule authoring, CodeQL query patterns, severity tuning, false positive management, custom rule development, and CI integration. All findings map to ASVS controls and CWE identifiers.


When to Use

If a target is provided via arguments, focus the review on: $ARGUMENTS

  • Initial SAST deployment to establish baseline rule configuration.
  • Periodic SAST tuning reviews to reduce false positive rates.
  • Custom rule development for organization-specific vulnerability patterns.
  • CI/CD integration review for SAST gate enforcement.
  • Post-incident rule gap analysis (a vulnerability was missed -- why?).
  • ASVS compliance mapping to verify SAST coverage against verification requirements.

Context

SAST tools are only as effective as their configuration. Default rule sets produce high false positive rates that erode developer trust, while overly aggressive tuning creates dangerous blind spots. OWASP ASVS 4.0.3 provides 286 verification requirements across 14 chapters -- a subset of these are automatable via SAST. The CWE Top 25 (2024 edition) identifies the most prevalent and impactful weakness types. Effective SAST tuning maps rules to these frameworks, tunes severity to organizational risk context, and integrates into CI with clear pass/fail criteria that developers can act on.


Process

Step 1: Discovery -- Locate SAST Configurations

Use Glob and Grep to locate SAST tool configurations, custom rules, and CI integration.

Patterns to search:

# Semgrep
**/.semgrep.yml
**/.semgrep.yaml
**/.semgrep/
**/semgrep*
**/.semgrepignore

# CodeQL
**/.github/codeql/
**/codeql-config.yml
**/*.ql
**/*.qll
**/qlpack.yml
**/.github/workflows/*codeql*

# General SAST
**/sonar-project.properties
**/.sonarcloud.properties
**/checkmarx*
**/fortify*
**/.bandit
**/bandit.yaml
**/.flake8
**/pylintrc
**/.eslintrc*

# CI integration
**/.github/workflows/*.yml
**/.gitlab-ci.yml
**/Jenkinsfile*

Read the full file on GitHub · 581 lines

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. 8d ago First seen · 581 lines · 78 tokens per session scan A 0babc2ef75f4

Subscribe to this mod's changes

sast-config is a skill published in the GitHub repository UnitOneAI/SecuritySkills (60 stars, last pushed 2mo ago), licensed MIT. It adds 78 tokens to every session and 5,451 once invoked, about $0.0004 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

integrating-sast-into-github-actions-pipeline

This skill covers integrating Static Application Security Testing (SAST) tools—CodeQL and Semgrep—into GitHub Actions CI/CD pipelines. It addresses configuring automated code scanning on pull requests and pushes, tuning rules to reduce false positives, uploading SARIF results to GitHub Advanced Security, and…

xalgorix/xalgorix · 84 tokens

integrating-sast-into-github-actions-pipeline

This skill covers integrating Static Application Security Testing (SAST) tools—CodeQL and Semgrep—into GitHub Actions CI/CD pipelines. It addresses configuring automated code scanning on pull requests and pushes, tuning rules to reduce false positives, uploading SARIF results to GitHub Advanced Security, and…

adriannoes/awesome-agentic-ai · 84 tokens

integrating-sast-into-github-actions-pipeline

This skill covers integrating Static Application Security Testing (SAST) tools—CodeQL and Semgrep—into GitHub Actions CI/CD pipelines. It addresses configuring automated code scanning on pull requests and pushes, tuning rules to reduce false positives, uploading SARIF results to GitHub Advanced Security, and…

Njones17/AI-agent-master-cyber-skills-list · 84 tokens

implementing-devsecops-security-scanning

Integrates Static Application Security Testing (SAST), Dynamic Application Security Testing (DAST), and Software Composition Analysis (SCA) into CI/CD pipelines using open-source tools. Covers Semgrep for SAST, Trivy for SCA and container scanning, OWASP ZAP for DAST, and Gitleaks for secrets detection. Activates for…

xalgorix/xalgorix · 109 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

codeinspectus-fix-one

Investigate and remediate exactly one user-selected CodeInspectus finding with evidence-gated reproduction, a separately approved minimal patch, focused regression testing, and an exact-prior-scan rescan. Use when a user asks an agent to examine, reproduce, fix, or verify one CodeInspectus finding without batching…

Synvoya/codeinspectus · 76 tokens