Skip to content

AI-native secret detection for modern development teams. Stop secrets from leaking before they hit your repository.

License

Notifications You must be signed in to change notification settings

Radix-Obsidian/ShepScan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ShepScan Logo

ShepScan

AI-Native Secret Detection for Modern Development Teams

Stop secrets from leaking before they hit your repository

License: MIT TypeScript NestJS Next.js PRs Welcome

Demo โ€ข Features โ€ข Documentation โ€ข Contributing โ€ข Roadmap


๐ŸŽฏ The Problem

$4.45 million โ€” the average cost of a data breach in 2023. Many start with a single leaked secret.

Developers accidentally commit API keys, database credentials, and tokens to repositories every day. Traditional scanners catch these after the damage is done.

๐Ÿ’ก The Solution

ShepScan is an open-core AI-native security platform that:

  • ๐Ÿ” Scans repositories for 13+ secret types with regex + AI classification
  • ๐Ÿค– Eliminates false positives using Claude/GPT-4 powered analysis
  • ๐Ÿ’ฌ Explains risks in plain English โ€” built for founders, not just security teams
  • ๐Ÿ“Š Visualizes severity with real-time heat maps
Pre-Seed MVP Open Core

โœจ Features

Core Detection Engine

Feature Description
13+ Secret Patterns AWS, Stripe, GitHub, Google, Slack, Discord, OpenAI, JWT, Private Keys, Database URLs
Git Integration Clone any public GitHub repo and scan in seconds
Line-Level Results Exact file path, line number, and redacted snippets
Severity Scoring Critical, High, Medium, Low classifications

AI Intelligence Layer

Feature Description
Real vs False Positive AI classifies if detected patterns are actual secrets
Confidence Scoring 0-100% confidence on each detection
Founder Mode Explanations Plain-English risk, impact, and remediation steps
Multi-Provider Support Works with OpenAI GPT-4 or Anthropic Claude

Dashboard & UX

Feature Description
Severity Heat Map Visual distribution of detected secrets
Expandable Details Click any secret to see AI analysis
Scan History Track previous scans and results
GitHub OAuth Connect your account for personalized experience

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 20+
  • Git (for repo cloning)
  • Docker (optional, for database)

1. Clone & Install

git clone https://github.com/Radix-Obsidian/ShepScan.git
cd ShepScan

2. Start Backend

cd apps/api
npm install
npm run start:dev

3. Start Frontend

cd apps/web
npm install
npm run dev

4. Open Dashboard

Navigate to http://localhost:3000 and scan your first repo!


๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                        Frontend                              โ”‚
โ”‚                    Next.js 15 + React                        โ”‚
โ”‚              TailwindCSS + shadcn/ui                         โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                      โ”‚ REST API
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                        Backend                               โ”‚
โ”‚                      NestJS 10                               โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚ Scan Module โ”‚  โ”‚  AI Module  โ”‚  โ”‚    Auth Module      โ”‚  โ”‚
โ”‚  โ”‚ โ€ข Detection โ”‚  โ”‚ โ€ข Classify  โ”‚  โ”‚ โ€ข GitHub OAuth      โ”‚  โ”‚
โ”‚  โ”‚ โ€ข Git Clone โ”‚  โ”‚ โ€ข Explain   โ”‚  โ”‚ โ€ข JWT Sessions      โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                      โ”‚
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                     Infrastructure                           โ”‚
โ”‚        PostgreSQL (Prisma) โ€ข Redis โ€ข OpenAI/Anthropic        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“š Documentation

Document Description
Product Requirements (PRD) Vision, goals, and user stories
System Design (SDD) Architecture and module breakdown
Technical Design (TDD) Implementation details and APIs

๐Ÿ”ง Configuration

Create apps/api/.env:

# Database
DATABASE_URL="postgresql://user:pass@localhost:5432/shepscan"

# AI Provider (choose one)
OPENAI_API_KEY=sk-...
# or
ANTHROPIC_API_KEY=sk-ant-...

# GitHub OAuth (optional)
GITHUB_CLIENT_ID=...
GITHUB_CLIENT_SECRET=...

# JWT
JWT_SECRET=your-secure-secret-here

๐Ÿ—บ๏ธ Roadmap

โœ… v0.1.0 โ€” MVP (Current)

  • Secret detection engine (13 patterns)
  • GitHub repo scanning
  • AI classification (OpenAI/Anthropic)
  • Founder-friendly explanations
  • Severity heat map
  • GitHub OAuth

๐Ÿ”œ v0.2.0 โ€” Prevention

  • Pre-commit hooks
  • GitHub App integration
  • Real-time push protection
  • Slack/Discord notifications

๐Ÿ”ฎ v0.3.0 โ€” Enterprise

  • Private repo scanning
  • Team management
  • Audit logs
  • SSO/SAML

๐Ÿค Contributing

We welcome contributions! ShepScan is an open-core project.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

See CONTRIBUTING.md for detailed guidelines.


๐Ÿ“„ License

This project is licensed under the MIT License โ€” see the LICENSE file for details.


๐Ÿ‘ About Golden Sheep AI

ShepScan is built by Golden Sheep AI, a bootstrapped pre-seed startup focused on developer security tools.

Our Philosophy: Build narrow. Test deep. Ship confidently.


๐Ÿ’ฌ Discussions โ€ข ๐Ÿ› Issues โ€ข ๐Ÿ“ฆ Releases

Made with ๐Ÿค by developers, for developers

About

AI-native secret detection for modern development teams. Stop secrets from leaking before they hit your repository.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project