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

@ora-ai/cli

Latest version: v0.31.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: gadora, gadshalev, liady
39 Versions
3.9K Downloads

Scan summary

@ora-ai/cli was last scanned on 23 Nov 2026 at version 0.31.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 39 versions; the latest 5 were published within 5 days (19–23 Nov 2026).
  • Findings: No rules fired in version 0.31.0.
  • Downloads: 3,946 downloads.

Versions

39 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.31.0 LATEST 23 Nov 2026 No rules fired
0.30.0 22 Nov 2026 No rules fired
0.29.0 21 Nov 2026 No rules fired
0.28.0 19 Nov 2026 Not shown
0.27.0 19 Nov 2026 Not shown

No rules fired in 0.31.0

Findings

Findings for v0.31.0. 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 0.31.0; other versions have their own rules, not their own score.

README

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

ora CLI

The command line for ora. Connect your website to ora Front, measure how AI agents treat your business, and run studies and agent experiments, from a terminal, a script, CI or your coding agent.

Every command is generated from ora's public API, so the CLI always matches it. The API's OpenAPI document is at https://api.ora.ai/openapi.json.

Contents: Install · Sign in · Connect a website to ora Front · Use it from an AI agent · Commands · Scripting and CI · Errors · Files and network · Support

Install

Requires Node.js 20 or newer.

npm install -g @ora-ai/cli
ora --help

You can also run it without installing, with npx @ora-ai/cli <command>. Always use the scoped name: bare npx ora fetches an unrelated package.

Run ora on its own in a terminal to browse every command: it prompts for the arguments and shows the command it will run. Piped or in CI, bare ora prints --help instead.

Sign in

ora login     # opens your browser; a new person signs up on the same page
ora whoami

Approve the sign-in in your browser and the CLI stays signed in on this machine, refreshing on its own, until ora logout, which also revokes it. Approve only a sign-in you started yourself: a link and code someone sends you would sign their terminal in as you. If a code expires before you approve it, the CLI shows a fresh one.

  • ora login --read-only asks for read permissions only.
  • ora login --no-browser only prints the link. Over SSH and in CI that is the default.
  • ora login --json prints JSON lines for an agent driving the CLI: first the link and code to show, then who signed in.

The approval page lists the permissions the CLI asks for, and you choose which to grant. A command that needs one you did not grant says which; run ora login again to allow it. ora autopilot … does not take a browser sign-in yet and needs an API key.

API keys

API keys are for CI and scripts. Create one in ora under Settings → API keys, then:

ora login --api-key ora_sk_...   # or `ora login --api-key` alone to paste it, masked
echo "$KEY" | ora login          # a key piped on stdin
ORA_API_KEY=ora_sk_... ora whoami

ORA_API_KEY wins over anything stored, so in CI just export it, preferably a short-lived key. A stored key is exchanged for a short-lived token on every call: the key itself never travels beyond that exchange. The CLI keeps one credential at a time: signing in through the browser removes a stored key, and ora login --api-key revokes and removes a browser sign-in.

Keyless sign-in from GitHub Actions

A job can sign in with no ora secret stored in the repository. In ora, trust the repository on an API key (Settings → API keys → CI sign-in). Then hand the job's identity token to the CLI, with the key's ID:

permissions:
  id-token: write
steps:
  - uses: actions/github-script@v7
    id: identity
    with:
      script: |
        core.setSecret(process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN);
        core.setOutput("url", process.env.ACTIONS_ID_TOKEN_REQUEST_URL);
        core.setOutput("token", process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN);
  - run: npx --yes @ora-ai/cli whoami
    env:
      ORA_API_KEY_ID: 1b0f6a2c-… # the key's ID; not a secret
      ACTIONS_ID_TOKEN_REQUEST_URL: ${{ steps.identity.outputs.url }}
      ACTIONS_ID_TOKEN_REQUEST_TOKEN: ${{ steps.identity.outputs.token }}

The job signs in as that key: its scopes, its expiry, its revocation. ora whoami prints a via: line naming the repository and ref that signed in.

Which credential is used, first match wins: ORA_API_KEY, then ORA_API_KEY_ID in a job that can request its identity token, then the credential ora login stored. If ORA_API_KEY_ID is set and the job has no identity token, the CLI stops and says so. It never falls back to a stored key.

Refusal Meaning
CI_NOT_TRUSTED No trust on the key admits this job: check the repository, the ref (refs/pull/*/merge for pull requests) and the environment
CI_TOKEN_INVALID The identity token did not verify, or was requested for another audience
CI_IDENTITY_UNAVAILABLE GitHub gave the job no identity token: add permissions: id-token: write

Connect a website to ora Front

ora Front makes your website work for the AI agents that visit it. Connecting a site means installing a small transmitter where the site runs (Cloudflare, Vercel, Next.js or Express), or letting ora's managed CDN serve it. Do it yourself, or give this section to your coding agent.

  1. Sign in with ora login, using an email at the website's domain (dana@acme.com for acme.com).

  2. Create the site. If it already exists you get the existing one. Note its id. Its first build starts at once (--watch follows it). Once it is published, ora also sets up tools in the background, as the app does: request forms, and tools it finds on your site. ora front actions list <site-id> lists them.

    echo '{"url":"acme.com"}' | ora front sites create --file - --watch
  3. See where it is hosted: ora front hosting detect --url acme.com

  4. Save how it connects: cloudflare, vercel, nextjs or express, and the hostname visitors land on (acme.com or www.acme.com). (managed also takes the site's host and DNS: see ora front connection update --help.)

    echo '{"method":"nextjs","hostname":"acme.com"}' | ora front connection update <site-id> --file -
  5. Read the install steps: ora front connection install get <site-id> lists the files to add, the variables to set and the commands to run for your stack.

  6. Create the transmitter's key, install and deploy. ORA_INGEST_KEY is the secret the transmitter sends, and the install steps never show it. ora front connection credentials create <site-id> creates one and shows it once (with --json, it is the answer's secret): set it where the site runs. It is an organization API key that can only report traffic and serve, the same key the app's Connect step creates: it works for any of your sites, and the connection lists it as this site's key. To rotate it, create a new one, update the transmitter, then revoke the old one with ora front connection credentials delete <site-id> <credential-id>, which stops it on every site. Creating one takes an organization owner or admin, signed in with the Secrets permission (allow it on the approval page).

  7. Check it: ora front connection checks create <site-id>, then ora front sites stream <site-id> to follow the site's status live.

  8. Switch Agent Serving on, the app's last setup step (the site's next steps list it as serve_agents once the website is connected). For a new site this also turns on Ask and MCP, at the agent address and on your website, plus intents and Markdown for agents. MCP waits if your site has its own MCP server.

    echo '{"mode":"autopilot"}' | ora front serving update <site-id> --file -

If you are a coding agent doing this for someone:

  • Sign-in waits for your user to approve it. If no browser opens, run ora login --json in the background and show your user the link from its first line.
  • Never ask your user to paste a key into the chat, and never print the transmitter's key yourself. Through ora mcp serve, front_save_transmitter_credential creates it and writes it into the site's env file without showing it to you. Otherwise your user runs ora front connection credentials create in their own terminal and sets it on the host.
  • Add the transmitter to an existing middleware or proxy file. Don't replace the file.
  • Your website's Ask and MCP answer only while Agent Serving is on: switch it on (step 8) before testing /ask or /mcp on the website.
  • Ask before you deploy, and use a preview deployment if the host has one.
  • Finish by telling your user what you changed and what the checks said.
Refusal What to do
WORK_EMAIL_REQUIRED, DOMAIN_MISMATCH Sign in with an email at the website's domain
ROLE_REQUIRED Only an organization owner or admin can connect a website
INSUFFICIENT_SCOPE creating the key Run ora login again and allow Secrets

Use it from an AI agent

Claude and ChatGPT can use ora without the CLI: add it as an app at https://app.ora.ai/mcp. Coding agents can run the CLI directly, and two commands help them further.

MCP: the CLI's commands as tools
ora mcp install --product study                # this project, for Claude Code (.mcp.json)
ora mcp install --agent cursor --product study # Cursor (.cursor/mcp.json)
ora mcp install --command front                # ora Front's tools, the same as the ora app's
ora mcp config --product study --read-only     # print the entry, for any other agent
ora mcp serve --product study                  # what the agent runs: an MCP server on stdio

ora mcp serve is the CLI served over the Model Context Protocol. Every tool is a command: study_get runs ora study get <id>, takes the same parameters (a JSON body goes in body) and answers with the API's JSON.

ora Front's commands are served as ora Front's own tools instead, exactly as https://app.ora.ai/mcp serves them to Claude and ChatGPT: the same names (front_list_sites, front_connect_website, …), descriptions, schemas and hints. Each answers its result as structured content, and a failure answers a problem with its code, whether anything changed and whether retrying can help. One Front tool is only here, because only a server on your machine can write your files: front_save_transmitter_credential creates the transmitter's key and writes it into an env file of the project without showing it to the agent.

  • --product <key> (repeatable) serves one product's commands: studio, study, experiment or platform. Without it the server offers every command, which is a long tool list for an agent.
  • --command <name> (repeatable) serves only the commands under it: front, or "front sites". --command front serves exactly ora Front's tools, plus front_save_transmitter_credential.
  • --read-only serves only the commands that read. A read sent as a POST (a study's run query) stays. The flags combine: a tool is served when every flag given keeps it.
  • Your credential still decides what any call may do. The server uses the one the CLI already has (ora login, or ORA_API_KEY in the agent's environment) and never widens it.
  • install writes the command and its flags into the agent's configuration, never a key. It merges into an existing file and leaves the other servers in it alone.
  • A refusal reaches the agent as a tool error with the API's status, code and words, so it can fix the call. A write is never retried.
  • Commands that stream are not offered: a tool call answers once. An answer over 200,000 characters is refused with its size, not cut off: ask a narrower command.
Skills: teach your coding agent to use an ora product

Each product hands out skills for coding agents: playbooks the agent loads when a task matches. ora skills <product> installs them (not to be confused with ora study skills, which manages the skills your own agents load in a study).

ora skills study list                  # what Study hands out
ora skills study add ora-study         # this project: .claude/skills (Claude Code) and .agents/skills (Codex, Cursor, Gemini CLI, OpenCode, GitHub Copilot)
ora skills study add --global          # every project, for the agents installed on this machine, each in its own folder
ora skills studio add ora-studio --agent claude-code
  • ora-study runs benchmark studies of agents: design the groups, check the design for free, rehearse, launch, read the results, hold back test-aware runs, publish and gate CI. It is public: no sign-in is needed to install it, and it is also at npx skills add ora/skills.
  • ora-studio is the playbook for measuring how agents treat your business: set the objective, create the intent, define the win, measure, read the results, improve and schedule. It comes from your ora account, so it needs a sign-in or API key with the intents:read scope.
  • --agent takes claude-code, codex, cursor, gemini-cli, opencode and github-copilot. ora skills add <name>, the first form of this command, still works.

Commands

Every command's --help ends with a ready-to-run example, including a request body where one is needed:

ora --help                          # every command group
ora experiment runs --help          # everything you can do with runs
ora experiment runs create --help   # flags and an example run.json

Commands are named after the API's operations, each part in kebab-case (ora study benchmark-definitions list). A query parameter the API requires is a required flag. A request body comes from a JSON file (--file <path>, or --file - for stdin). An operation that takes an idempotency key takes --idempotency-key <key>: send the same key again to retry, and the change never runs twice.

Intents and goals: measure how agents treat your business (Studio)
ora agents                                      # the harness × model pairs you can measure with
ora intents list
cat > intent.json <<'EOF'
{ "title": "Best managed Postgres for a B2B SaaS app", "layer": "discovery" }
EOF
ora intents create --file intent.json
ora intents measurements-status                 # are the daily measurements running?
ora intents measurements-pause-all              # pause them
ora intents measurements-resume-all             # resume them
echo '{}' | ora intents measure <intent-id> --file - --watch        # measure now and follow it until it finishes
ora intents measure-status <intent-id> <measurement-id> --watch     # each prompt × agent run, live
ora intents stream <intent-id>                  # the raw live events
cat > schedule.json <<'EOF'
{ "cadence": "daily" }
EOF
ora intents measurement-policy <intent-id> --file schedule.json     # daily | weekly | monthly | manual
ora intents get <intent-id>                     # its measurement policy and MCP servers: read before you replace its agents
ora mcp servers list                            # the organization's MCP servers and their ids (scope mcp:read)

Goals are your own definition of a win, scored on every run:

cat > goal.json <<'EOF'
{ "kind": "answer_check", "title": "Acme DB is the first pick", "criterionGroup": "choose",
  "statement": "The answer recommends Acme DB as its first option for hosting the database." }
EOF
ora goals create <intent-id> --file goal.json
ora goals list <intent-id>
ora goals report <intent-id> --window 30d       # answer score per question type, weakest checks, prompt × agent grid
ora intents insights <intent-id>                # what to fix: issues, pages that failed, MCP and API tool calls, what each agent said
ora intents answers <intent-id>                 # every answer: each brand's status, quote, reasons, drawbacks, who was recommended instead
ora intents analytics <intent-id> --window 30d  # layers, positioning per question type, agents, brands, cited sources
ora intents history <intent-id>                 # each measurement, newest first, with its answer score
ora goals delete <goal-id>                      # deactivate it (kept, no longer scored)
Runs: launch and follow agent runs (Experiments)

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 @ora-ai/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

Copy of Template Design OX Blog (2)
Research

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

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 (1)
Research

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

Frame 2085668439 (1)
Group 1261154229