From harness-sast-and-sca
Run security analysis on source code files. Use when the user asks to scan, analyze, or check files for security vulnerabilities, or mentions Review, Analyze, Harness SAST and SCA, Qwiet, ShiftLeft, or security scanning.
How this skill is triggered — by the user, by Claude, or both
Slash command
/harness-sast-and-sca:scanThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run security analysis on source code files to detect vulnerabilities and security issues.
Run security analysis on source code files to detect vulnerabilities and security issues.
.java.c, .cpp, .cc, .cxx, .h, .hpp.js, .jsx, .ts, .tsx.py.kt, .kts.rb.php.swiftWhen the user asks to scan a file or check for security issues:
Run the wrapper script (use the path where the Harness SAST and SCA plugin is installed; common locations below):
If the plugin is installed via Claude Code plugin manager (e.g. under ~/.claude/plugins/curness/):
bash "$HOME/.claude/plugins/curness/skills/scan/run-scan.sh" "<file_path>"
If using claude --plugin-dir /path/to/curness/claude-plugin, use that directory:
bash "/path/to/curness/claude-plugin/skills/scan/run-scan.sh" "<file_path>"
The script uses tools from $HOME/.shiftleft/ (downloaded on first use by the Harness SAST and SCA extension or when hooks run). If dependencies are missing, prompt the user to run the Harness SAST and SCA install or trigger a file edit so the hook can download it.
Output: JSON findings are printed between ===FINDINGS_JSON_START=== and ===FINDINGS_JSON_END===. Extract and parse that substring.
If the script fails or dependencies are not found, suggest the user install Harness SAST and SCA (e.g. run install.sh from the Harness SAST and SCA repo or install the extension) so that ~/.shiftleft/ocular-mini/ and ~/.shiftleft/analyze.sc exist.
npx claudepluginhub shiftleftsecurity/claude-plugins --plugin harness-sast-and-scaScans source code for OWASP Top 10 and CWE Top 25 vulnerabilities, dependency CVEs, hardcoded secrets, malicious code, and insecure patterns. Use for security audits or code review requests.
Scans source code for vulnerabilities like SQLi, XSS, BOLA, SSRF via targeted SAST plans for apps (backend/frontend/mobile) and libraries. Use for security audits.
Runs a lightweight mechanical security scan for fast triage. Invoked via /Harness Security Scan or as part of codebase-health-analyst sweep.