New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@rtidx/cli

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rtidx/cli

RTIdx CLI — scan a repo for supply-chain and secrets risk from the terminal

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

rtidx

Scan a repository for supply-chain and secrets risk from the terminal — the CLI companion to RTIdx.

Install

npm install -g @rtidx/cli

Requires Node.js >= 20.

Usage

rtidx login                                    # sign in via your browser
rtidx logout                                   # sign out on this machine
rtidx check <repo-url> --context <context>     # scan a repository

<repo-url> must be a public GitHub or Bitbucket repository URL.

--context is required and must be one of: recruiter, client, unsolicited, dependency, self.

check options

FlagDefaultDescription
--context <value>(required)Why you're scanning this repo
--jsonfalsePrint machine-readable JSON instead of a human-readable report
--fail-on <band>high_riskMinimum risk band that causes a non-zero exit code (low_risk, suspicious, high_risk, malicious)
--wait <minutes>10How long to wait for the scan to finish before timing out

Exit codes

CodeMeaning
0Scan completed, risk band below --fail-on
1Scan completed, risk band at or above --fail-on
2Usage error (bad arguments, not signed in)
3Authentication error — run rtidx login
4Rate limited
5Network error, or timed out waiting for the scan

License

MIT

Keywords

security

FAQs

Package last updated on 25 Aug 2026

Related posts