Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@prosopo/cli

Package Overview
Dependencies
Maintainers
3
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Potential malware was recently detected in this package.

Affected versions:

3.6.333.6.343.6.353.6.36

@prosopo/cli

CLI for Prosopo Provider

Source
npmnpm
Version
3.6.35
Version published
Weekly downloads
833
1181.54%
Maintainers
3
Weekly downloads
 
Created
Source

Prosopo Provider CLI

The Provider CLI is used to manage and run a Prosopo Procaptcha Provider instance. It can start the Provider API server, manage datasets, register site keys, and run scheduled maintenance tasks.

The CLI is intended to be used from within the Prosopo Provider container image. A bundled version is available in the container.

Usage

Start the API Server

node ./dist/cli.js --api

Start with admin endpoints enabled:

node ./dist/cli.js --api --adminApi

Start in development mode (watches .env for changes and hot-restarts):

node ./dist/cli.js --api --dev

Load a Dataset

Load a captcha dataset into the provider database:

node ./dist/cli.js provider_set_data_set --file /path/to/dataset.json

Register a Site Key

node ./dist/cli.js site_key_register <sitekey> <tier>

Or register via an API call to another provider:

node ./dist/cli.js site_key_register_api <sitekey> <tier>

Database Management

Create indexes on the internal database:

node ./dist/cli.js ensure_indexes

Create indexes on the external captcha database:

node ./dist/cli.js ensure_external_indexes

Other Commands

node ./dist/cli.js store_captchas              # Store captcha records externally
node ./dist/cli.js update_spam_email_domains    # Update spam email domain blocklist
node ./dist/cli.js migrate_abuser_score_threshold # Run database migration
node ./dist/cli.js version                      # Print the software version

Global Options

--api        Start the Provider API server              [boolean] [default: false]
--adminApi   Enable admin API endpoints                 [boolean] [default: false]
--help       Show help                                                   [boolean]
--version    Show version number                                         [boolean]

FAQs

Package last updated on 09 Jun 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