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

@invarn/cli

Latest version: v0.9.449

Overview

Last scanned
24 Nov 2026
Published
23 Nov 2026
npm package Publisher: stancic
323 Versions
32.6K Downloads

Scan summary

@invarn/cli was last scanned on 24 Nov 2026 at version 0.9.449. Risk score 1 of 100 (low). No malicious behavior was detected.

  • Releases: 323 versions; the latest 5 were published within 2 days (22 and 23 Nov 2026).
  • Findings: 2 rules fired in version 0.9.449 (10 instances: 1 medium, 9 low). The score describes this version only.
  • Downloads: 32,577 downloads.

Versions

323 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.9.449 LATEST 23 Nov 2026 2 rules fired
0.9.448 23 Nov 2026 2 rules fired
0.9.447 22 Nov 2026 2 rules fired
0.9.446 22 Nov 2026 Not shown
0.9.445 22 Nov 2026 Not shown

Rules fired in 0.9.449: 2

Findings

1 Medium 9 Low

Findings for v0.9.449. 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.

Obfuscated code across many files

Several files in the package match the output style of a JavaScript obfuscator, so a large part of its code cannot be reviewed as written. Some commercial tools ship this way to protect their code. On its own this is not evidence of malicious behavior.

MEDIUM

Obfuscated JavaScript

LOW
Checking access…

🔒 Create a free account to see all 10 findings with descriptions and instance counts

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

README

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

invarn

Mobile CI (iOS / Android) from your terminal — with a built-in MCP server so AI agents (Claude Code, Cursor, Claude Desktop, Codex) can drive your builds, tests, and releases from inside a conversation.

Install

npm install -g @invarn/cli

This installs the invarn command.

Set up a project in one command

If you have just connected a repository on invarn.com, run this in your checkout:

npx @invarn/cli@latest setup

It signs the machine in, matches the checkout to the project you created, writes the pipeline Invarn finishes for your commit (Invarn works the build variables out from the repository on GitHub, so commit and push first), finds the secrets already on this machine, asks before uploading any of them, then commits, pushes, and streams the first build.

Flag Effect
--yes Skip both confirmations. For scripting.
--no-secrets Skip secret discovery and upload entirely.
--no-push Write the files, stop before committing.
--no-build Stop after the push.
--import <path> Adopt an existing bitrise.yml instead of the generated pipeline.
--workflow <name> Which workflow the first build runs.
--project-dir <path> Where the project is, when it is not at the repository root.
--module <gradle-path> Which module builds the app, for a repository that builds more than one.
--shared-module <gradle-path> Which module is the KMM shared module.
--android-app-module <gradle-path> Which module is the KMM Android app.
--json Machine-readable output. Without --yes it writes, commits, pushes and uploads nothing, starts no build, and lists what --yes would do.

Invarn abstains rather than guess when a repository builds two real applications, and in a terminal setup asks which one. The three module flags above answer the same question without a terminal.

Nothing leaves your machine without a y: secret discovery only looks for the keys your pipeline itself declares and leaves empty, values are never printed, and the upload sits behind one confirmation that defaults to No.

How pushes and pull requests build

Pushes and pull requests build from the trigger_map of the project's pipeline. Which pipeline that is depends on your default branch:

  • No .ci/pipelines/cibuild.yml on the default branch. Invarn builds from the pipeline it generated when you added the project (the one you see in the dashboard), with its triggers and its YAML. Nothing has to be committed for builds to run.
  • .ci/pipelines/cibuild.yml on the default branch. Committing it on the default branch replaces the generated pipeline: from the push that adds it on, every push and pull request builds from the files in your repository. A branch or pull request that adds the file keeps building from the generated pipeline until the file is merged into the default branch.

Other pipeline files in .ci/pipelines/ (an agent's, say) do not replace the generated pipeline. Each one builds from the repository at the pushed commit whenever its own trigger_map matches, so one push can start both a build of the generated pipeline and a build of each other matching file. Agent pipelines only ever build from a file in the repository.

While a new project is still setting up its first build (or waiting for the secrets it needs), pushes from the generated pipeline do not build; the first build starts by itself when setup is done.

To stop builds, disconnect the repository in the dashboard (Settings → Connections; this deletes the project). Removing the pipeline file from the default branch does not stop them; Invarn goes back to building from the generated pipeline.

Getting Started

One step: sign in and connect your AI clients
npx -y @invarn/cli@latest install

This signs you in if you are not signed in yet (in the browser; with a code over SSH or on a machine without a display), then adds the Invarn MCP server to each AI client it finds on this computer: Claude Code, Cursor, Claude Desktop and Codex. Every client gets the same entry, npx -y @invarn/cli@latest mcp serve, so it always runs the newest published CLI, and no token is ever written into a client's config. It shows each change and asks before making it, backs each file up beside itself first, keeps your other servers as they are, and leaves a file it cannot read safely untouched. It finishes by checking your login and starting the server once to make sure it answers.

Flag Description
--yes Make the changes without asking
--shell / --no-shell Add (or don't offer) an invarn command in ~/.local/bin that runs the newest published CLI. Off with --yes unless --shell is given; only offered when that folder is already on your PATH
--token <token> Sign in with a token from the dashboard
--device-auth Sign in with a code

invarn uninstall removes what install added (the MCP entries and the shell command), asking first; add --logout to also remove the login saved on this computer.

Reconnect the MCP server in any AI session that was already open.

Cursor and Claude Desktop are apps opened outside a terminal, which do not see your shell's PATH, so they get the full path of npx and a PATH with its folder. After a Node version change (nvm and the like) that folder is gone: run install again and it offers to update the path.

Windows support is best effort: the client entry runs cmd /c npx …, and the shell command is not offered.

1. Sign in

install above signs this computer in. To sign in without changing your AI clients:

invarn auth login                   # In the browser
invarn auth login --device-auth     # With a code (SSH, no display)

invarn auth logout signs this computer out.

CI and scripts: a team token

A CI job or a script uses a team token. An owner or admin of the organization makes one in Settings → Access; it belongs to the organization, so it keeps working when the person who made it leaves. Save it in your CI's secret store as INVARN_TOKEN (INVARN_TOKEN=inv_team_…) and sign in with it before the other commands:

npx -y @invarn/cli@latest auth login --token "$INVARN_TOKEN"
npx -y @invarn/cli@latest build run --pipeline .ci/pipelines/cibuild.yml --workflow primary

Builds started with a team token count toward the team quota.

A CI job that used a personal token. A current CLI can move an older personal token onto an agent token of its own when it signs in with it, and then turn the personal token off in Invarn. That run keeps working; the job's next run, which starts from a fresh machine with the same secret, is refused with a message saying the token was replaced. Make a team token in Settings → Access and put it in the CI secret in place of the old one.

2. Run a build
# Start an iOS / Android build on Invarn's infrastructure
invarn build run --pipeline .ci/pipelines/cibuild.yml --workflow primary
3. Let AI drive your CI

Start the MCP server and your AI coding agent can run builds, fetch their files, and look at your app and check it (capture) without leaving the conversation:

invarn mcp serve

invarn install (above) adds it to Claude Code, Cursor, Claude Desktop and Codex for you. To add it by hand: if you installed @invarn/cli globally,

{
  "mcpServers": {
    "invarn": {
      "command": "invarn",
      "args": ["mcp", "serve"]
    }
  }
}

Or without a global install, using npx (always the newest published version):

{
  "mcpServers": {
    "invarn": {
      "command": "npx",
      "args": ["-y", "@invarn/cli@latest", "mcp", "serve"]
    }
  }
}

Commands

Thirteen top-level commands; invarn help lists them with every option.

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).

  • npm @invarn/cli

References

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

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229