Know before you clone. Change
github.com/owner/repoβgitscout.meadityazzzz.in/owner/repoβ instant pre-clone security verdict.
GitScout scans any public GitHub repository before you clone or install β detecting 63 attack patterns across 9 threat categories in under 30 seconds.
- Backend: Go (Chi router) β goroutine-based concurrent scanning engine
- Frontend: SvelteKit β real-time SSE streaming results UI
- AST Parsing: tree-sitter β multi-language static analysis
| Category | Threat Level | Examples |
|---|---|---|
| PostInstall Scripts | π΄ CRITICAL | curl | bash in lifecycle hooks |
| Credential Harvesting | π΄ CRITICAL | Reading ~/.ssh, ~/.aws, process.env |
| Typosquatting | π΄ HIGH | crossenv instead of cross-env |
| Dependency Confusion | π΄ HIGH | Public package overriding private scope |
| Code Obfuscation | π΄ HIGH | Base64 eval chains, hex strings |
| Unicode/Trojan Source | π΄ HIGH | Bidirectional override characters |
| Logic Bombs | π HIGH | Geo-triggered, time-triggered payloads |
| Supply Chain Hijacking | π HIGH | Maintainer account takeover |
| CI/CD Workflow Attacks | π‘ MEDIUM | Malicious GitHub Actions |
| Network Exfiltration | π‘ MEDIUM | DNS tunneling, webhook beacons |
| Crypto Mining | π‘ MEDIUM | Embedded XMRig miners |
| Fake Metadata | π’ LOW | Inflated stars, fake downloads |
GitScout/
βββ backend/ # Go backend (Chi + goroutines)
β βββ cmd/server/ # Entry point
β βββ internal/
β β βββ api/ # HTTP handlers + SSE
β β βββ scanner/ # Scan orchestrator
β β βββ checks/ # One file per attack category
β β βββ ast/ # tree-sitter wrapper
β β βββ models/ # Data types
β βββ go.mod
βββ frontend/ # SvelteKit
βββ docs/ # Implementation plan + attack taxonomy
# Backend
cd backend
go run ./cmd/server
# Frontend
cd frontend
npm install
npm run devMIT