Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

sast-configuration

Skill by wshobson

Configures Static Application Security Testing (SAST) tools such as Semgrep, SonarQube and CodeQL to detect vulnerabilities in application code. Written for teams setting up security scanning and DevSecOps pipelines.

  • Score 91
  • 43k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install sast-configuration

Built from the published package, never by AI.

git clone --depth 1 https://github.com/wshobson/agents /tmp/agents && mkdir -p ~/.claude/skills && cp -r /tmp/agents/plugins/security-scanning/skills/sast-configuration ~/.claude/skills/sast-configuration

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install sast-configuration in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant guidance for setting up and configuring Static Application Security Testing (SAST) tools. It covers Semgrep, SonarQube and CodeQL, including custom rule creation, CI/CD integration examples for GitHub Actions, GitLab CI and Jenkins, and a pre-commit hook for Semgrep. It also includes a sample custom rule that flags a hardcoded JWT secret.

The source describes quality gates, security hotspot analysis, SARIF result processing and a PCI-DSS focused Semgrep scan. It also lists troubleshooting steps for false positives, performance problems and integration failures. The skill is aimed at teams setting up security scanning, implementing DevSecOps practices or automating code vulnerability detection. It points to related STRIDE analysis and threat mitigation skills.

Written from the project's SKILL.md and checked against it.

What it can do

  • Semgrep configurationCovers custom rule creation, language-specific rules and false positive tuning for Semgrep.
  • SonarQube setupCovers quality gates, security hotspot analysis and custom quality profiles.
  • CodeQL analysisCovers GitHub Advanced Security integration, custom queries and SARIF result processing.
  • CI/CD integrationShows Semgrep setup for GitHub Actions, GitLab CI and Jenkins.
  • Pre-commit hookProvides a .pre-commit-config.yaml example that runs Semgrep before commits.
  • Custom rule developmentShows a YAML Semgrep rule that flags a hardcoded JWT secret.
  • Compliance scanningShows a Semgrep scan using the PCI-DSS ruleset with JSON output.
  • TroubleshootingLists steps for high false positive rates, performance issues and integration failures.

What you need

  • Python with pip, to install Semgrep
  • Docker, to run SonarQube
  • GitHub CLI with the CodeQL extension, for CodeQL
  • A CI/CD runner with permissions for the chosen pipeline

Try asking

  • Set up Semgrep in my GitHub Actions workflow with the OWASP Top Ten rules
  • Write a Semgrep rule that flags hardcoded JWT secrets in my code
  • Run a PCI-DSS focused Semgrep scan and save the results as JSON

Good to know

  • The SonarQube Docker example disables Elasticsearch bootstrap checks, which the source says is only for a local try-out.
  • A real SonarQube deployment needs vm.max_map_count of at least 524288 and fs.file-max of at least 131072 on the host.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/security-scanning/skills/sast-configuration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to sast-configuration

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

sast-configuration: common questions

Which SAST tools does this skill cover?

The source covers Semgrep, SonarQube and CodeQL. It includes a comparison table with best use, language support, cost and integration notes for each.

What does the source say about cost?

The comparison table lists Semgrep as Free or Enterprise, SonarQube as Free or Commercial, and CodeQL as Free for open source.

Can I write my own security rules with it?

Yes. The source shows a YAML Semgrep rule using pattern matching, and describes custom CodeQL query development and custom SonarQube quality profiles.

How do I install sast-configuration?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is sast-configuration free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is sast-configuration safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to sast-configuration?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

sast-configuration Install

Add to stack

Loading.