Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

forgexa-cli

Latest version: v1.113.1

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: sunfeng
177 Versions
18.8K Downloads

Scan summary

forgexa-cli was last scanned on 27 Nov 2026 at version 1.113.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 177 versions; the latest 5 were published within 2 days (26 and 27 Nov 2026).
  • Findings: No rules fired in version 1.113.1.
  • Downloads: 18,764 downloads.

Versions

177 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.113.1 LATEST 27 Nov 2026 No rules fired
1.112.4 26 Nov 2026 No rules fired
1.112.3 26 Nov 2026 No rules fired
1.112.2 26 Nov 2026 Not shown
1.112.1 26 Nov 2026 Not shown

No rules fired in 1.113.1

Findings

Findings for v1.113.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.113.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Forgexa CLI

Command-line client and agent runtime for the Forgexa platform.

Communicates with the Forgexa server via REST API. Includes a built-in daemon with fourteen integrations: Claude Code, Codex, GitHub Copilot, Gemini CLI, OpenCode, Kimi Code, MiMo Code, Qwen Code, CodeBuddy, Qoder CLI, TraeCode CLI, ZCode, DeepSeek Harness, and MiniMax Code. Six standard candidates are automatically routed; eight require explicit selection. MiniMax Code and Harness require owned personal Runtimes/Desktop and local build/profile acceptance. Harness retains its exact 0.2.0-rc.2 and read-only external credential requirements. See installation and limits.

MiniMax Code is included in that count, supporting reviewed 0.7.0 with 0.6.13 compatibility. Run forgexa agent minimax-init to create an empty private profile, authenticate there, then use forgexa agent minimax-status and forgexa agent approve-live minimax --evidence PATH after real local acceptance. Personal credentials are never copied; Agent-only approval is refused. forgexa check --agent minimax --quick is non-billable; normal check runs a potentially billable task. See MiniMax setup, evidence and recovery.

Forgexa 1.93.0 introduced native-Linux OpenCode v2 support. Builds with the expanded version gate support stable v1 >=1.4.0,<2.0.0 and native-Linux v2 >=2.2.5,<2.5.0. OpenCode 2.3.x and 2.4.x require the updated server and executing Runtime; macOS/Windows/WSL retain v1 until their v2 acceptance passes. See OpenCode installation, PATH and headless model selection. All OpenCode execution paths honor FACTORY_OPENCODE_MODEL; a TUI's selected model is not necessarily the headless default.

Installation

# From PyPI (recommended)
pip install forgexa-cli

# Or with pipx (isolated environment)
pipx install forgexa-cli

# Upgrade later
forgexa update
forgexa update --target-version 1.12.3

# Verify installation
forgexa version
Development Installation
# Install from source (editable mode)
git clone https://github.com/forgexa/forgexa.git
cd ai-software-factory/cli
pip install -e .

Quick Start

# Configure server (default: http://localhost:8000)
export FORGEXA_SERVER_URL=https://your-server.example.com

# Login (saves session to ~/.forgexa/credentials.json)
forgexa login

# List workspaces
forgexa workspace list

# List projects
forgexa project list --workspace <workspace-id>

# Show kanban board
forgexa board --project <project-id>

Commands

Command Description
forgexa login Login and save access token
forgexa logout Remove saved token
forgexa workspace list List workspaces
forgexa workspace create <name> Create a workspace
forgexa project list --workspace <id> List projects
forgexa project create <name> --workspace <id> Create a project
forgexa requirement list --project <id> List requirements
forgexa requirement create <title> --project <id> Create a requirement
forgexa requirement analyze --id <id> Analyze a requirement
forgexa board --project <id> Show kanban board
forgexa run list --project <id> List executions
forgexa run start <execution-id> Start an execution
forgexa gates pending List pending gates
forgexa gates approve --gate <id> Approve a gate
forgexa gates reject --gate <id> Reject a gate
forgexa workflow show --project <id> Show workflow policy
forgexa workflow reload --project <id> Reload workflow
forgexa budget --workspace <id> Budget overview
forgexa daemon start Start local daemon (discover agents, run tasks)
forgexa daemon start -d Start daemon in background
forgexa daemon status Show your daemon statuses (credential type, prefix, expiry)
forgexa daemon stop Stop local daemon
forgexa daemon enroll Issue a dedicated runtime credential for this machine (recommended for long-running daemons)
forgexa daemon rotate-token Rotate this runtime's credential (old one is revoked immediately)
forgexa daemon revoke-credential Revoke this runtime's credential (keeps your login session)
forgexa check Verify locally-installed agent CLIs are genuinely usable (runs a real task per agent)
forgexa check --quick Same, but discovery only — no live task, no API calls
forgexa check --agent <name> Check a single agent (e.g. claude, codex, kimi)
forgexa runtimes list List your runtimes
forgexa version Show CLI version
forgexa version --status Show auto-upgrade status (mode, active/last success/last failure)
forgexa update / forgexa upgrade Upgrade to the latest CLI release
forgexa update --target-version <version> Upgrade or roll forward to a specific release

Self Upgrade

# Upgrade to the latest published release
forgexa update

# Upgrade to a specific published release
forgexa update --target-version 1.12.3

forgexa update is an alias for forgexa upgrade; both commands support the same options and behavior.

The command detects how forgexa-cli was installed:

  • pipx install: uses pipx upgrade --index-url https://pypi.org/simple forgexa-cli, or pipx install --force --index-url https://pypi.org/simple forgexa-cli==<version> for a pinned version
  • pip install: uses python -m pip install --upgrade --index-url https://pypi.org/simple forgexa-cli
  • non-editable local path install (pip install /path/to/cli): follows the same pip upgrade path and switches to the published PyPI release

Self-upgrades pass --index-url https://pypi.org/simple to pip or pipx, matching the official PyPI release check and avoiding a configured mirror that has not yet synchronized a new release. A direct pip install --upgrade forgexa-cli command always follows that Python environment's pip configuration. When its mirror is behind, upgrade manually with:

python -m pip install --upgrade --index-url https://pypi.org/simple forgexa-cli==1.12.3

For safety, forgexa upgrade stops any running local daemon before upgrading. If the daemon was previously started in background mode, the CLI starts it again automatically after a successful upgrade; otherwise it prints a manual restart hint.

forgexa upgrade supports standard PyPI / pipx installs and non-editable local path installs. Editable installs, VCS installs, and other direct URL installs are rejected with a manual upgrade hint.

One-Shot Upgrade Script (recommended for production runtimes)

forgexa upgrade alone only auto-restarts the daemon if it was already running in background mode right before the upgrade started — if it had already stopped for any other reason (crash, manual stop, first-time setup), you're left to restart it yourself. cli/scripts/upgrade.sh (macOS/Linux) and cli/scripts/upgrade.ps1 (Windows) wrap the full, correct sequence explicitly so the daemon is deterministically stopped, upgraded, and started again in the background every time, regardless of its state going in:

# macOS / Linux
./cli/scripts/upgrade.sh
./cli/scripts/upgrade.sh --target-version 1.21.7
./cli/scripts/upgrade.sh --server-url https://api.forgexa.net --login
# Windows
.\cli\scripts\upgrade.ps1
.\cli\scripts\upgrade.ps1 -TargetVersion 1.21.7
.\cli\scripts\upgrade.ps1 -ServerUrl https://api.forgexa.net -Login

Steps: daemon stop (no-op if not running) → upgrade → daemon start -d → optional login → daemon status. Login is skipped by default (the previously saved session is reused) unless you pass --email/--password (-Email/-Password), set FORGEXA_LOGIN_EMAIL/FORGEXA_LOGIN_PASSWORD, or pass --login/-Login to be prompted interactively. Run with --help/Get-Help .\upgrade.ps1 for all options.

Automatic Background Upgrade

By default (auto_upgrade=silent), forgexa checks for updates in the background (once every 24h) and silently installs new releases — no need to run forgexa upgrade yourself, the same way GitHub Copilot CLI / Claude Code / Kimi Code work (see docs/designs/cli-auto-upgrade-design.md for the full design). forgexa upgrade remains fully available at any time for an immediate manual upgrade or to pin a specific --target-version — the two are independent and coexist.

# Back to notify-only: check and print a footer notice, but never install automatically
forgexa config set auto-upgrade notify

# Disable update checks entirely
forgexa config set auto-upgrade off

# Re-enable silent background installs (the default)
forgexa config set auto-upgrade silent
Mode Check Silent background install Footer notice
silent (default) ✅ ✅ ✅ (one-time "updated to vX" notice next run)
notify ✅ ❌ ✅
off ❌ ❌ ❌

A silent install only ever runs for a safe, already-detected install source (pip/pipx — the same sources forgexa upgrade supports), never while a local daemon is running (it's skipped and retried on a later invocation instead), never in CI or a non-interactive/--format json session, and gives up automatically after 2 consecutive failures for the same target version. Check forgexa version --status to see the current mode and the last install attempt's outcome, or ~/.forgexa/upgrade.log for the raw install output.

FORGEXA_AUTO_UPGRADE=<silent|notify|off> overrides the config file for the current shell session; the legacy FORGEXA_NO_UPDATE_CHECK=1 remains a supported alias for off.

Configuration

Variable Default Description
FORGEXA_SERVER_URL http://localhost:8000 `Server base URL
FORGEXA_TOKEN — Bearer token (overrides ~/.forgexa/token)
FORGEXA_AUTO_UPGRADE — Override auto_upgrade (silent|notify|off) for this session
FORGEXA_NO_UPDATE_CHECK — Legacy alias for FORGEXA_AUTO_UPGRADE=off

Output Format

forgexa workspace list                  # Table (default)
forgexa workspace list --format json    # JSON
forgexa workspace list --format quiet   # IDs only

Daemon Management

The daemon discovers locally installed AI agents and registers them with the Forgexa server. It then polls for tasks and executes them using your local agents.

Start Daemon
# Foreground (default — see logs, Ctrl+C to stop)
forgexa daemon start

# Background (detached)
forgexa daemon start -d

# Connect to a specific server
forgexa daemon start --server-url https://your-server.example.com

# Or via the standalone entry point
forgexa-daemon
Other Daemon Commands
# Check your daemon status (from server)
forgexa daemon status

# Platform admin: list all runtimes
forgexa daemon status --all

# Stop background daemon
forgexa daemon stop

# List your runtimes
forgexa runtimes list

# Platform admin: list all runtimes
forgexa runtimes list --all
Runtime Credentials

A freshly logged-in daemon authenticates with your interactive login session. For a long-running daemon (e.g. a machine that stays on 24/7), issue it a dedicated, revocable credential instead so it never depends on your session expiring:

# Issue a runtime credential for this machine (default 90-day expiry, max 365)
forgexa daemon enroll

# Rotate it (the old credential is revoked immediately — no overlap window)
forgexa daemon rotate-token

# Revoke it (keeps your login session; run 'forgexa daemon enroll' again to reissue)
forgexa daemon revoke-credential

forgexa daemon status shows which credential type is active, its prefix, and its expiry — the raw credential value is only ever printed once, at enroll/rotate time.

Agent Health Check

Before starting the daemon (or when tasks keep failing on this machine), verify that every installed agent CLI is genuinely usable — not just present on PATH. forgexa check reuses the exact discovery and execution code the daemon uses in production, so a PASS means the agent really works (auth, quota, and sandbox problems only ever surface on a real invocation).

# Check runtime prerequisites, discover installed agents, then run one real,
# minimal task through each to confirm it works
forgexa check

# Fast pass: discovery only, no live task, no API calls
forgexa check --quick

# Check a single agent
forgexa check --agent claude

# Check runtime prerequisites and only the selected agent without a live task
forgexa check --quick --agent claude

Example output:

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases forgexa-cli

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229