@scanrail/cli
v0.1.4
Published
Developer-first security scan orchestrator
Maintainers
Readme
Scanrail CLI
Developer-first security scan orchestration from one CLI.
This package installs the scanrail command and delegates to the platform-specific Go binary package for macOS, Windows, or Linux.
Install
npm install -g scanrail
scanrail doctorYou can also run it without a global install:
npx scanrail doctorFirst Scan
scanrail init --non-interactive --project-name demo --target https://example.com
scanrail run --profile quickThe current MVP includes the CLI scaffold, config generation, workspace setup, JSON/HTML reporting, a native security headers scanner, and a Docker-backed Gitleaks secrets adapter. Use scanrail run --only headers without Docker, or scanrail run --only gitleaks for the secrets scan only. Trivy and Semgrep adapters are planned.
MCP
Scanrail includes a local stdio MCP server for AI clients:
scanrail mcp serveThe MCP MVP exposes bounded tools for doctor, config reading, latest report summaries, and the native headers scan with explicit active-scan confirmation.
Package Layout
scanrail is the recommended npm entrypoint. @scanrail/cli is the underlying scoped wrapper package and installs one optional platform package:
@scanrail/cli-darwin-arm64@scanrail/cli-darwin-x64@scanrail/cli-win32-x64@scanrail/cli-win32-arm64@scanrail/cli-linux-x64@scanrail/cli-linux-arm64
Links
- Repository: https://github.com/raeseoklee/scanrail
- Documentation: https://github.com/raeseoklee/scanrail#readme
- Issues: https://github.com/raeseoklee/scanrail/issues
- Security: https://github.com/raeseoklee/scanrail/blob/main/SECURITY.md
License
Apache-2.0
