🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@drdeploy/cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drdeploy/cli

drdeploy CLI — post-deploy scanner for shipped websites. Catches leaked API keys, broken og:image, missing favicons, exposed .env files. Single static binary.

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
30
150%
Maintainers
1
Weekly downloads
 
Created
Source

drdeploy CLI

Single static binary. Talks to drdeploy.dev via the Bearer-token API.

What it does

drdeploy login                    # OAuth 2.0 device flow → get a token
drdeploy logout                   # revoke local token
drdeploy add <url>                # register a new site
drdeploy list                     # list sites under the current workspace
drdeploy scan <url>               # trigger a scan (or scan the last-added)
drdeploy status                   # health + last-check timestamps
drdeploy watch [url]              # daemon — re-scan on git push
drdeploy mcp serve                # run the embedded MCP server (stdio transport)
drdeploy mcp install              # write MCP config for Claude / Cursor / Cline
drdeploy --version

Backend the CLI consumes

Already shipped in the Rails app:

  • POST /api/v1/auth/device/start — RFC 8628 device flow start
  • POST /api/v1/auth/device/token — poll until user approves
  • GET /api/v1/sites — list
  • GET /api/v1/sites/:id — show
  • POST /api/v1/sites/:id/scan — scan
  • GET /api/v1/openapi.json — full spec (CLI uses this for self-update / typegen)

All Bearer-token authed via Authorization: Bearer ddp_<32 bytes>.

Token storage

~/.config/drdeploy/token (mode 0600). Path can be overridden with DRDEPLOY_CONFIG_DIR.

Build

bun install
bun run build              # → ./bin/drdeploy (current platform)
bun run build:all          # → ./bin/drdeploy-{darwin-arm64,darwin-x64,linux-arm64,linux-x64}

Distribution

Plan:

  • GitHub Releases — upload the four platform binaries
  • Homebrew tap (pghqdev/drdeploy) — formula points at the latest release
  • https://drdeploy.dev/install.sh — sniffs uname -sm, downloads the right binary, drops it in /usr/local/bin/drdeploy

Keywords

drdeploy

FAQs

Package last updated on 07 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts