Claude Code
The Harness SAST and SCA plugin for Claude Code enables Secure AI Coding, bringing real-time security into your AI-assisted development workflow. All AI-generated code is automatically scanned, validated, and remediated as you work.
Features
Harness SAST and SCA for Claude Code provides:
- Secure AI Coding: Real-time security scanning of AI-generated code
- Automatic Remediation: Context-aware fixes suggested inline as you code
- Diff-aware Analysis: Focused scans on changes introduced by the AI agent
Language support and requirements
Harness SAST and SCA for Claude Code currently:
- Supports the analysis of Java, JavaScript / TypeScript, Python, C, PHP.
- Requires the use of a workstation running Linux, macOS, or Windows.
Dependencies
Before proceeding with this integration, ensure that your workstation meets the prerequisites for using Harness SAST and SCA.
The plugin will automatically download and install the latest version of the Harness SAST and SCA CLI for you. This will not affect the system version of the CLI (if you have it installed); these two versions will be maintained in parallel.
Ensure that you've added
slandnodeorpythonto your systemPATHvariable.
Installation
Step 1: Add the plugin marketplace
Add the Harness SAST and SCA marketplace to Claude Code:
/plugin marketplace add https://github.com/ShiftLeftSecurity/claude-plugins
/reload-plugins
Stay up to date with the latest features and fixes, type /plugin, select Marketplaces, then harness-sast-and-sca-plugins, and Select Enable auto-update.