sast-configuration
Skill by lingxling
Guides setup, configuration, and custom rule creation for SAST tools including Semgrep, SonarQube, and CodeQL. Written for teams adding security scanning across multiple programming languages.
Install sast-configuration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/lingxling/awesome-skills-cn /tmp/awesome-skills-cn && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-skills-cn/antigravity-awesome-skills/skills/sast-configuration ~/.claude/skills/sast-configurationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/lingxling/awesome-skills-cn /tmp/awesome-skills-cn && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-skills-cn/antigravity-awesome-skills/skills/sast-configuration ~/.gemini/antigravity-cli/skills/sast-configurationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
SAST Configuration is an agent skill that gives guidance for setting up and configuring static application security testing tools. The source names Semgrep, SonarQube, and CodeQL. It covers Semgrep custom rules and CI/CD integration, SonarQube quality gates and security hotspot analysis, and CodeQL query development and SARIF result processing.
The skill follows a set sequence: identify languages, repos, and compliance requirements, choose tools and a baseline policy, integrate scans into CI/CD with gating thresholds, tune rules and suppressions, and track remediation. It also includes basic setup commands and a pre-commit hook example. It is aimed at teams adding security scanning across multiple programming languages and CI/CD pipelines. It is not meant for DAST or manual penetration testing.
Written from the project's SKILL.md and checked against it.
What it can do
- Semgrep configurationCustom rule creation, language-specific security rules, and false positive tuning.
- SonarQube setupQuality gate configuration, security hotspot analysis, and custom quality profiles.
- CodeQL analysisCustom query development, vulnerability variant analysis, and SARIF result processing.
- CI/CD integrationScan integration with GitHub Actions, GitLab CI, and Jenkins, with gating thresholds.
- Pre-commit hookRuns Semgrep as a pre-commit hook using a .pre-commit-config.yaml example.
- Compliance scanningRuns a PCI-DSS focused Semgrep scan with JSON output.
- Troubleshooting guidanceCovers 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
- Access to source code and CI/CD pipelines
Try asking
- Set up Semgrep in our GitHub Actions pipeline with security audit rules
- Write a custom Semgrep rule that flags hardcoded JWT secrets
- Configure a SonarQube quality gate that blocks critical security issues
Good to know
- Not for cases that only need DAST or manual penetration testing guidance.
- Not a substitute for environment-specific validation, testing, or expert review.
- Avoid scanning sensitive repos with third-party services without approval.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: antigravity-awesome-skills/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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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, with setup, configuration, and custom rule guidance for each.
Can it be used for DAST or penetration testing?
No. The source says not to use it when you only need DAST or manual penetration testing guidance.
Does it help reduce false positives?
Yes. The source covers false positive tuning, suppressions, path filters for test files, and organization-specific rule exceptions.
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 72 of 100. Grades: maintenance B, licence A, quality B. 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.
