Skip to content

vibeforge1111/vibeship-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

452 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vibeship Scanner

A security scanning tool designed for vibe coders. Analyzes GitHub repositories for vulnerabilities and generates AI-ready fix prompts.

Try It Free

scanner.vibeship.co — Paste any public GitHub repo URL and get a full security scan in minutes. No signup required.


MCP Integration (Claude, Cursor, AI Assistants)

Use Vibeship Scanner directly from Claude or any MCP-compatible AI assistant.

Quick Setup

Add to your Claude Desktop config:

{
  "mcpServers": {
    "vibeship-scanner": {
      "command": "npx",
      "args": ["mcp-remote", "https://scanner.vibeship.co/mcp"]
    }
  }
}

What You Can Do

Command What happens
"Scan https://github.com/org/repo" Runs 16 security scanners on the repo
"Fix these security issues" Creates a task list and fixes all issues systematically
"This is a false positive" Reports FP with ultra-privacy (no code sent)
"What is CVE-2021-44228?" Looks up vulnerability details

Example Session

You: Scan my repo https://github.com/myorg/myapp

Claude: 🎯 SCAN COMPLETE
        📊 Score: 45/100 (Grade F)
        🔴 Critical: 5  |  🟠 High: 18

        Ready to fix? Say "Yes, fix these issues"

You: Yes, fix these issues

Claude: [Creates TodoWrite task list with all 23 issues]
        Working through fixes one by one...
        ✅ Fix #1 complete - SQL injection in api/users.js
        ✅ Fix #2 complete - Hardcoded secret in config.ts
        ...

Full documentation: MCP_USAGE.md


How AI Fix Prompts Work

Vibe coding with AI assistants is great for building fast, but security vulnerabilities can slip through. Vibeship Scanner bridges that gap:

  1. Scan your repo — The scanner runs Opengrep (SAST), Trivy (dependencies), Gitleaks (secrets), and npm audit against your codebase
  2. Get findings in plain English — No security jargon, just clear explanations of what's wrong and why it matters
  3. Copy the AI fix prompt — Each finding includes a ready-to-paste prompt for Claude, Cursor, ChatGPT, or any AI coding assistant
  4. Let your AI fix it — The prompt contains the exact file, line number, vulnerable code pattern, and specific fix instructions

Example AI Fix Prompt

Fix the SQL injection vulnerability in src/db/users.js at line 45.

The code uses string concatenation to build a SQL query:
  const query = "SELECT * FROM users WHERE id = " + userId;

This allows attackers to inject malicious SQL. Replace with parameterized queries:
  const query = "SELECT * FROM users WHERE id = ?";
  db.query(query, [userId]);

The prompts are designed to give your AI assistant everything it needs to make the fix correctly on the first try.

Master Fix Prompt

For repos with multiple findings, copy or download the Master Fix Prompt — a single prompt that instructs your AI to systematically work through all vulnerabilities one by one.

Features

  • Multi-Scanner Analysis: Combines Opengrep (SAST), Trivy (dependency scanning), Gitleaks (secret detection), and npm audit
  • AI-Ready Fix Prompts: Every finding includes a copy-paste prompt for Claude, Cursor, or ChatGPT
  • Vibe-Friendly Output: Plain English explanations instead of security jargon
  • Master Fix Prompt: One prompt to fix all issues systematically
  • 2,200+ Security Rules: SQL injection, XSS, SSRF, secrets, auth issues, and more across 15+ languages

Tech Stack

  • Frontend: SvelteKit, TypeScript
  • Backend: Python (Flask), deployed on Fly.io
  • Database: Supabase
  • Scanners: Opengrep, Trivy, Gitleaks, npm audit

Getting Started

Prerequisites

  • Node.js 18+
  • npm or pnpm

Installation

# Clone the repository
git clone https://github.com/vibeforge1111/vibeship-scanner.git
cd vibeship-scanner

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env
# Edit .env with your Supabase credentials

# Start development server
npm run dev

Environment Variables

PUBLIC_SUPABASE_URL=your_supabase_url
PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key

Usage

  1. Visit the app at http://localhost:5173
  2. Enter a GitHub repository URL
  3. Wait for the scan to complete
  4. Review findings with AI-ready fix prompts
  5. Copy the master prompt to fix all issues at once

Scanner Rules

The scanner includes 2,200+ custom security rules across 15+ languages covering:

  • Injection: SQL, NoSQL, Command, Template (SSTI)
  • XSS: DOM, Stored, React, Vue, Svelte, Angular, jQuery
  • Authentication: Missing auth, IDOR, session issues
  • Cryptography: Weak hashes, insecure ciphers, hardcoded keys
  • Secrets: API keys, passwords, tokens in code
  • Configuration: Debug mode, CORS, security headers

API

Trigger a Scan

curl -X POST https://scanner-empty-field-5676.fly.dev/scan \
  -H "Content-Type: application/json" \
  -d '{"scanId": "uuid", "repoUrl": "https://github.com/owner/repo"}'

View Results

Results are available at:

  • Production: https://scanner.vibeship.co/scan/{scanId}
  • Local: http://localhost:5173/scan/{scanId}

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Adding New Rules

  1. Add rules to scanner/rules/{language}.yaml
  2. Validate: opengrep --validate -f scanner/rules/
  3. Add corresponding fix hints in src/lib/aiFixPrompts.ts
  4. Deploy scanner: cd scanner && fly deploy --remote-only

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Links

About

a free vulnerability and security scanner for vibe coders, with 2000+ rulesets, and copy pasteable Master AI Fix Prompt to fix vulnerabilities

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages