Reference

Security and Privacy

DeployReady reads your code, probes your ports, and can hold API keys. This page states what it sends, where, and what limits apply.

What leaves your machine#

FeatureWhat is sentWhere
Scanning, scoring, reports, fixes, MCP serverNothingRuns locally. The MCP server never calls an AI model itself.
Dependency audits (on by default when a lockfile exists; skip with --offline or --no-deps)Dependency names and versions. Never source code.The npm registry for npm/pnpm audit, api.osv.dev for OSV-Scanner, PyPI or the OSV service for pip-audit. DeployReady says so each time.
Semgrep (opt-in, your rules)Nothing from your code. With a registry rule id, rules are downloaded.semgrep.dev, only if you pass a registry id. A local rules path contacts nothing. Metrics are always off.
AI analysis (optional, off with --no-ai)A redacted, structured findings report, after you approve: an interactive yes, --allow-external-ai, or allowExternalAi in configThe provider you chose: Claude API, OpenAI API, or your own claude or codex CLI login. Nothing is sent with Ollama. --yes and --json do not count as approval.
AI-proposed fix (optional)One redacted code snippet, after you confirmThe same provider. Source files are not sent.
Live and active testsHTTP requestsOnly the target you point them at. Localhost by default.
Supabase live checksHTTP requestsYour Supabase project. With an access token, also api.supabase.com to prove ownership.

API keys are read from environment variables first and are not logged. The config file ~/.deployready/config.json is written with 0600 permissions. Terminal output and AI payloads pass through a secret redactor. The redactor is pattern-based. It is not a guarantee.

Since 0.5.0, --yes and --json no longer approve sending the redacted report to an external AI provider (an API, or the claude or codex CLI). In 0.4.0 they did. Approval now takes an interactive yes, --allow-external-ai, or "allowExternalAi": true in config. Without one of those, a non-interactive run skips AI and records it as untested in the coverage. "warnBeforeExternalSend": false no longer skips the interactive prompt. Ollama is local and needs no consent.

Secret redaction#

Detection and redaction are now separate, and many more credential formats are covered. In 0.4.0 some formats could reach reports, AI prompts, or MCP output unredacted: passwords inside raw JSON text, Supabase sb_secret_ keys, GitHub fine-grained tokens (github_pat_), multi-line private keys, and passwords that merely start with words like "test" or "demo". Canary tests now push a fake key of every type through every output channel (terminal, JSON, Markdown, HTML, SARIF, fix prompts, MCP, AI prompts, logs, proof) and fail if any leaks. An AI-proposed fix can no longer write the «REDACTED» placeholder into your file in place of the real value. Redaction is still pattern-based, so it is not a guarantee. See the 0.5.0 changelog.

MCP server#

The MCP server is least-privilege: read-only and static by default, writing files only with --allow-fixes and sending requests only with --allow-live. Every path is resolved, symlinks included, and must stay inside the server root. Repository content in results is framed as untrusted data, and tools never take secrets as arguments. See MCP.

CLI-login AI providers#

The Claude and Codex CLI providers use your own installed CLI and your own plan. Your plan's data rules apply, and calls count against its usage allowance. DeployReady starts the CLI with tools disabled, from an empty temporary folder, with a minimal environment, and treats its answer as untrusted text. It never reads the CLI's credentials. To switch the Codex provider off, set "codexEnabled": false in your config.

Limits on live tests#

  • Dynamic tests target a server on loopback and are GET-only by default. They request only routes your code or OpenAPI file defines, plus a bounded set of links your running app advertises. Aggressive tests need explicit consent.
  • Active tests (--active) need your token and run against loopback. A non-loopback host is allowed only if you name that exact host with --i-own-this-target. The default safety level is read-only: GET-only, side-effect-looking routes skipped, a hard budget of 200 requests, and --dry-run to preview. The unauthenticated DELETE/PATCH probe is off unless you choose --safety-level controlled-active; it stays on loopback, uses ids that cannot exist, skips PUT, and sends no body. Redirects are never followed across hosts.
  • Supabase tests are read-only. See Supabase checks.
  • Common-path probe is opt-in: at most 20 GET requests to a fixed list that is printed first.
  • File scanning stays inside the project root, with symlink and traversal protection and size caps.

What a scan cannot tell you#

  • It is not a penetration test or a substitute for code review. A score of 100 means no confirmed findings in the areas tested, not that the app is secure. The release state and coverage in each report show which areas were untested.
  • Static analysis has false positives and false negatives. Business-logic flaws and most authorization design errors are out of reach.
  • Only JavaScript, TypeScript, and Python are analyzed.
  • AI-generated findings are marked unverified and never change the score or the CI gate.

Report a vulnerability in DeployReady#

Report privately, not in public issues. Use GitHub private vulnerability reporting: open the repository's Security tab and choose Report a vulnerability, or go to the advisory form. If you cannot use GitHub, open a public issue that says only that you need a private contact channel, without details.

Include the version (deployready --version), what you did, and what you expected. In scope: secret leakage in output or AI payloads, scanning or probing outside the intended target, path traversal out of the project root, and unsafe handling of AI or CLI provider output. Findings DeployReady reports about your own project are not vulnerabilities in DeployReady.

VersionSupported
0.7.xYes
0.6.xSecurity fixes until 0.8.0. Use 0.6.1 or later: 0.6.0 under-reports dependency advisories.
0.5.xNo. Please upgrade.
0.4.xNo. Please upgrade: 0.5.0 fixed secret-redaction and CI-baseline issues found in 0.4.x.
Below 0.4No. Please upgrade.

See also the Privacy Policy and the Security Disclaimer.