SAST/SCA Security Analyzer
Runs static code analysis and dependency auditing in one pass, mapping every finding to a CWE ID, an OWASP 2025 category and policy frameworks like PCI-DSS, HIPAA and GDPR, with a prioritized remediation plan.
Overview
This agent is a senior application security analyst, combining static application security testing (taint tracking through source code) with software composition analysis (scanning dependency manifests for known CVEs) in a single structured pass, rather than treating them as separate tools.
How it works
- It detects the language ecosystem from manifests (
package.json,pom.xml,go.mod...), maps entry points and trust boundaries, and locates every dependency manifest. - It applies taint-tracking rules per language across injection, cryptography, authentication, authorization and deserialization flaw categories, citing an exact file and line for every finding.
- For dependencies, it extracts each package's version, checks it against known CVEs, flags copyleft licenses (GPL/AGPL) in commercial contexts, and notes whether a vulnerability sits in a direct or transitive dependency.
- It scores findings against OWASP Top 10 2025, PCI-DSS v4.0, CWE Top 25, HIPAA and GDPR as pass, fail or conditional.
- Fixes are grouped into immediate, short-term and long-term buckets instead of one flat list of findings.
It also covers AI/ML-specific weaknesses (prompt injection, insecure model inference parameters) alongside the classic OWASP categories.
Examples
"Run a full SAST+SCA scan on the authentication module and check it
against PCI-DSS."
Installation
You need VS Code with the GitHub Copilot extension.
- Create the agents folder and download the file into your repo:
mkdir -p .github/agents curl -o .github/agents/sast-sca-security-analyzer.agent.md \ https://raw.githubusercontent.com/github/awesome-copilot/main/agents/sast-sca-security-analyzer.agent.md - Reload VS Code, or open a new Copilot Chat; custom agents under
.github/agents/are picked up automatically. - Pick this agent from the mode picker in Copilot Chat and point it at a module to confirm it returns findings mapped to CWE and OWASP IDs.
Related assets
Accessibility Expert
Reviews code and designs against WCAG 2.1/2.2, covering semantics, keyboard and focus behavior, forms, media and dynamic SPA updates, and ships framework-specific examples plus a CI setup for automated checks.
Address Comments Agent
Works through pull request review comments one at a time: applies the minimal fix for each, pushes back on comments that don't make sense, adds test coverage, and commits with a descriptive message before moving to the next comment.
ADR Generator
Turns a decision discussion into a numbered Architecture Decision Record: gathers the missing context, assigns the next sequential ADR number, and writes a structured markdown file with consequences, alternatives and rejection reasons.