New
Apps 6,410Makers 6,389This week 12
Promote your app−30%
ShipSafe screenshot 1
5views in
the last 30 days

ShipSafe

Security scanning for developers who ship fast

Built with Claude Code

by icxcnikaanon · Unclaimed · from PRPuerto Rico · added Oct 29, 2026
no ratings0 comments

Security scanning for developers who ship fast.

What it does

ShipSafe helps detect vulnerabilities, hardcoded secrets, and dangerous dependencies before they reach production. It ships with 1,266 detection rules (1,062 vulnerability + 174 secret + 30 environment threat patterns), requires zero configuration, and works with Claude Code, Cursor, Windsurf, Copilot, Cline, and any AI coding tool. Built-in scans run in TypeScript; installed Semgrep, Gitleaks, and Trivy can add coverage. Detection rules are heuristics, not a guarantee that a project is secure.

Quick Start

npm install -g @shipsafe/cli

That's it. One command installs the CLI, the MCP server for AI assistants, and auto-registers with Claude Code. Run shipsafe init inside any project to install git hooks and write AI instructions to your editor config files.

ShipSafe is designed for active development — it catches issues as you write code, not after the fact. For existing codebases, run shipsafe baseline to snapshot current findings and only see new issues going forward.

Run your first scan

Requires Node.js 20 or later. In your project directory:

shipsafe scan --scope all
shipsafe scan-environment

The default shipsafe scan scope is staged files. Use --scope all to assess the current project. --json emits a JSON report; high or critical findings set a nonzero exit status. If a required scanner fails, the command reports an incomplete scan instead of a clean grade. A baseline suppresses reviewed findings; it does not fix them.

Privacy and scan limits

CLI source analysis runs locally. Dependency advisory checks send dependency information to npm, and optional monitoring and licensing contact their configured services. The separate web scanner processes submitted text and public repositories on a server. Use the CLI for confidential source code and secrets.

Scans can miss issues and report false positives. Generated files, configured exclusions, large files, and some file types are skipped. Review results alongside tests and code review before deployment. Hooks can be bypassed and cannot replace runtime access controls.

What it catches

  • 1,062 vulnerability patterns -- SQL injection, prompt injection, XSS, command injection, path traversal, SSRF, CSRF, prototype pollution, insecure cryptography, insecure deserialization, authentication issues, and more
  • 174 secret patterns -- AWS keys, GCP service accounts, Azure tokens, GitHub PATs, Stripe keys, database URLs, JWTs, private keys, OAuth secrets, and dozens more -- with Shannon entropy validation to reduce false positives
  • 30 environment threat patterns -- prompt injection in CLAUDE.md and AGENTS.md, malicious MCP server configs, project-local hooks, SKILL.md and legacy command file manipulation, obfuscated instructions, credential theft, reverse shells
  • Dependency vulnerabilities -- deprecated packages, known CVEs, typosquatting detection, maintenance status checks

How it works

ShipSafe protects your code through three layers:

  1. Git hooks (pre-commit and pre-push) -- installed automatically on first scan, they block commits and pushes that contain critical or high-severity findings. Works with any editor, any workflow.

  2. MCP server -- exposes 8 tools over stdio transport so AI coding assistants can scan, fix, and query your project's security posture in real time.

  3. CLI -- direct commands for scanning, baselining known findings, checking packages before install, and managing configuration.

CLI Commands

Command Description
shipsafe scan Scan project for vulnerabilities. Options: --scope staged|all|file:<path>, --fix, --json
shipsafe init Initialize ShipSafe in a project. Installs hooks, writes AI config files (CLAUDE.md, .cursorrules, etc.), registers MCP servers
shipsafe setup Register MCP server with Claude Code, Cursor, and other editors
shipsafe baseline Snapshot current findings so only new issues are reported. Options: --show, --clear
shipsafe activate <key> Activate a Pro or Team license key
shipsafe config list View current configuration
shipsafe config set <key> <value> Set a config value. Add --global for user-wide settings
shipsafe audit <url> Audit a remote GitHub/GitLab repo before installing. Checks for vulnerabilities, secrets, malicious patterns, obfuscation, postinstall threats, and environment risks. Options: --json
shipsafe scan-environment Scan Claude Code environment for malicious MCP servers, hooks, skills, and prompt injection in CLAUDE.md. Options: --json
shipsafe status Show project security status, hook state, and available engines
shipsafe connect Connect project to ShipSafe cloud for monitoring
shipsafe upload-sourcemaps Upload source maps for production error resolution
shipsafe mcp-server Start MCP server (stdio transport, used by AI assistants)

.shipsafeignore

Create a .shipsafeignore file in your project root to exclude files and directories from scanning. Uses gitignore-style syntax:

# Exclude test fixtures
tests/fixtures/

# Exclude generated files
src/generated/

# Exclude specific file
config/legacy-secrets.ts

Local project scans also respect your .gitignore and skip generated directories such as node_modules, dist, .git, and coverage by default. Remote shipsafe audit scans remove symlinks and repository-authored ignore files from their temporary checkout so an untrusted repository cannot redirect reads or hide findings through those files.

Configuration

ShipSafe uses two config files, merged together (project overrides global):

  • Global: ~/.shipsafe/config.json
  • Project: shipsafe.config.json
# View current config
shipsafe config list

# Set project-level config
shipsafe config set scan.severity_threshold medium

# Set global config
shipsafe config set licenseKey SS-PRO-abc123 --global

Environment variables

Variable Description Default
SHIPSAFE_API_URL API endpoint override https://shipsafe-m9nc6.ondigitalocean.app
SHIPSAFE_DB_PATH SQLite database path (API) ~/.shipsafe/shipsafe.db

MCP Tools

ShipSafe exposes 8 tools through the Model Context Protocol for AI coding assistants:

Tool Description
shipsafe_scan Run a security scan on a project directory
shipsafe_status Get project security status, hook state, and scanner availability
shipsafe_check_package Vet an npm package before installing (typosquatting, CVEs, maintenance)
shipsafe_fix Apply auto-fix for a finding (moves secrets to .env, suggests code fixes)
shipsafe_graph_query Query the knowledge graph for callers, callees, attack paths, blast radius
shipsafe_production_errors Fetch production errors with stack traces and suggested fixes
shipsafe_verify_resolution Check if a production error has been resolved

The MCP server is registered automatically during shipsafe init or shipsafe setup. To configure it manually:

{
  "mcpServers": {
    "shipsafe": {
      "command": "npx",
      "args": ["-y", "shipsafe", "mcp-server"]
    }
  }
}

Pricing

Free Pro ($19/mo) Team ($49/mo)
Vulnerability + secret scanning Yes Yes Yes
Git hooks (pre-commit, pre-push) Yes Yes Yes
Projects 1 5 20
Knowledge graph engine -- Yes Yes
Auto-fix (secrets to .env) -- Yes Yes
Production error monitoring -- Yes Yes
MCP server tools -- Yes Yes
GitHub App (PR checks) -- -- Yes
Source map resolution -- -- Yes
shipsafe activate SS-PRO-yourkeyhere

Development

Requires Node.js >= 20.

# Install dependencies
npm install

# Build
npm run build

# Run CLI locally (without building)
npm run dev -- scan
npm run dev -- init
npm run dev -- setup

# Run tests
npm test

# Run tests in watch mode
npm run test:watch

# Type-check without emitting
npm run lint

# Run cloud API locally
cd packages/api && npm run dev

Architecture

bin/shipsafe.ts          CLI entry point (Commander.js)
src/
  engines/
    builtin/             Pure TS pattern + secret + dependency scanners
    pattern/             Scanner orchestration (Semgrep, Gitleaks, Trivy wrappers)
    graph/               Tree-sitter + KuzuDB knowledge graph
  cli/                   CLI commands (scan, init, activate, config, baseline, etc.)
  mcp/                   MCP server + 8 tools (stdio transport)
  autofix/               Auto-fix engine (secret fixer, scaffolding, PR generation)
  github/                GitHub App (webhooks, PR scanner, checks API)
  hooks/                 Git hook installer (pre-commit, pre-push)
  config/                Global + project config manager
  claude-md/             CLAUDE.md / .cursorrules injection manager
packages/
  api/                   Hono cloud API with SQLite persistence
  monitor/               @shipsafe/monitor client error capture snippet

Conventions

  • TypeScript strict mode, ESM modules
  • Vitest for testing
  • No classes -- plain functions and types
  • Errors are thrown as typed errors, never swallowed silently

License

UNLICENSED -- proprietary software by ShipSafe.

@shipsafe/monitor is MIT licensed.


shipsafe.org

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#security · #scanner