shipsafe-mcp
OfficialScans Android app configurations for security issues like debuggable builds, cleartext traffic, and permissive WebViews.
Scans Django applications for exposed secrets, injection, missing authentication, and other server-side vulnerabilities.
Scans Expo and React Native apps for mobile security issues like tokens stored insecurely, permissive WebViews, and misconfigured app manifests.
Scans Express applications for missing authentication, IDOR, injection, SSRF, and other server-side vulnerabilities.
Scans FastAPI applications for missing authentication, injection, and other server-side vulnerabilities.
Scans Fastify applications for unprotected API routes, injection, and other server-side vulnerabilities.
Checks Firebase projects for open Firestore/Realtime Database rules, test-mode rules, and unsafe use of service_role credentials.
Scans Flask applications for injection, SSRF, missing authentication, and other server-side vulnerabilities.
Scans Hono applications for unprotected API routes, injection, and other server-side vulnerabilities.
Scans iOS app configurations for security issues like disabled App Transport Security and other mobile misconfigurations.
Detects MongoDB operator injection and other insecure database query patterns.
Scans Next.js applications for security issues such as exposed secrets, missing auth in API routes and server actions, and unsafe client-side data access.
Checks npm dependencies for hallucinated packages, typosquats, brand-new packages, and known CVEs with upgrade guidance.
Scans OpenAI integrations for leaked API keys, browser-side LLM calls, and AI endpoints without auth or rate limits.
Checks PyPI dependencies for hallucinated packages, typosquats, brand-new packages, and known CVEs with upgrade guidance.
Scans React applications for client-side security issues like leaked API keys, unsafe dangerouslySetInnerHTML usage, and secrets hardcoded in components.
Checks Stripe integrations for unverified webhook signatures, trusting client-supplied prices, and other payment security mistakes.
Checks Supabase projects for missing Row Level Security, insecure policies, public storage buckets, exposed service_role keys, and publicly readable tables.
Scans projects using the Vercel AI SDK for common AI security mistakes such as browser-side LLM calls and missing auth or rate limits.
Scans Vite projects for secrets exposed through VITE_ environment variables and other front-end security misconfigurations.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@shipsafe-mcp Can you scan my app for security issues and fix what you find?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π‘οΈ ShipSafe
Find the security holes your AI coding assistant just shipped, before someone else does.
ShipSafe is an MCP server and CLI that checks AI-built ("vibe-coded") web and mobile apps for the mistakes that keep leaking data: API keys in the browser bundle, Supabase tables without Row Level Security, Firebase rules left in test mode, API routes anyone can call, unverified Stripe webhooks, AI endpoints that can drain your credits, and npm packages the model made up.
It plugs into Claude Code, Cursor, VS Code, Windsurf and Claude Desktop. Your assistant scans the project, explains each problem in plain language, fixes it, and re-scans to confirm.
What it looks like
A typical conversation in Claude Code or Cursor:
You: Is my app safe to launch?
Assistant: I ran ShipSafe on your project. Launch readiness: 0/100 (F), do not ship yet. Six issues can be exploited by anyone on the internet:
Your OpenAI key is public.
NEXT_PUBLIC_OPENAI_API_KEYis baked into the JavaScript every visitor downloads, so anyone can copy it and run up your bill.Anyone can read and delete your
poststable. It was created without Row Level Security, and your anon key ships with the site.Anyone can fake a payment.
/api/webhooktrustscheckout.session.completedevents without checking Stripe's signature.β¦
Should I fix these, starting with the most severe?
After the fixes, the assistant calls verify_fixes, which returns what was fixed, what is still open, and anything new the edits introduced:
The same scan works from the terminal and in CI:
All screenshots are real output from scanning the intentionally vulnerable demo app in tests/fixtures/nextjs-supabase. Keys are shown redacted, exactly as ShipSafe prints them.
Related MCP server: Cybrium MCP Server
Install
ShipSafe runs with uv (uvx), so there is nothing to install globally. Python 3.10+ is fetched automatically if you don't have it.
Claude Code
claude mcp add shipsafe -- uvx shipsafe-mcpCursor: click the badge above, or add to ~/.cursor/mcp.json:
{ "mcpServers": { "shipsafe": { "command": "uvx", "args": ["shipsafe-mcp"] } } }VS Code (Copilot agent mode): click the badge above, or add to .vscode/mcp.json:
{ "servers": { "shipsafe": { "command": "uvx", "args": ["shipsafe-mcp"] } } }Windsurf (~/.codeium/windsurf/mcp_config.json) and Claude Desktop (claude_desktop_config.json) use the same mcpServers block as Cursor. Claude Desktop may need the absolute path to uvx (which uvx / where uvx).
Before the PyPI release, install straight from GitHub:
claude mcp add shipsafe -- uvx --from git+https://github.com/EthYusuf/shipsafe shipsafe-mcpThen ask your assistant: "Run a ShipSafe pre-launch audit", or use the pre-launch-audit prompt.
What it catches
68 rules, written for the stacks AI tools actually generate: Next.js, React/Vite, Expo/React Native, Express/Hono/Fastify, Supabase, Firebase, Stripe, OpenAI/Anthropic/Vercel AI SDK, Flask/Django/FastAPI.
Area | Examples |
π Leaked secrets | Keys behind |
ποΈ Supabase & Firebase | Tables without RLS, |
πͺ Access control | Route handlers, Pages API routes, Express routes and server actions with no auth check; IDOR, where the user id comes from the request body instead of the session; |
π Injection | SQL built with template strings, Supabase |
π³ Payments | Stripe webhooks without |
π€ AI apps | LLM calls from the browser ( |
π± Mobile | Tokens in AsyncStorage/localStorage, permissive WebViews, |
π¦ Supply chain | Hallucinated packages that don't exist on npm/PyPI (slopsquatting), typosquats, packages published days ago, known CVEs via OSV.dev with the right upgrade version |
π Live site (opt-in) | Downloadable |
The full list with explanations is in docs/rules.md.
MCP tools
Tool | What it does |
| Scans the project and returns a launch-readiness score, a verdict and the top findings in plain language |
| Pages through findings, filtered by severity, category or file |
| Full detail for one finding: impact, fix, redacted code context, and a ready-made fix prompt |
| Re-scans and reports what was fixed, what's new and how the score changed |
| Checks code before it is written to disk; the assistant can call it on auth, payment and database code |
| Hallucinated, typosquatted, brand-new and vulnerable dependencies |
| Passive checks against a deployment you own (localhost is always allowed) |
| Writes an HTML, Markdown, SARIF or JSON report to |
Also available: the prompts pre-launch-audit and secure-feature, and the resources shipsafe://rules and shipsafe://report/latest.
CLI and CI
uvx --from shipsafe-mcp shipsafe scan . # colored terminal report
uvx --from shipsafe-mcp shipsafe scan . --format html -o report.html
uvx --from shipsafe-mcp shipsafe scan . --fail-on high # exit 1 for CI
uvx --from shipsafe-mcp shipsafe probe http://localhost:3000 # live checks
uvx --from shipsafe-mcp shipsafe rulesGitHub Actions posts results to code scanning and to the job summary:
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
- uses: EthYusuf/shipsafe@v0.1.0
with:
fail-on: highpre-commit:
repos:
- repo: https://github.com/EthYusuf/shipsafe
rev: v0.1.0
hooks:
- id: shipsafeConfiguration
Silence a single line, optionally for one rule only:
const demoKey = "sk_test_β¦"; // shipsafe-ignore: secret.hardcodedOr add .shipsafe.yml at the project root:
ignore_paths: ["scripts/", "**/*.stories.tsx"]
disable_rules: [config.missing-security-headers]
severity_overrides:
supabase.public-bucket: infoSafety and privacy
A security tool must not become a leak itself.
No code is executed. JavaScript and TypeScript are parsed with tree-sitter and Python with
ast. Nothing is imported, run or installed.Secrets are always redacted in everything ShipSafe outputs (
sk-proj-****1Cx7), so raw keys never reach your AI provider's logs. The test suite checks this for every output format.Network access is limited and optional. Dependency checks call registry.npmjs.org, pypi.org and api.osv.dev with package names and versions only.
--offline/offline: trueturns them off.Live probes only send plain GET requests. They run against localhost by default. Any other host needs your explicit confirmation (the MCP server asks you directly when your client supports it) or
SHIPSAFE_PROBE_ALLOWLIST. Row data read from Supabase or Firebase is never returned, only table and column names.No telemetry.
Accuracy, honestly
ShipSafe is a heuristic static analyzer. It finds likely issues fast, and it is not a penetration test.
Labeled corpus.
benchmarks/run.pyscans realistic vulnerable apps (Next.js + Supabase, Expo + Firebase, Express + MongoDB, Flask) plus a correctly built app. Every labeled issue is found, the clean app scores 99/A, and a typical scan takes ~50β300 ms offline. We wrote this corpus ourselves, so treat it as a regression suite, not proof of real-world accuracy.Real projects. Before release we ran ShipSafe on popular open-source apps and fixed every false positive we found. For example, the official Vercel Supabase + Stripe starter scores 93/A, and its remaining findings match what Supabase's own database linter reports.
Known limits. Taint tracking stays within a function (plus variable aliases), not across files. Authorization is inferred from common patterns (
auth(),getUser(), middlewareβ¦), so custom auth wrappers may need ashipsafe-ignore. Native Swift/Kotlin/Dart source is not analyzed; manifests and configs are.
Found a false positive or a miss? Please open an issue with a minimal snippet. Every fix gets a regression test.
Development
git clone https://github.com/EthYusuf/shipsafe && cd shipsafe
uv sync
uv run pytest # full test suite, including an in-process MCP client
uv run ruff check src tests
uv run python benchmarks/run.pySee CONTRIBUTING.md for how rules are structured and how to add one.
License
MIT
Available Tools
8 toolscheck_dependenciesARead-onlyIdempotent
Check direct npm/PyPI dependencies for hallucinated (non-existent) packages, typosquats, suspiciously new packages and known vulnerabilities (OSV.dev).
Args: path: Project root. Defaults to the client's workspace root.
Inputs: path. Returns: object
generate_reportAIdempotent
Write a shareable report for the latest scan.
The HTML report has a score ring, severity filters and a "copy fix prompt" button per finding. By default it is written to /.shipsafe/ (which is git-ignored automatically).
Args: format: html, md (Markdown), sarif (GitHub code scanning) or json. path: Project root; defaults to the most recently scanned project. output: Explicit output file path.
Inputs: path, format, output. Returns: object
get_findingARead-onlyIdempotent
Full details for one finding: impact, fix guidance, code context and references.
Args: finding_id: The id from scan_project / list_findings (e.g. "SS-3F9A2C1").
Inputs: finding_id (required). Returns: object
list_findingsARead-onlyIdempotent
List findings from the latest scan, optionally filtered.
Args: severity: Only this severity (critical, high, medium, low, info). category: e.g. secrets, access-control, injection, backend-config, payments, ai, mobile, supply-chain. file: Substring of the file path. offset: Pagination offset. limit: Page size (max 100). path: Project root; defaults to the most recently scanned project.
Inputs: file, path, limit, offset, +2 more. Returns: object
probe_liveARead-onlyIdempotent
Passively check a running deployment: exposed .env/.git, secrets in JS bundles, Supabase tables readable with the public anon key, open Firebase Realtime Database, CORS, cookies, security headers.
Only plain GET requests are made. localhost is always allowed. For any other host the user must confirm ownership (ShipSafe asks them directly when the client supports it). Set authorized=true ONLY after the user has explicitly said they own the site.
Args: url: Site to check, e.g. http://localhost:3000 or https://myapp.vercel.app authorized: The user explicitly confirmed they own / may test this site.
Inputs: url (required), authorized. Returns: object
scan_projectARead-onlyIdempotent
Scan a web or mobile app project for security issues and return a launch-readiness score.
Detects leaked secrets (public env vars, keys in client bundles), Supabase tables without RLS, open Firebase rules, API routes/server actions without auth, IDOR, SQL/NoSQL/command injection, SSRF, unverified Stripe webhooks, client-controlled prices, AI endpoints without auth or rate limits, insecure mobile config, and hallucinated/typosquatted/vulnerable dependencies.
Args: path: Absolute path to the project root. Defaults to the client's workspace root. check_dependencies: Look up dependencies on npm/PyPI and OSV.dev. offline: Never touch the network (skips registry and vulnerability lookups).
Inputs: path, offline, check_dependencies. Returns: object
scan_snippetARead-onlyIdempotent
Check a piece of code before writing it to disk (no project needed).
Use it for auth, payment, database, file/URL handling and AI-calling code.
Args: code: Source code to check. filename: Realistic path; it drives language and context detection (e.g. app/api/users/route.ts, components/Form.tsx, supabase/migrations/001.sql, app.py). runtime: Where the code runs. "client" = shipped to browsers/apps; "auto" guesses from filename/directives.
Inputs: code (required), runtime, filename. Returns: object
verify_fixesARead-onlyIdempotent
Re-scan the project after edits and report what was fixed, what remains and the score change.
Args: path: Project root; defaults to the most recently scanned project.
Inputs: path. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 8 tools
Each tool has a clear primary purpose: scanning project/snippet/live, listing/getting findings, verifying fixes, checking dependencies, and generating reports. Minor overlap exists between scan_project and check_dependencies (and verify_fixes re-scans), but descriptions are specific enough to avoid serious misselection.
All tool names follow a consistent verb_noun pattern in lowercase snake_case: scan_project, list_findings, get_finding, verify_fixes, scan_snippet, check_dependencies, probe_live, generate_report. There are no mixed conventions or vague verbs.
Eight tools is well-scoped for a security scanning server. Each tool covers a distinct stage of the workflow: scanning, inspecting findings, verifying fixes, live probing, dependency checks, and reporting, with no redundant or unnecessary additions.
Core coverage is solid: scanning (project, snippet, live, dependencies), finding inspection (list, get), verification, and reporting. Minor gaps include the inability to dismiss/mark findings as false positives or view scan history, but these are not critical to the primary launch-readiness workflow.
Maintenance
Related MCP Connectors
Security scanner for AI-written code: SAST, secrets, dependencies, IaC, containers and DAST.
Checks AI-written code for leaked keys and made-up packages, on your machine. Never uploads code.
Scan websites and code for security, performance and SEO issues from your AI assistant.
Code security scanner for founders and small teams: leaked secrets, missing RLS, injection, CVEs
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to scan project dependencies and Infrastructure as Code files for security vulnerabilities and misconfigurations. It also provides automated fixing capabilities to remediate identified security issues.183MIT

Cybrium MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceProvides AI coding assistants with real-time security scanning superpowers, including SAST, secrets detection, dependency CVE scanning, and web vulnerability assessment.27 npmApache 2.0- AlicenseNot gradedqualityCmaintenanceEnables AI-powered security scanning of code changes and files through coding assistants, detecting vulnerabilities and providing fixes.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI editors such as Cursor, Claude Code, Windsurf and VS Code to scan a project for common AI-introduced security mistakes β leaked keys, open Supabase/Firebase data, missing auth, unverified Stripe webhooks, SQL injection and more β and return findings with exact fix instructions. It also provides a guided prompt that walks an agent through fixing critical issues one by one and verifying each fix by re-scanning, without ever editing files or rotating keys itself.2MIT