
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@visionfi/desktop-cli
Advanced tools
Command-line interface for VisionFI Desktop SDK with Azure AD authentication and automatic endpoint discovery.
npm install -g @visionfi/desktop-cli
Or run without installing:
npx @visionfi/desktop-cli
Login (automatically discovers your API endpoint):
visionfi-desktop auth login
List packages:
visionfi-desktop package list
Get help:
visionfi-desktop --help
The CLI uses Azure AD authentication with automatic endpoint discovery via the Beacon service. No manual configuration required!
# Login with Azure AD (opens browser)
visionfi-desktop auth login
This will:
visionfi-desktop auth login # Login with Azure AD + auto-discover endpoint
visionfi-desktop auth logout # Logout and clear tokens
visionfi-desktop auth verify # Check authentication status
visionfi-desktop auth token # Get token (debugging)
# List all packages
visionfi-desktop package list
# List with JSON output
visionfi-desktop package list --format json
# Filter by status
visionfi-desktop package list --status ready
visionfi-desktop package create \
--product-type sync1-loan-application-test \
--description "My loan application"
visionfi-desktop package get <package-id>
visionfi-desktop package audit <package-id>
visionfi-desktop package document add <package-id> \
--file document1.pdf \
--file document2.pdf
visionfi-desktop package document delete <package-id> <document-id>
visionfi-desktop package processing execute <package-id> \
--workflow vehicle-info-extraction
visionfi-desktop package processing history <package-id>
visionfi-desktop package processing result <package-id> <process-id>
visionfi-desktop package processing view <package-id> <process-id>
visionfi-desktop package processing poll <package-id> <process-id>
visionfi-desktop package ref add <package-id> \
--refs ref-id-1 ref-id-2
visionfi-desktop package ref remove <package-id> \
--refs ref-id-1 ref-id-2
visionfi-desktop admin products
visionfi-desktop admin client
visionfi-desktop config
Configuration is stored at: ~/.visionfi/desktop/config.json
You can override defaults with environment variables:
# Override Azure AD client ID (optional)
export AZURE_CLIENT_ID=your-client-id
# Override Azure AD tenant ID (optional)
export AZURE_TENANT_ID=your-tenant-id
# Override Beacon service URL (optional)
export VISIONFI_BEACON_URL=https://beacon.visionfi.ai
# Override API endpoint (bypasses Beacon discovery)
export VISIONFI_CLOUD_RUN_ENDPOINT=https://your-endpoint.run.app
For convenience, some commands have shorter aliases:
package → pkgdocument → docprocessing → procExamples:
visionfi-desktop pkg list
visionfi-desktop pkg doc add <package-id> --file document.pdf
visionfi-desktop pkg proc execute <package-id> --workflow extraction
# 1. Create package
visionfi-desktop pkg create \
--product-type sync1-loan-application-test \
--description "Auto loan application"
# 2. Add documents
visionfi-desktop pkg doc add <package-id> \
--file application.pdf \
--file paystub.pdf
# 3. Execute processing
visionfi-desktop pkg proc execute <package-id> \
--workflow vehicle-info-extraction
# 4. Poll for results
visionfi-desktop pkg proc poll <package-id> <process-id>
# 5. View results
visionfi-desktop pkg proc result <package-id> <process-id>
Most commands support different output formats:
# Table format (default)
visionfi-desktop package list
# JSON format
visionfi-desktop package list --format json
# YAML format
visionfi-desktop package list --format yaml
The CLI follows security best practices for credential storage:
~/.visionfi/desktop/msal-cache.json with 0600 permissions (user-only read/write)# Check authentication status
visionfi-desktop auth verify
# Re-authenticate
visionfi-desktop auth logout
visionfi-desktop auth login
If you see "Session expired" errors:
visionfi-desktop auth login
# Logout and clear cache
visionfi-desktop auth logout
# Manually remove config
rm -rf ~/.visionfi/desktop/
Copyright (c) 2024-2025 VisionFI. All Rights Reserved.
FAQs
Command-line interface for VisionFI Desktop SDK
We found that @visionfi/desktop-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.