Overview Version History Q & A Rating & Review
DevSecode
Final Project – B.Sc – College Of Management
DevSecode is a powerful VS Code extension that scans your codebase for secrets , vulnerabilities , and security issues using tools like Gitleaks , Trivy and Bandit .
Features
Scan for secrets using Gitleaks – Find hardcoded tokens, passwords, and API keys
Vulnerability scanning using Trivy – Detect open-source and system vulnerabilities
SAST - Static Application Security Testing – Identify insecure code patterns using Bandit
Interactive alerts panel – View and filter issues by severity in a sidebar view
Clickable vulnerability chart – Explore issues by clicking on chart segments in the dashboard
One-click scan – Run scans from the Command Palette or context menu
Auto-fix suggestions – Apply suggested fixes for supported issues
PDF report generation – Export findings into a styled report with charts
Tool auto-detection – Alerts you if required tools are missing and offers installation instructions
Installation
Ensure the following tools are installed based on the scans you want to perform:
macOS:
brew install gitleaks trivy bandit
Windows:
scoop install gitleaks trivy bandit semgrep # Windows (Scoop)
choco install gitleaks trivy bandit semgrep # Windows (Chocolatey)
Windows - Manual Installation:
Download the binaries or installers from the official tool websites (linked above)
Extract or install the tools
Add the executable paths (e.g., C:\Tools\trivy
, C:\Python311\Scripts
) to your System Environment Variables → PATH
Restart VS Code after making changes to PATH
Usage
Open your project folder in VS Code
Press Ctrl+Shift+P
→ Select a scan → Run Secret Scan
View results in:
Dashboard Panel – Visual summaries and charts
Alerts View – Expandable, filterable issue list by severity
Terminal Output – Raw scan logs (optional)
Protect your repositories and avoid leaking sensitive data!