Shift-Left helps developers catch and understand security risks before code is deployed.
It scans GitHub repos using industry-standard tools (Snyk, Trivy, Semgrep), simulates real-world attacks, and explains vulnerabilities in plain English — all in one clean, interactive dashboard.
⚠️ Cold start may take a few seconds.
👉 https://www.loom.com/share/df37c2743a044eb5bedbe85b182d6289?sid=1a71365a-978f-480d-8ec1-f104b9aa8515
Please understand im nervous 😬 (Open subtitle for more clarity)
- ✅ Unified scanning pipeline — integrates Snyk, Trivy, and Semgrep into a single flow
- 📊 Interactive dashboard — filter issues by severity, tool, and source file
- 🤖 AI-powered insight — plain-language vulnerability explanations (OpenAI)
- 🐍 HackMe simulator — CLI-style terminal log of realistic attacks (SQLi, RCE, etc.)
- 🚀 Deploy-ready architecture — serverless Next.js API, Fly.io backend, Vercel UI
- 🔐 Secure execution — sandboxed scanners, streaming output, no GitHub login required
- Scanned public GitHub repos in testing
- Detected and explained 300+ vulnerabilities
- Helped developers simulate 5+ real-world attacks like SQLi and SSRF
| Layer | Stack |
|---|---|
| Frontend | Next.js 15, TailwindCSS, TypeScript |
| Backend | Node.js, Next.js API Routes, OpenAI SDK |
| Scanners | Snyk, Trivy, Semgrep (via CLI + exec()) |
| Deployment | Vercel (UI) + DigitalOcean (API) + Docker |
Paste any public repo (e.g. https://github.com/vercel/next.js) into the input box.
The app will:
- Clone the repo inside a temporary Docker container
- Run Snyk, Trivy, and Semgrep scans
- Normalize and visualize results
Click a vulnerability card to see:
- 🤖 AI Explanation — plain-text breakdown of the risk
- 🚨 Hack Simulation — attack logs (e.g.
[INFO] SQL injection payload sent) - 🛡️ Defense Tips — mitigation advice (if detected)
Create a .env.local file:
OPENAI_API_KEY=your-openai-key
SNYK_TOKEN=your-snyk-token
---
## 🧱 Local Development
```bash
git clone https://github.com/DicksenT/shift-left.git
cd shift-left
npm install
npm run dev


