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

@revos/cli

Latest version: v0.20.0

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
npm package Publisher: pavel_revosai, pnedelko, rzubairov
15 Versions
1.3K Downloads

Scan summary

@revos/cli was last scanned on 1 Dec 2026 at version 0.20.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 15 versions; the latest 2 were published within 6 days (26 Nov – 1 Dec 2026).
  • Findings: No rules fired in version 0.20.0.
  • Downloads: 1,312 downloads.

Versions

15 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.20.0 LATEST 1 Dec 2026 No rules fired
0.19.0 26 Nov 2026 No rules fired
0.18.0 16 Nov 2026 No rules fired
0.17.0 9 Nov 2026 Not shown
0.16.0 7 Nov 2026 Not shown

No rules fired in 0.20.0

Findings

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

README

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

RevOS CLI

Command-line interface for managing RevOS resources.

Installation

pnpm add @revos/cli

Platform support

Linux, macOS, and Windows. On POSIX systems the credentials store (~/.revos/credentials.json) is created with 0600 permissions; on Windows those bits are not applied (Windows uses ACLs). Treat your home directory's .revos folder as sensitive on Windows and rely on standard user-profile ACLs.

Usage

revos [command] [options]

Global Options

-o, --org <id>  Override organization ID. Only accepted OUTSIDE a project —
                inside a project, the org is anchored in revos.yaml and
                --org is rejected.
    --json      Format output as JSON

Project context and the org

The CLI walks up from the current directory looking for revos.yaml on every command. When it finds one:

  • revos apply / pull / diff / status and every resource command (connections, cubes, tables, …) target metadata.orgId from revos.yaml. This is authoritative.
  • --org and REVOS_ORG_ID are validated against revos.yaml. A mismatch is a hard error — this prevents a Dev Container generated for org A from silently writing to org B when you switch contexts.
  • Your stored global default (revos org switch) is informational only inside a project. The CLI warns if it differs from the project's org but uses the project's org for actual API calls.

Outside a project, the CLI uses REVOS_ORG_ID (env), then --org, then your stored global default (revos org switch). revos init, revos auth *, and revos org * skip the strict in-project enforcement so you can still log in, list, or switch orgs from inside a project tree.

Commands

Project Initialization
revos init [destination] [--yes] [--dry-run] [--no-pull]

Scaffolds a new RevOS data engineering project. If destination is omitted, initializes in the current directory.

Arguments:

destination   Path or project name (default: current directory)
              Examples:
                my-project             → creates ./my-project/
                ./my-project           → same as above
                ../my-project          → one level up
                /home/user/my-project  → absolute path

Flags:

-y, --yes    Skip confirmation prompts, use defaults
    --dry-run  Show what would be created without creating files or GCP resources
    --no-pull  Skip discovering existing remote Connections and Cubes

Non-empty directory behavior:

If the destination already exists and is not empty, you will be prompted to confirm before proceeding. Use --yes to skip this prompt.

What it does (greenfield — no revos.yaml discovered):

  1. Fetches your organizations and prompts you to select one (auto-selects if only one).
  2. Provisions a GCP service account for your org (idempotent) and writes the key to ~/.revos/{project-name}-gsa-creds.json.
  3. Writes revos.yaml — the project marker that pins this directory to your organization. CLI commands like revos status walk up from the current directory to find this file.
  4. Creates the project directory structure (medallion layout: bronze/silver/gold).
  5. Generates .devcontainer/ (devcontainer.json, Dockerfile, post-create.sh, post-start.sh, welcome.sh) with Python, Node.js, Google Cloud SDK (bq), GitHub CLI (gh), jq, and dbt pre-installed. The Dev Container persists three per-project named Docker volumes — revos-{slug}-credentials (~/.revos), revos-{slug}-gcloud (~/.config/gcloud), and revos-{slug}-claude (~/.claude) — so CLI login, GSA key, gcloud auth state, and Claude Code state all survive Rebuild Container. No host bind mounts.
  6. Generates dbt/profiles.yml pre-configured for BigQuery.
  7. Generates .gitignore and README.md.
  8. Scaffolds AI companion files: CLAUDE.md, AGENTS.md, and .claude/settings.json with deny rules that block AI assistants from reading ~/.revos/ (CLI credentials and service account keys), ~/.config/gcloud/ (Google Cloud Application Default Credentials), from running gcloud auth print-*-token commands, and from editing the settings file itself (so the AI can't lift its own restrictions).
  9. Installs the seven data-engineering skills into .claude/skills/ — explore-lakehouse, create-connections, create-cubes, create-dbt-transformations, load-sample-data, query-semantic-model, and visualize-semantic-model — by running npx skills add revosai/skills/data-engineering --copy (the open skills CLI). Skills in the revosai/skills source-of-truth repo are grouped into bundles (one directory each); pointing at the data-engineering bundle installs exactly its skills, so as the repo grows bundles for other project types a data-engineering project still only gets the relevant ones. This step needs network access; if it fails, init still completes and prints the command to install them later. See Updating skills below for how they stay current and how to use them with other agents.
  10. Discovers every Connection and Cube currently in the org and writes them under connections/ and cubes/ so a developer joining an org with existing pipelines and cubes starts from the live state. Pass --no-pull to skip. Sources are managed only through the API surface (see Sources) and are referenced from Connection YAML by their server id.

What it does (in-project — re-run inside an existing revos.yaml tree):

revos init becomes idempotent: it skips the org prompt, skips scaffolding (no overwriting of existing files), skips IaC discovery, and only provisions the GCP service account key if ~/.revos/{project-name}-gsa-creds.json is missing. If you aren't authenticated yet, it opens the browser to sign in first — the org is taken from revos.yaml, so no picker is shown. Useful inside the Dev Container, where the named credentials volume starts empty: a single revos init both signs you in and materializes the GSA key. Outside the container, re-running is a safe no-op if everything is already in place.

Dev Container onboarding flow: open project in VS Code → "Reopen in Container" → run revos init. The first run signs you in via the browser and provisions the GSA key. Subsequent container starts auto-activate the service account via postStartCommand.

Requires: revos auth login first (greenfield, since the multi-org picker and --dev selection live there). In-project init handles login itself.

Updating skills

The skills under .claude/skills/ come from the public revosai/skills repository — the source of truth — and are installed (not bundled in this CLI) so they can be refreshed independently of the CLI version.

npx skills update          # refresh .claude/skills/ to the latest from revosai/skills

The generated Dev Container re-installs/refreshes the skills on every container start (best-effort, in post-start.sh) — it installs the bundle if a prior attempt failed (e.g. no network during init) and updates it to the latest otherwise. Projects opened in the container stay current automatically; Claude Code picks up the new files the next time it loads skills, with no plugin reload. Outside the container, run the command above when you want the latest.

Other agents. The skills aren't Claude-specific. Install them into any supported agent's directory:

npx skills add revosai/skills/data-engineering -a cursor --copy               # e.g. Cursor
npx skills add revosai/skills/data-engineering -a claude-code cursor --copy   # several at once
npx skills add revosai/skills/data-engineering --list                         # list the bundle's skills

--copy writes real files rather than symlinks — committable and portable across machines, containers, and OSes.


Apply local resources
revos apply [path] [--project <path>] [--dry-run] [--parallelism <n>] [--json]

Reconciles local revos resources with the API:

  • Resources without metadata.id are created (POST) and the YAML file is rewritten in place to record the returned id.
  • Resources with metadata.id are read from the API and compared field by field; if the local spec drifts, the resource is updated (PATCH).
  • Resources that already match the API are reported as unchanged.

Resources are applied in dependency order when one local resource references another. Within a level, up to --parallelism resources are processed concurrently (default 4). Unresolved references and cycles fail before any API call.

The YAML kinds are Connection (a sync pipeline from a Source into your org's data warehouse), Cube (a Cube.dev semantic model definition) and Connector (see Connectors); the RevOS agent's instructions and skills are files under agent/ (see The RevOS agent). Connections reference a Source by its server id under spec.source.id. Get the id from revos sources list --json:

apiVersion: revos/v1
kind: Connection
metadata:
  name: analytics-pipeline
spec:
  name: "Analytics pipeline"
  source: { id: src_abc123 } # from `revos sources list`
  schedule: { units: 24, timeUnit: hours }
  status: active
  prefix: analytics_ # optional; auto-generated from the source if omitted
  streams:
    - name: users
      namespace: public
      syncMode: incremental_deduped_history
      cursorField: [updated_at]
      primaryKey: [[id]]
    - name: orders
      namespace: public
      syncMode: full_refresh_overwrite

Sources themselves are not IaC — create them via revos sources create (opens the UI) and pull the id with revos sources list.

spec.prefix is prepended to every destination table name. It must match ^[a-z0-9_]*$ (lowercase letters, digits, and underscores) and be at most 63 characters. If omitted on first apply, the API auto-generates a prefix from the source (e.g. postgres_) and revos apply writes it back into your YAML so subsequent diffs are clean. Edit spec.prefix and run revos apply to rename it on an existing connection.

Data masking & stream mappers on a Connection

Each stream may carry a mappers: array — server-side transformations applied before rows land in BigQuery. Use them to hash PII, drop columns, rename fields, or filter rows out of the sync. Five types are supported: hashing, field-renaming, field-filtering, row-filtering, and encryption. The kind-specific configuration always lives under mapperConfiguration:

streams:
  - name: customers
    namespace: public
    syncMode: incremental_deduped_history
    cursorField: [updated_at]
    primaryKey: [[id]]
    mappers:
      # Hash PII so analysts get joinable but irreversible identifiers.
      - type: hashing
        mapperConfiguration:
          targetField: email
          method: SHA-256
          fieldNameSuffix: _hashed
      # Rename a column on the way in.
      - type: field-renaming
        mapperConfiguration:
          originalFieldName: ssn
          newFieldName: ssn_redacted
      # Drop a column entirely.
      - type: field-filtering
        mapperConfiguration:
          targetField: internal_notes
      # Keep rows where the predicate is true; the rest are dropped.
      # NOT(is_test == "true") is true for every non-test row, so test
      # rows get dropped. (Compare against a real sentinel value — empty
      # strings behave unreliably.)
      - type: row-filtering
        mapperConfiguration:
          conditions:
            type: NOT
            conditions:
              - type: EQUAL
                fieldName: is_test
                comparisonValue: "true"
      # Reversible encryption (RSA or AES). Keys are required.
      - type: encryption
        mapperConfiguration:
          algorithm: AES
          targetField: card_number
          fieldNameSuffix: _enc
          key: ${env.AES_KEY}
          mode: GCM
          padding: NoPadding

Hashing methods: MD2, MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512. AES modes: CBC, CFB, OFB, CTR, GCM, ECB. AES paddings: NoPadding, PKCS5Padding. Masking is enforced at ingest — even a direct BigQuery query sees only the masked values.

A Cube carries the full Cube.dev semantic model directly under spec. spec.name is the cube identifier — snake_case (revenue_metrics), the name referenced inside ${CUBE}, cross-cube joins, and queries (Orders.count); it must be a valid SQL/JS identifier (the compiler rejects hyphens). metadata.name is the local slug — kebab-case (revenue-metrics) by convention, like every other resource. It's the filename and IaC address, never sent to the API, so renaming it (and the file) is a local-only move while editing spec.name renames the cube upstream. Every other Cube.dev field — sql_table, dimensions, measures, joins, meta — sits flat under spec:

apiVersion: revos/v1
kind: Cube
metadata:
  name: revenue-metrics # local slug (kebab-case)
spec:
  name: revenue_metrics # the cube identifier — snake_case (${CUBE}, joins, queries)
  sql_table: "`my_project.my_dataset.gold_revenue`"
  dimensions:
    id:
      sql: "${CUBE}.id"
      type: string
      primary_key: true
  measures:
    count:
      type: count

--dry-run reports what would change without writing to the API or YAML files. It still reads remote state to detect drift, so authentication is required.

The CLI walks up from the current working directory to find revos.yaml. Resources are addressed by kind/metadata.name; filenames are storage only.

Updates are last-writer-wins. Run revos diff first if you want to inspect drift before reconciling.


Diff local vs API
revos diff [path] [--project <path>] [--parallelism <n>] [--json]

Shows the drift between local YAML and the API without making any changes. For each resource that would be created or updated, prints the changed fields:

update Connection/analytics-pipeline
  ~ schedule.units: 24 → 6
  + prefix: analytics_

Sensitive fields (passwords, tokens, API keys, client secrets) are redacted as (sensitive value) so secrets never reach stdout. The same diff data is available via --json.


Pull from API
revos pull [path] [--project <path>] [--dry-run] [--force] [--json]

The reverse of apply. For each registered kind, lists every remote resource:

  • Known resources (matched against local YAML by metadata.id) get their spec: block rewritten in place when drifted, or marked unchanged when the live state already matches local. Sibling documents in multi-doc files, comments, and metadata are preserved byte-for-byte; only spec: is rewritten.
  • Unknown resources are discovered — a fresh YAML file is written under <kind-lowercase>s/<slug>.yaml. The slug comes from the server-side name field, kebab-cased; collisions against existing local addresses dedupe with -2, -3, etc.
  • Local resources whose metadata.id doesn't exist on the server are reported as skipped (not found).
  • Local resources without metadata.id are reported as skipped (no id) — they don't yet exist remotely; run revos apply to create them.

Discovered Connections carry the server source id in spec.source.id, so the YAML you get out is immediately apply-able.

Sensitive fields (passwords, secrets, tokens) are dropped from discovered resources, since the server returns redacted placeholders that would corrupt the upstream service on a subsequent apply. For existing resources, the local file's value wins on pull — password: ${env.PG_PASSWORD} survives a round-trip without being baked in as the resolved value.

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 @revos/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

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

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