{"id":29193735,"url":"https://github.com/dicksent/shift-left","last_synced_at":"2026-04-24T20:04:45.042Z","repository":{"id":298522553,"uuid":"999809195","full_name":"DicksenT/shift-left","owner":"DicksenT","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-29T10:52:49.000Z","size":271,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-29T11:33:55.026Z","etag":null,"topics":["cybersecurity","fullstack-development","next","security-tools"],"latest_commit_sha":null,"homepage":"https://shiftleft.dicksentan.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DicksenT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-10T20:23:54.000Z","updated_at":"2025-06-29T10:52:53.000Z","dependencies_parsed_at":"2025-06-11T15:36:32.176Z","dependency_job_id":"0c439956-50a7-4773-a2f2-6ed0a89d6700","html_url":"https://github.com/DicksenT/shift-left","commit_stats":null,"previous_names":["dicksent/shift-left"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DicksenT/shift-left","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DicksenT%2Fshift-left","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DicksenT%2Fshift-left/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DicksenT%2Fshift-left/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DicksenT%2Fshift-left/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DicksenT","download_url":"https://codeload.github.com/DicksenT/shift-left/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DicksenT%2Fshift-left/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263066558,"owners_count":23408387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cybersecurity","fullstack-development","next","security-tools"],"created_at":"2025-07-02T03:07:05.117Z","updated_at":"2026-04-24T20:04:45.037Z","avatar_url":"https://github.com/DicksenT.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛡️ Shift-Left – Dev-First Security Dashboard\n\n**Shift-Left** helps developers catch and understand security risks *before code is deployed*.\n\nIt 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.\n\n---\n\n## 🌐 Live Demo\n\n👉 [shiftLeft.dicksentan.com](https://shiftleft.dicksentan.com)\n\n\u003e ⚠️ Cold start may take a few seconds. \n\n---\n\n## Video Demo\n\n👉 https://www.loom.com/share/df37c2743a044eb5bedbe85b182d6289?sid=1a71365a-978f-480d-8ec1-f104b9aa8515\n\n\u003e Please understand im nervous 😬 (Open subtitle for more clarity)\n\n---\n\n## Screenshot\n\n![Homepage Overview](./public/homePage.png)\n![Scan Page Overview](./public/scanPage.png)\n![Vulnerability Modal](./public/modal.png)\n\n---\n\n## 🔍 Key Features\n\n- ✅ **Unified scanning pipeline** — integrates Snyk, Trivy, and Semgrep into a single flow\n- 📊 **Interactive dashboard** — filter issues by severity, tool, and source file\n- 🤖 **AI-powered insight** — plain-language vulnerability explanations (OpenAI)  \n- 🐍 **HackMe simulator** — CLI-style terminal log of realistic attacks (SQLi, RCE, etc.)\n- 🚀 **Deploy-ready architecture** — serverless Next.js API, Fly.io backend, Vercel UI\n- 🔐 **Secure execution** — sandboxed scanners, streaming output, no GitHub login required\n\n---\n\n## 📈 Impact\n\n- Scanned public GitHub repos in testing\n- Detected and explained 300+ vulnerabilities\n- Helped developers simulate 5+ real-world attacks like SQLi and SSRF\n\n---\n\n## 🛠 Tech Stack\n\n| Layer       | Stack                                     |\n|-------------|-------------------------------------------|\n| Frontend    | Next.js 15, TailwindCSS, TypeScript       |\n| Backend     | Node.js, Next.js API Routes, OpenAI SDK   |\n| Scanners    | Snyk, Trivy, Semgrep (via CLI + `exec()`) |\n| Deployment  | Vercel (UI) + DigitalOcean (API) + Docker |\n\n---\n\n## ⚙️ How It Works\n\n### 1. Paste a GitHub Repository URL\n\nPaste any public repo (e.g. `https://github.com/vercel/next.js`) into the input box.\n\nThe app will:\n\n- Clone the repo inside a temporary Docker container\n- Run **Snyk**, **Trivy**, and **Semgrep** scans\n- Normalize and visualize results\n\n### 2. Explore Findings\n\nClick a vulnerability card to see:\n\n- 🤖 **AI Explanation** — plain-text breakdown of the risk\n- 🚨 **Hack Simulation** — attack logs (e.g. `[INFO] SQL injection payload sent`)\n- 🛡️ **Defense Tips** — mitigation advice (if detected)\n\n---\n\n## 🔐 Environment Variables\n\nCreate a `.env.local` file:\n\n```env\nOPENAI_API_KEY=your-openai-key\nSNYK_TOKEN=your-snyk-token\n\n---\n\n## 🧱 Local Development\n\n```bash\ngit clone https://github.com/DicksenT/shift-left.git\ncd shift-left\nnpm install\nnpm run dev\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdicksent%2Fshift-left","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdicksent%2Fshift-left","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdicksent%2Fshift-left/lists"}