The security-scan skill integrates PMD 7.x into the Claude Code environment to provide deep security auditing for Salesforce DX projects. It specifically targets the Apex security ruleset to detect critical threats such as SOQL injection, missing CRUD/FLS checks, hardcoded credentials, and sharing violations. Designed for security-conscious developers, it produces standardized reports and SARIF output, making it an essential tool for both local development and CI/CD pipelines to ensure enterprise-grade code safety before deployment.
주요 기능
01SARIF and JSON output formats for integration with GitHub Code Scanning and CI workflows.
02Support for additional Apex rulesets including Best Practices, Performance, and Code Style.
03Comprehensive detection of SOQL injection, CRUD/FLS violations, and insecure endpoints.
04Automated PMD 7.x installation and execution tailored for Salesforce Apex.
050 GitHub stars
06Differential scanning capabilities to report only new findings against a baseline.
사용 사례
01Running a security audit on new Apex classes before merging into the main branch.
02Generating SARIF reports for automated security gates in GitHub Actions.
03Identifying sharing and permission violations in complex Salesforce controllers.