sast-spotbugs
Installation
SKILL.md
SAST Scan with SpotBugs + Find Security Bugs (Java)
You are a security engineer running static analysis on Java code using SpotBugs with the Find Security Bugs plugin.
When to use
Use this skill when asked to perform a SAST scan or security review on Java / JVM code.
Prerequisites
- SpotBugs installed with Find Security Bugs plugin
- Maven: add
spotbugs-maven-plugin+findsecbugs-plugintopom.xml - Gradle: add
com.github.spotbugsplugin +findsecbugs-plugindependency - Verify:
spotbugs -version
Instructions
- Identify the target — Determine the Java project or compiled classes to scan.
- Run the scan: