Skip to content

Security: devicecloud-dev/dcd-cli

SECURITY.md

Security Policy

We take the security of the devicecloud.dev CLI (@devicecloud.dev/dcd) seriously. Thank you for helping keep our users safe.

Supported Versions

Security fixes are released against the latest published major version on npm. Always upgrade to the newest release before reporting:

$ npm install -g @devicecloud.dev/dcd@latest   # npm install
$ dcd upgrade                                   # binary install
Version Supported
Latest 5.x ✅
Older majors ❌

Verifying downloads

Every standalone release from 5.17.0 on publishes SHA256SUMS.sig next to its binaries and SHA256SUMS. It holds two signatures, ECDSA P-256 and ML-DSA-65 (FIPS 204), over this message:

dcd-cli-release/v1
version=<the version, without a leading v>
sha256sums=<the SHA-256 of SHA256SUMS, lowercase hex>
  • dcd upgrade checks both signatures against the public keys built into the binary before it trusts any checksum, and refuses a release that fails.
  • install.sh checks the P-256 signature with openssl, and install.ps1 with .NET. If they can't check it (no openssl, or a release from before 5.17.0) they say so and fall back to the SHA-256 check. Set DCD_REQUIRE_SIGNATURE=1 to make them refuse instead.

The public keys are in release-keys/: stable-* keys sign releases, and beta-* keys sign prereleases only. To check a download by hand:

v=5.17.0
curl -fsSL -O "https://get.devicecloud.dev/download/$v/SHA256SUMS" \
           -O "https://get.devicecloud.dev/download/$v/SHA256SUMS.sig" \
           -O "https://raw.githubusercontent.com/devicecloud-dev/dcd-cli/production/release-keys/stable-p256-a.pem"
printf 'dcd-cli-release/v1\nversion=%s\nsha256sums=%s\n' "$v" \
  "$(shasum -a 256 SHA256SUMS | cut -d' ' -f1)" > message
grep '^ecdsa-p256-sha256 stable-p256-a ' SHA256SUMS.sig | cut -d' ' -f3 | openssl base64 -d -A > signature
openssl dgst -sha256 -verify stable-p256-a.pem -signature signature message   # Verified OK
grep '  dcd-darwin-arm64$' SHA256SUMS | shasum -a 256 -c                       # your binary

Reporting a Vulnerability

Please do not open a public GitHub issue, pull request, or Discord message for security vulnerabilities. Public reports put users at risk before a fix is available.

Instead, email security@devicecloud.dev with:

  • A description of the vulnerability and its impact.
  • Steps to reproduce (a proof of concept is ideal).
  • The CLI version (dcd --version), OS, and Node.js version where applicable.
  • Any suggested remediation, if you have one.

What to expect

  • Acknowledgement within 3 business days.
  • An initial assessment and severity triage within 7 business days.
  • Coordinated disclosure: we will work with you on a fix and a disclosure timeline, and credit you in the release notes if you wish.

Please give us a reasonable opportunity to remediate before any public disclosure.

Scope

This policy covers the code in this repository — the dcd CLI and the dcd-mcp server. Vulnerabilities in the devicecloud.dev backend or web console should also be sent to security@devicecloud.dev and will be routed to the right team.

Secrets

This repository is scanned for committed secrets by gitleaks on every push and pull request, and via a local pre-commit hook. If you believe a secret has been committed, email security@devicecloud.dev immediately rather than opening an issue.

There aren't any published security advisories