npx ship-safe audit . --no-aiThe 29 built-in agents, dependency checks, scoring, policy evaluation, and report generation run locally. No AI provider is called.
Ship Safe CLI is local-first. Remote AI analysis and hosted workflows are separate modes with explicit data boundaries and controls.
--no-ai forces offline scanningLocal scans can produce structured findings and reports. Hosted review is a separate workflow you choose when you need history, investigation, and team collaboration.

Having a supported provider key in your environment may enable optional AI classification unless you pass --no-ai.
npx ship-safe audit . --no-aiThe 29 built-in agents, dependency checks, scoring, policy evaluation, and report generation run locally. No AI provider is called.
npx ship-safe audit . --provider <name>Ship Safe sends finding metadata and bounded matched-code context for classification or deep analysis. Common credential patterns are masked before provider-bound prompts.
npx ship-safe red-team . --gpt-red --provider <name>The red-team harness sends bounded agent-readable files and relevant configuration so attacker, defender, and judge scenarios can reason across real repository context.
Dashboard, reports, and PR GuardianRepository metadata, scan results, findings, and reports are processed as needed to provide the hosted feature you explicitly use.
Provider-bound classification, deep-analysis, and GPT-Red context applies best-effort masking for private keys, authorization headers, common secret assignments, and recognizable provider-token formats.
Masking is defense in depth, not a guarantee that arbitrary sensitive business data can be identified. Use --no-ai when repository content must not leave the machine.
The CLI calls the provider configured through your environment or command options. Provider API keys authenticate directly to that endpoint; they are not uploaded to the Ship Safe dashboard by the local CLI.
For local model inference, use a supported localhost provider such as Ollama or LM Studio.
Incremental scan context, score history, accepted baselines, fix logs, and time-limited LLM response caches can be written under .ship-safe/ in the scanned project.
Add that directory to .gitignore when you do not want local scan state committed.
Use the explicit control when source code or findings cannot be sent to any external model.
$ npx ship-safe audit . --no-aiThe 29 built-in agents can run locally without sending source code to Ship Safe or an AI provider. Provider-backed analysis and GPT-Red send bounded repository context to the provider you select. Use --no-ai to force offline scanning.
No API key is required for local scanning. A provider API key is required only when you explicitly use remote AI classification, deep analysis, or provider-backed GPT-Red workflows.
Run npx ship-safe audit . --no-ai. The local agent pool, dependency checks, scoring, policies, and report generation remain on your machine.